/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
}

/* BODY */
body.login-page {
    min-height: 100svh; /* usa a altura real do mobile */
    background: linear-gradient(135deg, #1f2933, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}


/* LOGIN BOX */
.login-box {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.login-box h2 {
    font-size: 24px;
    margin-bottom: 28px;
    color: #111827;
    font-weight: 700;
}

/* INPUTS */
.login-box input {
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
    background-color: #f9fafb;
}

.login-box input:focus {
    border-color: #6366f1;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}

/* BOTÃO */
.login-box button {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.login-box button:active {
    transform: translateY(0);
}

/* ERROR */
#error {
    margin-top: 16px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

/* MOBILE */
@media (max-width: 480px) {

    .login-box {
        width: 100%;
        min-height: 100svh;
        max-width: 100%;
        padding: 40px 24px;
        border-radius: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .login-box h2 {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .login-box input {
        padding: 20px;
        font-size: 18px;
        border-radius: 14px;
    }

    .login-box button {
        padding: 20px;
        font-size: 18px;
        border-radius: 14px;
        margin-top: 12px;
    }

    #error {
        font-size: 16px;
    }
}

