/* ========== 认证页面样式 ========== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
}

.auth-page .navbar {
    background: transparent;
    box-shadow: none;
}

.auth-page .brand-name {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.banner-content > p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.banner-features {
    display: grid;
    gap: 20px;
}

.banner-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-size: 16px;
}

.banner-features .feature i {
    font-size: 24px;
}

.auth-form {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.form-header > p {
    font-size: 16px;
    color: #718096;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2d3748;
    font-size: 15px;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .input-group-text {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    padding: 12px 15px;
    color: #667eea;
    font-size: 18px;
}

.input-group .form-control {
    border: 2px solid #e2e8f0;
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.form-options .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-options .checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-options .checkbox span {
    font-size: 14px;
    color: #718096;
}

.form-options a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.form-options a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-code {
    background: #667eea;
    color: white;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.btn-code:hover:not(:disabled) {
    background: #5a67d8;
}

.btn-code:disabled {
    background: #cbd5e0;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.form-footer p {
    font-size: 15px;
    color: #718096;
}

.form-footer p a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-footer p a:hover {
    text-decoration: underline;
}

.social-login {
    text-align: center;
    margin-top: 30px;
}

.social-login > p {
    font-size: 14px;
    color: #718096;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-buttons .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-buttons .btn-weixin {
    background: #07c160;
    color: white;
}

.social-buttons .btn-weixin:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7, 193, 96, 0.4);
}

.social-buttons .btn-qq {
    background: #12b7f5;
    color: white;
}

.social-buttons .btn-qq:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(18, 183, 245, 0.4);
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .auth-container {
        padding: 40px 20px;
    }
    
    .auth-form {
        padding: 40px 30px;
    }
    
    .form-header h2 {
        font-size: 28px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .auth-form {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .input-group {
        flex-wrap: wrap;
    }
    
    .btn-code {
        width: 100%;
        margin-top: 10px;
        border-radius: 12px;
    }
    
    .social-buttons {
        flex-wrap: wrap;
    }
}