/* =====================================================
   LOGIN ADMINISTRATIVO
   FREDELIN TURISMO
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #061f4a, #0b3d91, #1769c2);
    color: #1f2937;
}


/* =====================================================
   PÁGINA
===================================================== */

.login-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;
}


/* =====================================================
   CONTAINER
===================================================== */

.login-container {
    width: 100%;
    max-width: 420px;

    background: #ffffff;

    padding: 35px 34px 25px;

    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.28);

    animation: aparecer 0.5s ease;
}


@keyframes aparecer {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   FOTO DO ADMINISTRADOR
===================================================== */

.perfil-login {
    text-align: center;
    margin-bottom: 18px;
}


.foto-container {
    width: 112px;
    height: 112px;

    position: relative;

    margin: 0 auto;
}


.foto-container img {
    width: 112px;
    height: 112px;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    background: #eef3f9;

    border: 4px solid #ffffff;

    box-shadow:
        0 6px 22px rgba(11, 61, 145, 0.25);

    transition: 0.25s;
}


.foto-container img:hover {
    transform: scale(1.02);
}


/* =====================================================
   BOTÃO DA CÂMERA
===================================================== */

.btn-foto {
    position: absolute;

    right: -3px;
    bottom: 2px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b3d91;

    color: #ffffff;

    border: 3px solid #ffffff;

    border-radius: 50%;

    font-size: 15px;

    cursor: pointer;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.20);

    transition: 0.2s;
}


.btn-foto:hover {
    background: #082f70;
    transform: scale(1.08);
}


.btn-foto:active {
    transform: scale(0.96);
}


/* =====================================================
   TEXTO DA FOTO
===================================================== */

.foto-ajuda {
    display: block;

    margin-top: 9px;

    color: #94a3b8;

    font-size: 9px;
}


/* =====================================================
   IDENTIDADE
===================================================== */

.logo {
    text-align: center;

    margin-bottom: 28px;
}


.logo h1 {
    color: #0b3d91;

    font-size: 23px;

    font-weight: 700;

    letter-spacing: 0.2px;
}


.logo p {
    margin-top: 4px;

    color: #64748b;

    font-size: 11px;
}


/* =====================================================
   FORMULÁRIO
===================================================== */

.campo {
    margin-bottom: 18px;
}


.campo label {
    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 11px;

    font-weight: 600;
}


/* =====================================================
   INPUTS
===================================================== */

.campo input {
    width: 100%;
    height: 46px;

    padding: 0 14px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    background: #f8fafc;

    color: #1e293b;

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    outline: none;

    transition: 0.2s;
}


.campo input::placeholder {
    color: #a0aaba;
}


.campo input:hover {
    border-color: #b8c5d6;
}


.campo input:focus {
    border-color: #0b3d91;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(11, 61, 145, 0.10);
}


/* =====================================================
   CAMPO SENHA
===================================================== */

.senha-container {
    position: relative;
}


.senha-container input {
    padding-right: 48px;
}


/* =====================================================
   BOTÃO MOSTRAR SENHA
===================================================== */

.mostrar-senha {
    position: absolute;

    top: 5px;
    right: 5px;

    width: 36px;
    height: 36px;

    border: none;

    border-radius: 7px;

    background: transparent;

    color: #64748b;

    font-size: 15px;

    cursor: pointer;

    transition: 0.2s;
}


.mostrar-senha:hover {
    background: #eef4ff;

    color: #0b3d91;
}


/* =====================================================
   OPÇÕES
===================================================== */

.opcoes-login {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;
}


.lembrar {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #64748b;

    font-size: 10px;

    cursor: pointer;
}


.lembrar input {
    width: 14px;
    height: 14px;

    accent-color: #0b3d91;

    cursor: pointer;
}


.recuperar-senha {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 16px;
}

.link-recuperar-senha {
    background: transparent;
    border: none;
    padding: 4px 0;
    color: #1456a0;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.link-recuperar-senha:hover {
    color: #0b3470;
}

.link-recuperar-senha:focus-visible {
    outline: 2px solid #1456a0;
    outline-offset: 4px;
    border-radius: 3px;
}

/* =====================================================
   BOTÃO ENTRAR
===================================================== */

.btn-entrar {
    width: 100%;
    height: 47px;

    border: none;

    border-radius: 9px;

    background: #0b3d91;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 5px 14px rgba(11, 61, 145, 0.20);

    transition: 0.2s;
}


.btn-entrar:hover {
    background: #082f70;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(11, 61, 145, 0.28);
}


.btn-entrar:active {
    transform: translateY(0);
}


.btn-entrar:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =====================================================
   MENSAGEM
===================================================== */

.mensagem {
    min-height: 20px;

    margin-top: 13px;

    text-align: center;

    font-size: 10px;
}


.mensagem.erro {
    color: #dc2626;
}


.mensagem.sucesso {
    color: #059669;
}


/* =====================================================
   RODAPÉ
===================================================== */

.login-footer {
    text-align: center;

    margin-top: 25px;

    padding-top: 18px;

    border-top: 1px solid #edf0f4;
}


.login-footer p {
    color: #64748b;

    font-size: 9px;
}


.login-footer span {
    display: block;

    margin-top: 4px;

    color: #94a3b8;

    font-size: 8px;
}


/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 480px) {

    .login-page {
        padding: 18px 12px;
    }


    .login-container {
        padding: 30px 22px 22px;

        border-radius: 18px;
    }


    .foto-container,
    .foto-container img {
        width: 100px;
        height: 100px;
    }


    .btn-foto {
        width: 35px;
        height: 35px;

        right: -2px;
    }


    .logo h1 {
        font-size: 20px;
    }

}