﻿/*
 * Arquivo CSS Consolidado e Limpo
 * Comentários adicionados para explicar a função de cada regra.
 */


/*======================================== */
/*  Estilos Base e Responsividade de Fonte */
/* ======================================= */

.list_hide {
    display: none;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* ================================ */
/* Estilos de Títulos e Cores Base  */
/* ================================ */

:root {
    --primary-color: #1952a1;
    --primary-color-light: #2c6eb5;
    --background-grey: #f0f2f5;
    --text-color: #4a4a4a;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-grey);
}

h1, h2, h3, h4, h5, h6 {
    color: #006B8F;
}

/* ======================================== */
/* Estilos de Grid e Formulário Específicos */
/* ======================================== */

.gf-invalid-field {
    background: #f08080;
    color: #fff;
}

.gf-invalid-field-readonly {
    color: #f08080;
}

.header {
    position: sticky;
    top: 0;
}

.container-model {
    width: 100%;
    height: 800px;
    overflow: auto;
}

div3x4 {
    border: 1px solid black;
    width: 80px;
    height: 180px;
}

.img3x4 {
    width: 100px;
    height: 180px;
    object-fit: contain;
}

/* ======================================================= */
/* Estilos da Barra Lateral (Sidebar) e Conteúdo Principal */
/* ======================================================= */

/* Estilos da Sidebar (Modo Recolhido) */
#sidebar {
    background-color: #1952a1 !important;
    width: 60px; 
    transition: width 0.3s ease-in-out;
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 45px); 
    overflow-y: auto;
    justify-content: space-between;
}

    /* Estado Expandido da Sidebar */
    #sidebar.expanded {
        width: 200px;
    }

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
}

#sidebar.expanded .toggle-container {
    justify-content: flex-start;
    padding-left: 0.5rem;
}

/* Container de Logo (Escondido por padrão) */
#logo-container {
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out, padding 0.3s ease-in-out;
    overflow: hidden;
    text-align: center;
    padding: 0;
}

#sidebar.expanded #logo-container {
    height: 120px;
    opacity: 1;
    padding: 0 1rem 1.5rem;
}

/* Item de Navegação */
.nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#sidebar.expanded .nav-item {
    text-align: left;
}

.nav-item hr {
    width: 80%;
    margin: 1.5rem auto 1rem;
    opacity: 0.5;
}

#sidebarToggle {
    background-color: transparent !important;
    border: none;
    color: white;
    border-radius: 8px;
    padding: 10px;
}

/* Estilo do Link de Navegação */
.nav-link {
    padding: 1rem 0;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-radius: 8px;
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }

    .nav-link:active {
        transform: scale(0.98);
    }

#sidebar.expanded .nav-link {
    padding: 1rem 1rem;
    justify-content: flex-start;
}

/* Estilo do Ícone */
.nav-link i {
    font-size: 1.25rem;
    margin-right: 0;
    min-width: 30px;
}

#sidebar.expanded .nav-link i {
    margin-right: 15px;
}

.menu-text {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    width: 0;
    overflow: hidden;
}

#sidebar.expanded .menu-text {
    opacity: 1;
    width: auto;
}

.bottom-nav {
    margin-top: auto;
    padding-bottom: 0.1rem;
}

/* Avatar de Usuário (Círculo) */
.avatar-img-circle {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
    position: static;
    margin-right: 0;
    box-shadow: 0 0 0 3px #006B8F;
}

#sidebar.expanded .avatar-img-circle {
    margin-right: 15px;
}

.avatar-link:hover .avatar-img-circle {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
}

.avatar-link:active .avatar-img-circle {
    transform: scale(0.95);
}

.avatar-link:focus .avatar-img-circle {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.7);
}

/* Estilos do Conteúdo Principal */
#content {
    margin-left: 60px; 
    transition: margin-left 0.3s ease-in-out;
    flex-grow: 1;
    padding-bottom: 45px; 
}

    #content.shifted {
        margin-left: 200px; 
    }

/* ==================================== */
/*          Estilos dos rodapés         */
/* ==================================== */

.footer {
    position: fixed; 
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001; 
    background-color: #1952a1;
    height: 45px;
    line-height: 45px;
}

/* ==================================== */
/*  Estilos de Modal (Janela Flutuante) */
/* ==================================== */

/* Fundo da modal (com efeito de desfoque) */
.modal-backdrop.show {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.38);
}

/* Estilo do corpo do modal */
.custom-modal {
    border-radius: 14px;
    overflow: hidden;
    max-width: 400px;
    margin: auto;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.28);
    animation: zoomIn 0.25s ease-in-out;
}

/* Cabeçalho do modal com gradiente */
.custom-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    padding: 12px 16px;
    position: relative;
}

/* Botão X de fechar personalizado */
.close-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background 0.15s;
}

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.22);
    }

@keyframes zoomIn {
    from {
        transform: scale(0.94);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-body {
    font-size: 14px;
}

/* ===================================== */
/* Estilos de Cards (Filtro de pesquisa) */
/* ===================================== */

/* Card de destaque lateral (usado para osfiltros) */
.card-highlight-left {
    border-left: 5px solid #006B8F; 
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

    /* Estilos compactos para os campos de formulário no filtro */
    .card-highlight-left .form-label {
        color: #495057;
        font-weight: 600;
        font-size: 0.875rem;
    }

    .card-highlight-left .form-control {
        border-radius: 0.375rem;
        font-size: 0.875rem;
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
    }

.card-highlight-left {
    border-left: 5px solid #006B8F; 
    padding: 1rem 1.25rem;
    background-color: #f8f9fa; 
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-highlight-left .form-label {
    color: #495057;
    font-weight: 600;
    font-size: 0.875rem;
}

.card-highlight-left .form-control {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
}

.card-highlight-left .form-check-label {
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

.card-highlight-left .form-check-inline {
    margin-right: 1rem;
}

.card-highlight-left .row + .row {
    margin-top: 1rem;
}


/* ===================================== */
/* Estilo do botão (Pesquisar | Filtro)  */
/* ===================================== */

/* Estilos dos ícones de Ação da ToolBar */
#toolBar .fa-2x {
    font-size: 1.5em;
}
.search-button {
    background-color: #20b2aa;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
    .search-button:hover {
        background-color: #1a9e96; 
    }

/* ===================================== */
/*        Estilo do botão (Voltar)       */
/* ===================================== */

.btn-voltar {
    background-color: #006B8F;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

    .btn-voltar:hover {
        background-color: #005672;
        color: white;
        text-decoration: none;
    }
    .btn-voltar i {
        margin-right: 5px;
    }

/* ===================================== */
/*        Estilo do botão (Salvar)       */
/* ===================================== */

.btn-salvar {
    background-color: #19A695;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
 
    /* Espaçamento para Ícones (Botões que possuem ícones)*/
    .btn-salvar i {
        margin-right: 5px;
        color: inherit;
    }

    /* Estilos para o link de Liberação/Salvar */
    .btn-salvar:hover {
        background-color: #148677;
        color: white !important;
        text-decoration: none !important;
    }
        .btn-salvar:hover i {
            color: white !important;
        }

/* ===================================== */
/*       Estilo do botão (Excluír)       */
/* ===================================== */

.btn-excluir {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-excluir:hover {
        background-color: #c82333;
    }

/* ===================================== */
/*     Estilo do botão (Enviar Link)     */
/* ===================================== */

.btn-enviar {
    background-color: #00aea5;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
    .btn-enviar:hover {
        background-color: #00938b;
    }

/* ==================================== */
/*     Estilos de Cards (Módulos)       */
/* ==================================== */

/* Estilo principal dos cartões */
.card-custom {
    border-left: 5px solid #007BBA; 
    border-radius: 12px; 
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff; 
    margin: 12px;
    overflow: hidden; 
}

    .card-custom:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.12); 
    }

/* Corpo do card */
.card-body-custom {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.2rem;
    gap: 1rem; 
}

/* Conteúdo do card */
.card-content {
    flex-grow: 1;
}

/* Ícone do card */
.card-icon {
    color: #007BBA; 
    font-size: 2rem; 
    min-width: 40px;
    text-align: center;
}

/* Título do card */
.card-title-custom {
    text-decoration: none; /* Remove o sublinhado */
    color: inherit;
}

    .card-title-custom:hover {
        text-decoration: none;
    }

/* Descrição do card */
.card-text-custom {
    color: #6c757d; 
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Título de seção de módulos */
.modulos-title {
    margin-left: 20px;
    font-weight: 600;
    color: #006B8F;
}

/* =========================================== */
/* Estilos de Checkbox Personalizado (Filtros) */
/* ==========================================  */

.custom-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 0;
    border: 2px solid #6c757d;
    border-radius: .25rem;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3 6-6'/%3e%3c/svg%3e");
}

/* Estilo e alinhamento do rótulo ao lado do checkbox */
.search-actions label[for="Completed"] {
    font-size: 1rem;
    color: #007bff !important;
    font-weight: 600;
    line-height: 1.2;
    padding-top: 0;
    position: relative;
    top: 1px;
}

/* Alinha verticalmente elementos em linha (útil em layouts flex/grid) */
.vertical-align-middle {
    align-self: center !important;
}

/* Card corporativo com destaque lateral */
.card-highlight-left {
    border-left: 5px solid #006B8F; 
    padding: 1rem 1.25rem;
    background-color: #f8f9fa; 
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card-highlight-left .form-label {
    color: #495057;
    font-weight: 600;
    font-size: 0.875rem;
}

.card-highlight-left .form-control {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
}

/* ==================================== */
/*      Estilos da Tela de Login        */
/* ==================================== */

/* Layout principal (cobre toda a tela) */
.login-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Seção da esquerda (imagem de fundo) */
.login-image-section {
    flex: 1;
    background-image: url('/images/background_login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

    /* Texto sobre a imagem */
    .login-image-section .image-overlay-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
        z-index: 2;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }

/* Seção do formulário de login (direita) */
.login-form-section {
    flex: 0 0 395px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 2rem;
    box-sizing: border-box;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
}

.login-card {
    width: 100%;
    max-width: 380px;
    padding: 2rem;
    border-radius: 12px;
    background-color: #fff;
}

    .login-card h2 {
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

.form-group {
    margin-bottom: 1.5rem;
}

/* Campo de input personalizado */
.form-control-custom {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 50px;
}

    .form-control-custom:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(25, 82, 161, 0.25);
        outline: none;
    }

/* Container para alinhamento de formulários de login */
.form-signin {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: auto;
}

/* Estilo para grupo de input de senha (com botão de visualização) */
.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input-group .form-control-custom {
        padding-right: 50px;
    }

    .password-input-group .btn {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 45px;
        height: 100%;
        padding: 0;
        background: transparent;
        border: none;
        color: #888;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        border-left: 1px solid #eee;
    }

        .password-input-group .btn:hover {
            color: #333;
        }

        .password-input-group .btn i {
            font-size: 1.2em;
        }

/* Link "Esqueceu a senha" */
.forgot-password-link {
    display: block;
    margin-top: 1rem;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .forgot-password-link:hover {
        color: var(--primary-color-light);
        text-decoration: underline;
    }

/* Texto de rodapé na tela de login */
.login-footer-text {
    margin-top: auto;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* ===================================== */
/*        Estilo do botão (Entrar)       */
/* ===================================== */

.btn-primary-custom {
    background-color: #20B2AA;
    color: white;
    padding: 6px 25px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
}

    .btn-primary-custom:hover {
        background-color: #2ECDAA;
    }

    .btn-primary-custom:active {
        background-color: #1A9A92;
    }ackground-color: #1A9A92;
    
/* ==================================== */
/*           Responsividade             */
/* ==================================== */

/* Oculta a imagem de fundo de login em telas menores (tablets) */
@media (max-width: 992px) {
    .login-image-section {
        display: none;
    }

    .login-form-section {
        flex: 1; 
    }
}

/* Ajustes para telas muito pequenas (smartphones) - Menu Lateral */
@media (max-width: 768px) {
    .menu-text {
        display: none !important;
    }

    /* Esconde a sidebar por padrão (modo off-canvas) */
    #sidebar {
        width: 0;
        overflow: hidden;
        height: 100vh;
    }

        /* Estado expandido em modo mobile */
        #sidebar.expanded {
            width: 200px;
            height: calc(100vh - 45px);
        }

    /* Remove o deslocamento de margem do conteúdo */
    #content {
        margin-left: 0;
    }

        #content.shifted {
            margin-left: 0;
        }

    /* Botão de toggle fixo e visível para abrir o menu off-canvas */
    #sidebarToggle {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1002;
        background-color: #1952a1 !important;
        color: white;
    }
}

/* ==================================== */
/*              Check box               */
/* ==================================== */

/* Container */
.form-check {
    display: flex;
    align-items: center;
}

/* Toggle base */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 42px;
    height: 22px;
    background: #e5e7eb;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-right: 10px;
    outline: none;
}

    /* Bolinha interna (centralizada corretamente) */
    .custom-checkbox::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 3px;
        width: 16px;
        height: 16px;
        background: #ffffff;
        border-radius: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    /* Estado ativo */
    .custom-checkbox:checked {
        background: #0d6efd;
    }

        /* Movimento da bolinha */
        .custom-checkbox:checked::before {
            transform: translate(20px, -50%);
        }

    /* Hover */
    .custom-checkbox:hover {
        background: #c7d2fe;
    }

    .custom-checkbox:checked:hover {
        background: #2563eb;
    }

/* Label */
.form-check-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

/* Cor do texto ao marcar */
.custom-checkbox:checked + .form-check-label {
    color: #0b5ed7;
}


/* ==================================== */
/*    Modal - nova versão do Portal     */
/* ==================================== */

.modal-backdrop {
    background-color: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

.modal-backdrop.show {
    opacity: 1 !important;
}

/* Modal em destaque */
.modal-content {
    border-radius: 14px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

.modal-header {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.custom-close {
    background: none;
    position: relative;
    width: 32px;
    height: 32px;
    opacity: 0.6;
}

    .custom-close::before,
    .custom-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2px;
        background-color: #333;
    }

    .custom-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .custom-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .custom-close:hover {
        opacity: 1;
    }

.modal-header .btn-close {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    opacity: 0.6;
}

    .modal-header .btn-close:hover {
        opacity: 1;
    }

    .modal-header .btn-close:focus {
        box-shadow: none !important;
        outline: none !important;
    }

.modal-body {
    font-size: 0.95rem;
    line-height: 1.7;
}

    .modal-body ul li {
        margin-bottom: 6px;
    }

.modal-header {
    background-color: #e8f4fb; 
    border-bottom: none !important;
}


.modal-footer {
    border-top: none !important;
}



/* ==============================================================
        Estilo | Módulo de envio de notas fiscais de serviço
 =============================================================== */

.page-split {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* Coluna do formulário | Esquerda*/

.form-container {
    flex: 1 1 45%;
    height: auto;
    overflow: visible;
    padding-right: 10px;
}

    .form-container::-webkit-scrollbar {
        width: 8px;
    }

    .form-container::-webkit-scrollbar-thumb {
        background-color: #b5b5b5;
        border-radius: 4px;
    }

    .form-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .form-container label {
        white-space: nowrap;
        display: inline-block;
        overflow: visible;
        max-width: 100%;
        font-weight: 600;
    }


/*  Coluna do PDF | Direita) */

.pdf-container {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    height: 85vh;
    padding-left: 10px;
    background-color: transparent;
    border: none;
}

/* Cabeçalho do PDF */
.pdf-header {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 8px;
}

/* Área do PDF */
.pdf-viewer {
    flex: 1;
}

    .pdf-viewer embed,
    .pdf-viewer iframe {
        width: 100%;
        height: 100%;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

/* ===============================
   Responsividade (mobile)
   =============================== */

@media (max-width: 991px) {
    .page-split {
        flex-direction: column;
    }

    .form-container,
    .pdf-container {
        max-height: none;
        height: auto;
        padding: 0;
    }

    .pdf-viewer embed,
    .pdf-viewer iframe {
        height: 600px;
    }
}

.flex-fill-custom {
    flex: 1 1 auto;
    min-width: fit-content;
    margin-right: 15px;
}

    .flex-fill-custom label {
        white-space: nowrap;
        display: block;
    }

    .flex-fill-custom .form-control {
        width: 100%;
    }
