/* Importação de Fontes Locais */
@font-face {
    font-family: 'Archivo Black';
    src: url('../../../app-assets/fonts/Archivo_Black/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Monsieur La Doulaise';
    src: url('../../../app-assets/fonts/Monsieur_La_Doulaise/MonsieurLaDoulaise-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../../../app-assets/fonts/Montserrat/static/Montserrat-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

/* Montserrat Variable Font */
@font-face {
    font-family: 'Montserrat Variable';
    src: url('../../../app-assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Variable';
    src: url('../../../app-assets/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url('../../../app-assets/fonts/Roboto/static/Roboto-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

/* Roboto Variable Font */
@font-face {
    font-family: 'Roboto Variable';
    src: url('../../../app-assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Variable';
    src: url('../../../app-assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
}

@font-face {
    font-family: 'WindSong';
    src: url('../../../app-assets/fonts/WindSong/WindSong-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'WindSong';
    src: url('../../../app-assets/fonts/WindSong/WindSong-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Continua o CSS que já estava no arquivo login-novo.css */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.login-container {
    min-height: 100vh;
}

.bg-image {
    background-image: url('../../../assets/images/login_novo.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(0 0 0 / 89%) 0%, rgb(0 0 0 / 68%) 30%, rgb(0 0 0 / 54%) 60%, rgba(0, 0, 0, 0.2) 100%);
}

.logo-container {
    position: absolute;
    top: 30px;
    left: 50px;
}

.logo {
    height: 50px;
}

.camara-logo-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    margin-top: 30px;
}

.oklegis-logo {
    height: 50px;
}

.camara-logo {
    width: 260px;
}

.portal-text {
    position: absolute;
    bottom: 120px;
    left: 50px;
    color: white;
}

.portal-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
}

.portal-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
}

.portal-description {
    font-size: 1rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.login-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    height: 100%;
    margin-top: 30px; /* Ajustado para deixar mais espaço para os logos */
    padding-bottom: 80px; /* Adiciona espaço para o botão de transparência */
}

.welcome-text {
    color: #00BFA6;
    margin-bottom: 10px;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
}

.login-description {
    color: #808080;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.form-control {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #333;
    padding: 12px;
    border-radius: 25px;
    width: 100%;
    font-weight: 500;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #d0d0d0;
    border-color: #d0d0d0;
    color: #333;
}

.forgot-password {
    text-align: right;
    font-size: 0.8rem;
    color: #808080;
    margin-top: 5px;
}

.forgot-password a {
    color: #808080;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.alternative-access {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #808080;
}

.alternative-access a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.right-column {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}

.portal_transp {
    background-color: #585858;
    border-color: #585858;
    color: #ffffff;
}

.footer-options {
    width: 100%;
    text-align: center;
}

.footer-options a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.footer-options span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.footer-options .separator {
    margin: 0 10px;
    color: #808080;
}

.version {
    font-size: 0.8rem;
    color: #808080;
    text-align: center;
    margin-top: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.form-floating>label {
    padding: 0.75rem 0.75rem;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #808080;
}

.input-with-icon .form-control {
    padding-left: 40px;
}

/* Barra de transparência */
.transparency-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 41.66666%; /* Corresponde a col-lg-5 */
    background-color: #d7d7d7;
    text-align: center;
    padding: 15px 0;
    z-index: 1000;
}

.btn-transparency {
    background-color: transparent;
    color: #6c6c6c;
    border: 1px solid #6c6c6c;
    padding: 8px 25px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-transparency:hover {
    background-color: #323232;
    color: white;
}

/* Melhoria na apresentação da mensagem de alerta */
.alert-danger {
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-info {
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-info a {
    color: white;
    text-decoration: underline;
}

.btn-active {
    background-color: #00BFA6 !important; /* Verde */
    border-color: #00BFA6 !important;
}

.botao_acesso {
    background-color: hsla(180, 51.4%, 51.6%, 1);
    font-size: 15px;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    margin-left:10px;
    margin-top:5px;
}


/* VIDEO LOGIN */

.video-container {
    position: relative;
    width: 80%;
    cursor: pointer;
}
.thumbnail {
    width: 100%;
    max-height: 350px;
    display: block;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}



/* Ordem das colunas no mobile */
@media (max-width: 991.98px) {
    .order-lg-first {
        order: 2 !important;
    }
    
    .order-lg-last {
        order: 1 !important;
    }
    
    .bg-image {
        min-height: 400px;
    }
    
    .portal-text {
        bottom: 30px;
    }
    
    .portal-title {
        font-size: 2.5rem;
    }
    
    .portal-subtitle {
        font-size: 1.5rem;
    }
    
    .login-form-container {
        padding: 40px;
        margin-top: 20px;
        height: auto;
        padding-bottom: 100px;
    }
    
    .camara-logo-container {
        padding: 0 30px;
    }
    
    .oklegis-logo {
        height: 40px;
    }
    
    .camara-logo {
        width: 180px;
    }
    
    .right-column {
        height: auto;
        min-height: 500px;
    }
    
    .transparency-bar {
        width: 100%; /* Toda a largura da tela em mobile */
    }
}

@media (max-width: 767.98px) {
    .bg-image {
        min-height: 300px;
    }
    
    .logo-container {
        top: 15px;
        left: 15px;
    }
    
    .portal-text {
        left: 15px;
        bottom: 15px;
    }
    
    .portal-title {
        font-size: 2rem;
    }
    
    .portal-subtitle {
        font-size: 1.2rem;
    }
    
    .login-form-container {
        padding: 30px;
        margin-top: 15px;
    }
    
    .camara-logo-container {
        padding: 0 20px;
        margin-top: 15px;
    }
    
    .oklegis-logo {
        height: 35px;
    }
    
    .camara-logo {
        width: 140px;
    }
    
    .right-column {
        min-height: 600px;
    }
}

@media (max-width: 575.98px) {
    .bg-image {
        min-height: 250px;
    }
    
    .login-form-container {
        padding: 20px;
        margin-top: 10px;
    }
    
    .camara-logo-container {
        padding: 0 15px;
        margin-top: 15px;
    }
    
    .oklegis-logo {
        height: 30px;
    }
    
    .camara-logo {
        width: 120px;
    }
    
    .right-column {
        min-height: 550px;
    }
}



@media (max-width: 991.98px) {
    /* Ensure proper container height and overflow handling */
    .login-container {
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    /* Adjust right column (login section) */
    .right-column {
        position: relative;
        z-index: 2; /* Higher z-index to stay on top */
        padding-bottom: 80px; /* Space for transparency bar */
        min-height: auto;
        height: auto;
        order: 1 !important;
    }
    
    /* Adjust left column (advertisement section) */
    .bg-image {
        position: relative;
        min-height: 400px;
        order: 2 !important;
    }
    
    /* Fix transparency bar positioning */
    .transparency-bar {
        position: relative;
        bottom: auto;
        width: 100%;
        margin-top: 20px;
    }

    /* Ensure portal text is properly positioned */
    .portal-text {
        position: relative;
        bottom: auto;
        left: auto;
        padding: 20px;
    }
    
    /* Fix video container positioning */
    .video-container {
        margin-top: 20px;
    }
    
    /* Ensure proper body overflow handling */
    body {
        overflow-x: hidden;
        height: auto;
    }
}

/* Additional mobile improvements */
@media (max-width: 575.98px) {
    .camara-logo-container {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .login-form-container {
        padding: 15px;
    }
}

/* Medium-sized screens (between 992px and 1399px) */
@media (max-width: 1399px) {
    .portal-title {
        font-size: 2.8rem;
    }
    
    .portal-subtitle {
        font-size: 1.4rem;
    }
    
    .portal-description {
        font-size: 0.9rem;
    }
    
    .botao_acesso {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .video-container {
        width: 70%;
    }
}

/* For screens below 1200px */
@media (max-width: 1199px) {
    .portal-title {
        font-size: 2.5rem;
    }
    
    .portal-subtitle {
        font-size: 1.3rem;
    }
    
    .portal-description {
        font-size: 0.85rem;
    }
    
    .logo {
        height: 40px;
    }
}

.top-bar {
    height: 6px;
    background: linear-gradient(to right, #189cd7, #0d6efd, #6610f2, #6f42c1, #0dcaf0);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Tablets (portrait) and smaller desktops */
@media (max-width: 991px) {
    .portal-text {
        width: 90%;
        margin: 0 auto;
        text-align: center;
    }
    
    .video-container {
        width: 90%;
        margin: 20px auto 0;
    }
    
    /* Center the logo when content is centered */
    .portal-text .logo {
        margin: 0 auto;
        display: block;
    }
    
    /* Adjust button position when title is centered */
    .botao_acesso {
        display: inline-block;
        margin-top: 5px;
        margin-left: 6px;
    }

    .texto_acesso {
        display:none!important;
    }
}

/* Very small tablets and large phones */
@media (max-width: 767px) {
    .portal-title {
        font-size: 2rem;
        margin-top: 15px;
    }
    
    .portal-subtitle {
        font-size: 1.1rem;
    }
    
    .portal-description {
        font-size: 0.8rem;
    }
    
    .portal-text {
        padding: 15px;
    }
}

/* Small phones */
@media (max-width: 575px) {
    .portal-title {
        font-size: 1.8rem;
    }
    
    .portal-subtitle {
        font-size: 1rem;
    }
    
    .portal-description {
        font-size: 0.8rem;
    }
    
    .logo {
        height: 35px;
    }
}



/* Medium-sized screens (below 1400px) */
@media (max-width: 1399px) {
    .camara-logo-container {
        padding: 0 40px;
    }
    
    .oklegis-logo {
        height: 45px;
    }
    
    .camara-logo {
        width: 230px;
    }
}

/* For screens below 1200px */
@media (max-width: 1199px) {
    .camara-logo-container {
        padding: 0 30px;
        gap: 20px; /* Add space between logos */
    }
    
    .oklegis-logo {
        height: 40px;
    }
    
    .camara-logo {
        width: 200px;
    }
}

/* For screens below 992px */
@media (max-width: 991px) {
    .camara-logo-container {
        justify-content: space-between;
        padding: 0 25px;
        margin-top: 20px;
    }
    
    .oklegis-logo {
        height: 38px;
    }
    
    .camara-logo {
        width: 180px;
    }
}

/* For tablet screens */
@media (max-width: 767px) {
    .camara-logo-container {
        padding: 0 20px;
        margin-top: 15px;
        gap: 15px;
    }
    
    .oklegis-logo {
        height: 35px;
    }
    
    .camara-logo {
        width: 160px;
    }
}

/* For mobile screens */
@media (max-width: 575px) {
    .camara-logo-container {
        gap: 10px;
        padding: 0 15px;
    }
    
    .oklegis-logo {
        height: 30px;
    }
    
    .camara-logo {
        width: 140px;
    }
}

@keyframes blink {
    0%, 100% { border-right-color: transparent; }
    50% { border-right-color: white; }
}

/* Style for the typing container */
.typing-effect {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid white;
    animation: blink 0.75s step-end infinite;
    height: 100%;
}

/* For screens below 992px (to ensure proper centering) */
@media (max-width: 991px) {
    .typing-effect {
        display: block;
        text-align: center;
        width: 100%;
    }
}