﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
}

body {
    background: linear-gradient(135deg, #f9fafb, #e6f0ff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: #2d3748;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.2rem 2rem;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-align: center;
    margin-bottom: 1.8rem;
}

    .logo h1 {
        font-size: 1.8rem;
        font-weight: 700;
        color: #3182ce;
    }

    .logo p {
        color: #718096;
        font-size: 0.95rem;
        margin-top: 0.4rem;
    }

.input-group {
    margin-bottom: 1.4rem;
}

    .input-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #4a5568;
        font-size: 0.95rem;
    }

    .input-group input {
        width: 100%;
        padding: 0.85rem 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        font-size: 1rem;
        outline: none;
        transition: all 0.25s ease;
        background: #f8fafc;
    }

        .input-group input:focus {
            border-color: #3182ce;
            box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
            background: white;
        }

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.6rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #4a5568;
}

    .remember-me input {
        accent-color: #3182ce;
    }

.forgot-password {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    padding: 0.9rem;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 1.4rem;
}

    .login-btn:hover {
        background: #2b6cb0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(49, 130, 206, 0.25);
    }

.divider {
    text-align: center;
    position: relative;
    margin: 1.6rem 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

    .divider::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 100%;
        height: 1px;
        background: #edf2f7;
        z-index: -1;
    }

.signup-link {
    text-align: center;
    font-size: 0.95rem;
    color: #4a5568;
}

    .signup-link a {
        color: #3182ce;
        text-decoration: none;
        font-weight: 600;
        margin-left: 0.3rem;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }

@media (max-width: 480px) {
    .login-container {
        padding: 1.8rem 1.4rem;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}
