* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f5f9;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo-circle {
    width: 75px;
    height: 75px;

    background: #2563eb;
    color: white;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 25px;
    font-weight: bold;
}

h1 {
    text-align: center;
    font-size: 25px;
    color: #1e293b;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #334155;
    margin-bottom: 7px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    font-size: 14px;

    outline: none;
    transition: 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.password-container {
    position: relative;
}

.password-container input {
    padding-right: 65px;
}

#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #2563eb;
    font-size: 13px;

    cursor: pointer;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;

    font-size: 13px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;

    margin: 0;
    font-weight: normal;
}

.remember input {
    cursor: pointer;
}

.options a {
    color: #2563eb;
    text-decoration: none;
}

.options a:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;

    padding: 13px;

    border: none;
    border-radius: 8px;

    background: #2563eb;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.login-button:hover {
    background: #1d4ed8;
}

.login-button:active {
    transform: scale(0.98);
}

.error {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
}

#loginMessage {
    text-align: center;
    font-size: 13px;
    margin-top: 15px;
}

.footer {
    text-align: center;
    margin-top: 25px;
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 480px) {

    body {
        padding: 15px;
    }

    .login-box {
        padding: 30px 20px;
    }

    h1 {
        font-size: 21px;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}