* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgba(10, 10, 10, 1);
    color: #333;
}

.login-container {
    width: 400px;
    background-color: rgba(40, 40, 43, 0.85);
    border-radius: 12px;
    padding: 35px 20px;
    color: rgba(255, 255, 255, 1);
    margin: 40px auto;
}

.go_back{
    width: 32px;
    height: 32px;
    border: 1px solid rgba(42, 42, 44, 1);
    /*padding: 6px;*/
}
.go_back:hover{
    width: 32px;
    height: 32px;
    /*padding: 6px;*/
    background-color: rgba(42, 42, 44, 1);
    border: 1px solid rgba(60, 60, 66, 1);
    border-radius: 4px;

}
.go_back:hover img{
    /*width: 100%;*/
    /*height: 100%;*/
    width: 20px;
    height: 20px;
    margin: auto 5px;
    vertical-align: -webkit-baseline-middle;
}
.go_back img{
    /*width: 100%;*/
    /*height: 100%;*/
    width: 20px;
    height: 20px;
    margin: auto 5px;
    vertical-align: -webkit-baseline-middle;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.login-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    background-color: rgba(25, 25, 26, 0.8);
    border-radius:8px;
    padding: 20px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(40, 40, 43, 0.8);
    background-color: rgba(40, 40, 43, 0.8);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 1);
}

.login_type_word{
    width: 104%;
    text-align: center;
    margin-left: -21px;
    color: rgba(255, 255, 255, 1);
}

.login-btn:hover {
    background-color: rgba(70, 70, 75, 0.8);
}

.login-btn img {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color:rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color:  rgba(47, 47, 55, 1);
}

.divider::before {
    margin-right: 16px;
}

.divider::after {
    margin-left: 16px;
}

#loginForm{
    padding: 20px;
    background-color: rgba(25, 25, 26, 0.8);
    border-radius:8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(40, 40, 43, 0.8);
    border-radius: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 1);
}

#login_pwd{
    width: 100%;
    border: none;
    font-size: 14px;
    color: rgba(108, 149, 255, 1);
    background-color: transparent;
    text-align: right;
    margin-top: -18px;
    margin-bottom: 15px;
    cursor: pointer;
}

.verify-code-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.verify-code-group .form-control {
    flex: 1;
}

.get-code-btn {
    width: 100%;
    padding: 12px;
    background-color: rgba(55, 107, 237, 1);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    white-space: nowrap;
}

.login-footer {
    margin-top: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.login-footer a {
    color:rgba(108, 149, 255, 1);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.other-option {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: rgba(108, 149, 255, 1);
}

.other-option a {
    color:rgba(108, 149, 255, 1);
    text-decoration: none;
}

.other-option a:hover {
    text-decoration: underline;
}

/* 验证码页面样式 */
.verify-container {
    width: 400px;
    background-color: rgba(40, 40, 43, 0.85);
    border-radius: 12px;
    padding: 35px 20px;
    color: rgba(255, 255, 255, 1);
    display: none;
}

.verify-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
}

.verify-instruction {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
}

.verify-email {
    font-weight: bold;
    color: rgba(255, 255, 255, 1);
}

.verify-code-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.verify-code-input input {
    width: 50px;
    height: 55px;
    font-size: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(40, 40, 43, 0.8);
    border-radius: 8px;
    color: rgba(255, 255, 255, 1);
}

.verify-code-input input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 1);
}

.verify-btn {
    width: 100%;
    padding: 12px;
    background-color: rgba(55, 107, 237, 1);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.verify-btn:hover {
    background-color: rgba(45, 97, 227, 1);
}

.verify-btn.loading {
    background-color: rgba(70, 70, 75, 0.8);
    cursor: not-allowed;
}

.verify-actions {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.verify-actions a {
    color: rgba(108, 149, 255, 1);
    text-decoration: none;
    margin: 0 5px;
}

.verify-actions a:hover {
    text-decoration: underline;
}

.password-field {
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: rgba(55, 107, 237, 1);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.submit-btn:hover {
    background-color: rgba(45, 97, 227, 1);
}

.submit-btn.loading {
    background-color: rgba(70, 70, 75, 0.8);
    cursor: not-allowed;
}
.toggle-login-type {
    text-align: right;
    margin-top: -15px;
    margin-bottom: 15px;
}

.toggle-login-type button {
    background: none;
    border: none;
    color: rgba(108, 149, 255, 1);
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    text-align: right;
    width: 100%;
    margin-top: 10px;
}

.tooltip-text {
    visibility: hidden;
    /*width: 114px;*/
    background-color: rgba(60, 60, 60, 0.8);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    border-radius: 3px;
    padding: 8px 12px;
    position: absolute;
    z-index: 100;
    bottom: -49%;
    right: 22%;
    margin-bottom: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 10px;
    line-height: 1.4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -13px;
    transform: translateY(-50%) rotate(270deg);
    border-width: 7px;
    border-style: solid;
    border-color: rgba(60, 60, 60, 0.8) transparent transparent transparent;
}

/*.tooltip-container:hover .tooltip-text {*/
/*    visibility: visible;*/
/*    opacity: 1;*/

/*}*/

/* 只在显示"密码登录"时显示提示 */
.tooltip-container[data-show-tooltip="true"]:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.tooltip-container:hover #toggleLoginType {
    text-decoration: underline;
}

#toggleLoginType {
    background: none;
    border: none;
    color: rgba(108, 149, 255, 1);
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    line-height: 1;
}

/*轻提示*/
.layui-layer {
    /*width: 377px !important;*/
    background-color:rgba(85, 91, 97, 0.8) !important;
    color: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 4px !important;
    padding: 10px 0px !important;
}
.layui-layer.custom-small-style {
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
}