* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5,
        #7c3aed
    );
}

.login-container {
    width: 100%;
    padding: 20px;
}

.login-box {
    max-width: 420px;
    margin: auto;

    background: white;
    padding: 40px;

    border-radius: 20px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2);

    text-align: center;
}

.logo {
    width: 70px;
    height: 70px;

    margin: 0 auto 15px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #eef2ff;
    border-radius: 50%;

    font-size: 35px;
}

h1 {
    color: #1e293b;
    margin-bottom: 8px;
}

.subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;

    font-size: 14px;
    font-weight: bold;

    color: #334155;
}

.input-group input {
    width: 100%;
    padding: 13px 15px;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    outline: none;
    font-size: 15px;

    transition: 0.3s;
}

.input-group input:focus {
    border-color: #4f46e5;

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.1);
}

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 50px;
}

.toggle-btn {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    cursor: pointer;
    font-size: 18px;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 10px 0 25px;

    font-size: 13px;
}

.options label {
    color: #64748b;
}

.options a,
.register a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: bold;
}

.options a:hover,
.register a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 10px;

    background: #4f46e5;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.login-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

#message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

.register {
    margin-top: 25px;
    color: #64748b;
    font-size: 14px;
}


@media (max-width: 480px) {

    .login-box {
        padding: 30px 20px;
    }

    h1 {
        font-size: 25px;
    }

    .options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
