﻿/*==================================
   Create by Alison Lima 27/07/2026
   =================================*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* FUNDO AZUL GRADIENTE*/
body.bg-portal {
    background: linear-gradient(135deg, #3b7ddd 0%, #60a5fa 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.style-hidden {
    display: none !important;
}

.section-login {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* CARTÃO BRANCO CENTRALIZADO */
.box-acesso {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    text-align: center;
    transition: all 0.3s ease;
}

.box-title {
    margin-bottom: 24px;
}

.logo-portal {
    max-height: 85px;
    width: auto;
    margin-bottom: 12px;
}

.portal-heading {
    color: #0f2b4d;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.portal-subheading {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

/* FORMULÁRIO DE LOGIN */
.form-login {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    width: 100%;
    text-align: left;
}

.form_input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    background-color: #f8fafc;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
}

    .form_input:focus {
        border-color: #0f2b4d;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(15, 43, 77, 0.12);
    }

/* CAMPO COM BOTÃO DE VER SENHA */
.password-field {
    position: relative;
    width: 100%;
}

    .password-field .form_input {
        padding-right: 42px;
    }

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
    transition: color 0.2s;
}

    .toggle-password:hover {
        color: #0f2b4d;
    }

/* ESQUECEU A SENHA */
.box-esqueceu-senha {
    text-align: right;
    margin-top: -6px;
}

.link-esqueceu-senha {
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

    .link-esqueceu-senha strong {
        color: #0f2b4d;
    }

    .link-esqueceu-senha:hover {
        color: #0f2b4d;
    }

/* BOTÃO ENTRAR */
.box-button {
    margin-top: 6px;
}

.button-entrar {
    width: 100%;
    height: 46px;
    background: #0f2b4d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 43, 77, 0.25);
}

    .button-entrar:hover {
        background: #1a4273;
        transform: translateY(-1px);
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }

    .divider span {
        padding: 0 10px;
    }

/* BOTÃO CADASTRE-SE */
.button-cadastre {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    background: transparent;
    color: #0f2b4d;
    border: 1.5px solid #0f2b4d;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .button-cadastre:hover {
        background: #f1f5f9;
    }

/* BOTÕES RECUPERAÇÃO DE SENHA */
.box-buttons-step {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.btn-step {
    flex: 1;
    height: 44px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
}

.btn-voltar {
    background: #e2e8f0;
    color: #334155;
}

    .btn-voltar:hover {
        background: #cbd5e1;
    }

.btn-salvar {
    background: #0f2b4d;
    color: #ffffff;
}

    .btn-salvar:hover {
        background: #1a4273;
    }

.modal-overlay-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeInOverlay 0.2s ease-out;
}

.modal-card-custom {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px 22px 24px;
    width: 90%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: popInModal 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-icon-custom {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 26px;
}

    .modal-icon-custom.warning {
        background-color: #fef3c7;
        color: #d97706;
    }

    .modal-icon-custom.error {
        background-color: #fee2e2;
        color: #dc2626;
    }

    .modal-icon-custom.success {
        background-color: #d1fae5;
        color: #059669;
    }

.modal-titulo-custom {
    font-size: 18px;
    font-weight: 700;
    color: #0f2b4d;
    margin-bottom: 8px;
}

.modal-texto-custom {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 22px;
}

.btn-modal-custom {
    width: 100%;
    height: 42px;
    background: #0f2b4d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-modal-custom:hover {
        background: #1a4273;
    }

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popInModal {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#Email {
    text-transform: lowercase !important;
}
    #Email::placeholder {
        text-transform: uppercase;
    }
