
/* 登录页面样式 */
:root {
    --primary: #5E5CE6;
    --primary-light: #7E7CFF;
    --secondary: #3634A3;
    --dark: #1C1C28;
    --light: #F8F9FF;
    --gray: #6C757D;
    --gray-light: #A0A0B0;
    --gray-lighter: #E8E8F0;
    --success: #30D158;
    --danger: #FF453A;
    --warning: #FF9F0A;
    --gradient: linear-gradient(135deg, #5E5CE6 0%, #3634A3 100%);
    --gradient-light: linear-gradient(135deg, #7E7CFF 0%, #5E5CE6 100%);
}

 .jump {
    display: block;
    padding: 15px 0;
    text-align: center;
    font-size: 16px;
    color: #2c6bff;
    line-height: 24px;
}

.login-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #F8F9FF 0%, #EDF0FF 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.login-content {
    flex: 1;
    max-width: 500px;
}

.login-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(94, 92, 230, 0.15);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    background: var(--gradient);
}

.login-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}

.login-header p {
    font-size: 1rem;
    color: var(--gray);
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--gray-lighter);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(94, 92, 230, 0.1);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.1rem;
}

.toggle-password {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me label {
    color: var(--gray);
    font-size: 0.9rem;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(94, 92, 230, 0.3);
    margin-bottom: 25px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(94, 92, 230, 0.4);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.register-link {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
}

.register-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

.login-visual-content {
    max-width: 500px;
}

.login-visual h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.login-visual h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-visual p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.features-listt {
    list-style: none;
    margin-top: 30px;
}

.features-listt li {
    padding: 12px 0;
    display: flex;
    align-items: center;
}

.features-listt i {
    color: var(--success);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.hidden {
    opacity: 0;
}

/* 错误状态 */
.error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-input.error-border {
    border-color: var(--danger);
}

/* 成功状态 */
.success {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-input.success-border {
    border-color: var(--success);
}


@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .login-content {
        max-width: 100%;
        margin-bottom: 0;
    }

    .login-visual {
        max-width: 100%;
        text-align: center;
    }

    .login-visual h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .login-card {
        padding: 40px 25px;
    }

    .login-header h1 {
        font-size: 1.8rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .login-visual h2 {
        font-size: 1.8rem;
    }

    .login-section {
        padding: 100px 0 60px;
    }

    .tab-nav-item {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 992px) {
    .register-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .register-content {
        max-width: 100%;
        margin-bottom: 0;
    }

    .register-visual {
        max-width: 100%;
        text-align: center;
    }

    .register-visual h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .register-card {
        padding: 40px 25px;
    }

    .register-visual h2 {
        font-size: 1.8rem;
    }

    .register-section {
        padding: 100px 0 60px;
    }
}

.register-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #F8F9FF 0%, #EDF0FF 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.register-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.register-content {
    flex: 1;
    max-width: 500px;
}

.register-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.register-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(94, 92, 230, 0.15);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    
}

.register-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(94, 92, 230, 0.3);
    margin-top: 10px;
    margin-bottom: 25px;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(94, 92, 230, 0.4);
}

.register-btn:active {
    transform: translateY(-1px);
}

.register-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
}

.register-link {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    
    padding: 15px 0;
}

.register-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

.register-visual-content {
    max-width: 500px;
}

.register-visual h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.register-visual h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-visual p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}