﻿body {
    background-color: #0B203A;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

    .login-container img {
        width: 300px;
        margin-bottom: 30px;
        /*filter: drop-shadow(0 0 3px #ffd800);*/
    }

.alert-top-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px 10px 20px; /* padding-bottom reduzido */
    font-weight: bold;
    text-align: center;
    z-index: 9999;
    animation: slideDown 0.4s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    /* A barra de progresso agora está ABSOLUTA dentro da div */
    .alert-top-full .progress-bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 4px;
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
        animation: progressBarAnim 5s linear forwards;
    }

    /* Cores para tipos de mensagem */
    .alert-top-full.sucesso {
        background-color: #d4edda;
        color: #155724;
    }

    .alert-top-full.erro {
        background-color: #f8d7da;
        color: #721c24;
    }

/* Animações */
@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes progressBarAnim {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}


form {
    max-width: 300px;
    margin: 0 auto;
}

.form-element {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #fff;
    color: #020305;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
}

    .form-element::placeholder {
        color: #999;
    }

.btn-login {
    background-color: #0B203A;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-login:hover {
        background-color: #0D5CBD;
    }

.text-danger {
    color: #0B203A;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: left;
}

/* Checkbox estilizado */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px auto;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #020305;
    justify-content: center;
}

    .checkbox-container input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        background-color: #fff;
        margin: 0;
        width: 18px;
        height: 18px;
        border: 2px solid #0B203A;
        border-radius: 4px;
        display: grid;
        place-content: center;
        cursor: pointer;
    }

        .checkbox-container input[type="checkbox"]::before {
            content: "";
            width: 10px;
            height: 10px;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em #0B203A;
            border-radius: 2px;
        }

        .checkbox-container input[type="checkbox"]:checked::before {
            transform: scale(1);
        }

        .checkbox-container input[type="checkbox"]:focus {
            outline: 2px solid #0B203A;
            outline-offset: 2px;
        }
