.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card-modern {
    max-width: 480px;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(2px);
    border-radius: 48px;
    padding: 48px 40px;
    box-shadow: 0 25px 45px -12px rgba(6, 95, 70, 0.2);
    border: 1px solid #e2f0e8;
    transition: transform 0.2s;
}

.brand-header {
    text-align: center;
    margin-bottom: 36px;
}

.brand-icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .brand-icon-circle i {
        font-size: 36px;
        background: linear-gradient(135deg, #065f46, #10b981);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }

.brand-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.brand-header p {
    color: #5b6e8c;
    font-size: 0.9rem;
}

.input-field {
    margin-bottom: 24px;
    position: relative;
}

    .input-field i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 1.1rem;
        pointer-events: none;
    }

    .input-field input {
        width: 100%;
        padding: 16px 18px 16px 48px;
        border: 1.5px solid #e2e8f0;
        border-radius: 60px;
        font-size: 1rem;
        font-family: inherit;
        transition: all 0.2s;
        background: #fefefe;
        outline: none;
    }

        .input-field input:focus {
            border-color: #10b981;
            box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
        }

.error-alert {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #b91c1c;
}

    .error-alert i {
        font-size: 1rem;
    }

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 28px;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #4b5563;
}

    .checkbox-custom input {
        width: 18px;
        height: 18px;
        accent-color: #10b981;
        cursor: pointer;
    }

.forgot-link {
    color: #10b981;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
}

    .forgot-link:hover {
        color: #065f46;
        text-decoration: underline;
    }

.login-button {
    width: 100%;
    background: linear-gradient(105deg, #065f46, #10b981);
    border: none;
    padding: 14px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -8px #10b981;
        background: linear-gradient(105deg, #054d3a, #0da06e);
    }

.signup-prompt {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9rem;
    color: #5b6e8c;
}

    .signup-prompt a {
        color: #10b981;
        font-weight: 600;
        text-decoration: none;
    }

        .signup-prompt a:hover {
            text-decoration: underline;
        }
/* 移动端调整 */
@media (max-width: 560px) {
    .login-card-modern {
        padding: 32px 24px;
    }

    .brand-header h2 {
        font-size: 1.5rem;
    }

    .input-field input {
        padding: 14px 16px 14px 46px;
    }
}
/* 安全提示装饰 */
.secure-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.7rem;
    color: #94a3b8;
}

    .secure-note i {
        margin-right: 6px;
    }
