﻿body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.login-wrapper {
    background-color: #f6fdff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding: 40px 20px;
}

.login-container {
    display: flex;
    background-color: #f6fdff;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.login-left {
    flex: 1 1 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .login-left h1 {
        color: #1086ad;
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 0.5em;
    }

    .login-left .system {
        color: #1086ad;
        font-size: 2.2rem;
        line-height: 1.2;
    }

.login-right {
    flex: 1 1 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: #fff;
    border: 2px solid #18a3c6;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    padding: 40px 32px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-avatar {
    font-size: 80px;
    color: #1086ad;
    margin-bottom: 20px;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-checkbox-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.forgot-link {
    text-decoration: none;
    color: #1086ad;
}

.login-button {
    width: 100%;
    background-color: #1086ad;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

    .login-button:hover {
        background-color: #0d7393;
    }

.register-button {
    display: block;
    width: 100%;
    text-align: center;
    border: 2px solid #1086ad;
    padding: 12px;
    border-radius: 8px;
    color: #1086ad;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

    .register-button:hover {
        background-color: #f6fdff;
    }

.login-error {
    color: red;
    margin-top: 10px;
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        gap: 20px;
    }

    .login-left, .login-right {
        max-width: 100%;
    }

    .login-card {
        max-width: 100%;
    }
}
@media (max-width: 768px)
{
    .login-container {
        flex-direction: column; 
        align-items: center;
    }

    .login-left,
    .login-right {
        width: 100%;
        text-align: center; 
    }

    .login-left {
        margin-bottom: 20px;
    }
}
