﻿/* 鐧诲綍椤垫牱寮?- 绾康涓婚 */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.login-container {
    width: 100%;
}

.login-card {
    background-color: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(139, 125, 107, 0.2);
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(139, 125, 107, 0.1);
}

.login-illustration {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, #A67C52 0%, #8B7D6B 100%);
    color: #F5F0E8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.login-illustration-inner {
    text-align: left;
    max-width: 260px;
}

.login-illustration-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.login-illustration-inner p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

.login-illustration-inner .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.login-illustration-inner .icon-circle i {
    font-size: 1.6rem;
}

.login-form-wrapper {
    flex: 1;
    padding: 40px;
}

.login-header {
    text-align: left;
    margin-bottom: 30px;
}

.login-header h1 {
    font-size: 2.2rem;
    color: #433E38;
    margin-bottom: 10px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
}

.login-header p {
    color: #8B7D6B;
    font-size: 1rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #433E38;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(139, 125, 107, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F9F7F4;
}

.login-form input:focus {
    outline: none;
    border-color: #A67C52;
    background: white;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.1);
}

.btn-login {
    background: linear-gradient(135deg, #A67C52, #8B7D6B);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #8B7D6B, #6B5D4B);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 124, 82, 0.4);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    width: auto;
}

.forgot-password {
    color: #A67C52;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #8B7D6B;
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #8B7D6B;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 125, 107, 0.3), transparent);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 2px solid rgba(139, 125, 107, 0.2);
    border-radius: 8px;
    background-color: white;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #F5F0E8;
    border-color: #A67C52;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.wechat i {
    color: #09bb07;
}

.social-btn.weibo i {
    color: #e6162d;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    color: #8B7D6B;
    font-size: 0.95rem;
}

.login-footer a {
    color: #A67C52;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #8B7D6B;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }

    .login-illustration {
        display: none;
    }

    .login-form-wrapper {
        padding: 30px 25px;
    }

    .login-header h1 {
        font-size: 1.8rem;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .login-form-wrapper {
        padding: 25px 20px;
    }
}


