/* Estilização da página de login */
/* body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: left;
    margin-left: 75px !important;
    margin-top: 30px !important;
    align-items: center;
    height: 80vh;
    margin: 0;
    background-image: url(/static/img_auth/login_novo.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
} */
/* body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: left;
    margin-left: 240px !important;
    margin-top: 50px !important;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('/static/img_auth/tela_login.jpeg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
} */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden; /* evita rolagem */
}

.image-column {
    flex-grow: 1;
    height: 100vh;
    overflow: hidden;
}

.side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.forgot-password {
    color: #fff;
    text-decoration: none;
}
.forgot-password:hover {
    text-decoration: underline;
    color: #ccdcfa;
}

.container {
    display: flex;
    flex-direction: row; /* 🔥 Garante que seja lado a lado */
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Blue column styles - agora com largura fixa */
.blue-column {
    width: 497px;
    border-right: #e6d70b solid 10px;
    flex-shrink: 0;
    background-color: rgb(26, 77, 230);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    height: 100vh; /* Faz a coluna ocupar toda a altura da tela */
}

/* Imagem de fundo dentro da coluna */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* imagem fica atrás do conteúdo */
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cobre toda a área sem distorcer feio */
    opacity: 0.3; /* ajuste de transparência da imagem */
}



/* Logo container styles */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    z-index: 100;
}

.main-logo {
    max-width: 100%;
}

.bottom-logo {
    margin-top: 30px; /* 🔥 Define o espaço entre o login e a logo */
    display: flex;
    justify-content: center;
    z-index: 100;
}

.footer-logo {
    width: 210px; /* Ajuste o tamanho conforme necessário */
    height: auto;
}


/* Partner logos area at bottom of blue column */
.partner-logos {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.partner-logos img {
    max-width: 100%;
}

/* Content area styles */
.content-area {
    flex-grow: 1;
    padding: 2rem;
    position: relative;
}

/* Quando a tela for pequena, o azul preenche toda a tela */
@media (max-width: 620px) {
    .container {
        position: relative;
    }

    .blue-column {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        z-index: 1;
        padding: 1rem;
        flex-direction: column;
        justify-content: space-between;
    }

    .content-area {
        z-index: 2;
        position: relative;
        background-color: transparent;
        padding: 1rem;
    }
}
.logo-mfa {
    background-color: white; /* Fundo branco */
    border-radius: 20px; /* Bordas arredondadas */
    padding: 10px 50px; /* Ajuste interno para envolver a logo */
    margin: 30px; /* Espaçamento externo */
    display: flex; /* Mantém a estrutura */
    align-items: center; /* Centraliza a logo verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    width: fit-content; /* Ajusta o fundo ao tamanho da logo */
    height: fit-content;
}



/* Centralizando o login-container */
.login-container {
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 310px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.login-container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

h2 {
    color: #f4f8fc;
    margin-bottom: 20px;
    font-size: 25px;
}

.flash-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: -4px 0 12px;
}

.flash-message {
    width: 100%;
    padding: 10px 12px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-left: 4px solid #2f7df6;
    background: rgba(255, 255, 255, 0.94);
    color: #172033;
    box-shadow: 0 10px 28px rgba(0, 20, 70, 0.22);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    transform: translateY(0);
    opacity: 1;
    transition: opacity 260ms ease, transform 260ms ease;
}

.flash-message.danger,
.flash-message.error {
    border-left-color: #dc2626;
    background: #fff5f5;
    color: #7f1d1d;
}

.flash-message.success {
    border-left-color: #16a34a;
    background: #f0fdf4;
    color: #14532d;
}

.flash-message.warning,
.flash-message.message {
    border-left-color: #f59e0b;
    background: #fffbeb;
    color: #713f12;
}

.flash-message.info {
    border-left-color: #0284c7;
    background: #f0f9ff;
    color: #0c4a6e;
}

.flash-message.is-hiding {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

form input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    background: #005baa;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
}

button:hover {
    background: #004488;
}

.admin-link {
    display: block;
    margin-top: 15px;
    color: #005baa;
    text-decoration: none;
    font-weight: bold;
}

.admin-link:hover {
    text-decoration: underline;
}
