/*==============================================
    GLOBAL VARIABLES & RESET
=============================================*/
:root {
   :root {
    --primary: #FFCA00;            /* Amarelo vibrante */
    --primary-light: #0093D3;      /* Azul marcante */

    --accent: #00B3E6;             /* Azul mais claro, puxado do primary-light */
    --accent-light: #FFF2B3;       /* Amarelo bem suave, baseado no primary */
    
    --text-color: #2c2c2c;         /* Um tom de cinza mais forte, boa leitura */
    --light-bg: #f9fafb;           /* Fundo bem claro, quase branco */
    --hover-bg: #e6f7fb;           /* Azul clarinho pro hover (derivado do primary-light) */
    --active-bg: #fff8e1;          /* Amarelo bem clarinho pro estado ativo */
    
    --border-color: #dcdcdc;       /* Um cinza leve, mais suave que o anterior */
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    --navbar-height: 60px;
    --sidebar-width: 220px;
}

}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #3a0e3b;
    text-decoration: none;
}

/*==============================================
    LOGIN STYLES    
=============================================*/
body {
    background-color: var(--light-bg);
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(69, 18, 70, 0.1);
    width: 100%;
    max-width: 420px;
    padding: 2rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container img {
    max-width: 180px;
    height: auto;
}

.login-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Remover margens do controle de formulário */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    border: 1px solid #ddd;
    margin-bottom: 0;
    /* Removido para evitar espaçamento extra */
    height: 50px;
    /* Altura fixa para todos os inputs */
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(255, 201, 78, 0.3);
    border-color: var(--accent);
}

/* Espaçamento entre os grupos de input */
.input-group {
    margin-bottom: 1rem;
}

/* Garantir que o input-group-text tenha a mesma altura que o input */
.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 8px 0 0 8px;
    height: 50px;
    /* Mesma altura que o input */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    width: 50px;
    /* Largura fixa para o container do ícone */
}

/* Estilo para os ícones */
.form-icon {
    color: #aaa;
}

.btn-primary {
    background-color: var(--accent);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #efba3c;
    box-shadow: 0 5px 15px rgba(255, 201, 78, 0.4);
    color: var(--text-color);
}

.alert {
    padding: 18px 22px;
    margin-bottom: 25px;
    border-radius: 8px;
    font-size: 1.2rem;
    background-color: #fff3e0;
    border-left: 5px solid #ffc94e;
    color: #451246;
}

.alert-warning {
    background-color: rgba(255, 201, 78, 0.15);
    border-color: var(--accent);
    color: #664d03;
}

.forgot-password {
    text-align: right;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.forgot-password a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.purple-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
}

.yellow-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent);
}

/* Estilos inline apenas para visualização */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
}

.senha-container {
    position: relative;
}

.senha-info {
    margin-top: 15px;
    margin-bottom: 20px;
}

.senha-dica {
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #666;
}

.show-password-btn {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    cursor: pointer;
}

/*==============================================
        LAYOUT STRUCTURE    
    =============================================*/
#wrapper {
    position: relative;
    overflow-x: hidden;
    min-width: 350px;
}

/* Apenas para telas pequenas */
@media (max-width: 992px) {
    #wrapper {
        margin-top: var(--navbar-height);
    }
}

/* Para telas grandes não exibimos a navbar-top */
@media (min-width: 993px) {
    .navbar-top {
        display: none !important;
    }

    .sidebar {
        top: 0 !important;
    }

    #page-wrapper {
        margin-left: var(--sidebar-width);
    }
}

/*==============================================
        TOP NAVIGATION BAR (apenas mobile)    
    =============================================*/
.navbar-top {
    height: var(--navbar-height);
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 0 1rem;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-width: 150px;
    height: auto;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botão de menu (toggle) */
.menu-toggle {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.menu-toggle:hover {
    background-color: #3a0e3b;
}

.menu-toggle-text {
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.2s ease;
}

/* Notificações */
.notification-container {
    position: relative;
}

.notification-btn {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
}

.notification-badge {
    background-color: var(--accent);
    color: var(--text-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/*==============================================
    SIDEBAR NAVIGATION WITH COLORED ACCENTS    
=============================================*/
.sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    left: 0;
    background-color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1020;
    overflow-y: auto;
    transition: transform 0.3s ease;
    /* Adding colored border like in login page */
    border-left: 6px solid var(--primary);
}

/* Em telas pequenas a sidebar fica escondida por padrão */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    #page-wrapper {
        margin-left: 0;
    }
}

/* Área do perfil do usuário com melhorias */
.user-profile {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
}

.user-avatar-container {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.5rem;
}

.edit-avatar {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: var(--accent);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.edit-avatar i {
    margin-right: 3px;
}

.edit-avatar:hover {
    background-color: #efba3c;
    transform: scale(1.1);
}

.username {
    font-weight: 500;
    color: var(--primary);
    font-size: 1rem;
}

/* Menu de navegação com cores modernizadas */
.nav-menu {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.nav-item {
    margin: 0.25rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
    font-size: 1.3rem;
}

.nav-link:hover {
    background-color: var(--hover-bg);
    color: var(--primary);
    text-decoration: none;
}

.nav-link.active {
    background-color: var(--active-bg);
    border-left: 3px solid var(--accent);
    color: var(--primary);
    font-weight: 500;
}

.glyphicon,
.fa,
.nav-icon {
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
    color: var(--primary);
}

/* Dropdown Menu com design aprimorado */
.dropdown-toggle {
    position: relative;
}

.dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-container {
    background-color: rgba(0, 0, 0, 0.01);
    padding: 0;
    margin-left: 0.5rem;
    border-left: 1px dashed var(--border-color);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem 0.6rem 2.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    border-radius: 0 6px 6px 0;
    font-size: 1.2rem;
}

.dropdown-item:hover {
    background-color: var(--hover-bg);
    color: var(--primary);
    text-decoration: none;
}

.dropdown-item.active {
    background-color: var(--active-bg);
    border-left: 3px solid var(--accent);
    color: var(--primary);
}

.dropdown-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 1rem;
}

/* Botão de logout */
.logout-btn {
    color: #dc3545;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.logout-btn:hover {
    background-color: #fff5f5;
}


/*==============================================
    MAIN CONTENT AREA    
=============================================*/
#page-wrapper {
    transition: margin-left 0.3s ease;
    background-color: var(--light-bg);
    min-height: 100vh;
    padding: 1.5rem;
    margin-top: -90px;
    
}

#page-inner {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    margin-top: -50px;
    border-radius: 20px;
    /* border-top: 4px solid var(--accent); */
}

.titulo-investimentos {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

/* Overlay para mobile */
.overlay {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1015;
}

.overlay.active {
    display: block;
}

/*==============================================
    FOOTER STYLES WITH COLORED ACCENT    
=============================================*/
.footer {
    background-color: #fff;
    padding: 1rem;
    text-align: center;
    position: relative;
    clear: both;
    width: 100%;
    /* Aplicando borda colorida na parte inferior, similar à login page */
    border-bottom: 6px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    color: var(--primary);
    font-size: 1.7rem;
}

.footer-brand {
    color: var(--primary);
    font-weight: 500;
}

/*==============================================
    NAVBAR STYLES    
=============================================*/
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    height: var(--navbar-height);
    /* Adicionando borda colorida no topo */
    border-top: 6px solid var(--primary);
    padding: 0 1.5rem;
}

.navbar-brand img {
    height: 40px;
}

.navbar-toggler {
    border: none;
    color: var(--accent);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/*==============================================
    CARDS AND CONTENT ELEMENTS    
=============================================*/
.card {
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 500;
    color: var(--primary);
}

.card-body {
    padding: 1.5rem;
}

/* ==============================================
        BUTTONS & FORM ELEMENTS    
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    border-left-width: 3px;
}

/* Botão padrão (roxo principal) */
.btn {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary-light);
    border-left-color: var(--primary-light);
}

.btn:hover {
    background-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Botão primário (variante clara) */
.btn-primary {
    background-color: var(--hover-bg);
    color: #000 !important;
    border: 1px solid var(--primary-light);

}

.btn-primary:hover {
    background-color: var(--active-bg);
    border-color: #d0d0d0;
    border-left-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

/* Botão de sucesso */
.btn-success {
    background-color: #f0fdf4;
    color: #166534 !important;
    border: 1px solid #86efac;
    border-left: 3px solid #16a34a;
}

.btn-success:hover {
    background-color: #dcfce7;
    border-color: #4ade80;
    border-left-color: #22c55e;
}

/* Botão de acento */
.btn-accent {
    background-color: #fffaeb;
    color: #854d0e !important;
    border: 1px solid #fde68a;
    border-left: 3px solid var(--accent);
}

.btn-accent:hover {
    background-color: #fef3c7;
    border-color: #fcd34d;
    border-left-color: #fbbf24;
}

/* Botão secundário */
.btn-secondary {
    background-color: white;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    border-color: #d4d4d4;
}

/* Botão de perigo */
.btn-danger {
    background-color: #fef2f2;
    color: #b91c1c !important;
    border: 1px solid #fca5a5;
    border-left: 3px solid #dc2626;
}

.btn-danger:hover {
    background-color: #fee2e2;
    border-color: #f87171;
    border-left-color: #b91c1c;
}

/* Botão de texto */
.btn-text {
    background-color: transparent;
    color: var(--primary) !important;
    box-shadow: none;
    border: none !important;
    padding: 0.5rem 0.75rem;
}

.btn-text:hover {
    background-color: var(--hover-bg);
    color: var(--primary-light) !important;
    text-decoration: underline;
}

/* Estado desabilitado */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f5f5;
    color: #999 !important;
    border-color: #e5e5e5 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Tamanhos de botões */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 1.1rem;
}

/* Efeito de loading */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*==============================================
        RESPONSIVE ADJUSTMENTS    
    =============================================*/
@media (max-width: 768px) {
    .menu-toggle-text {
        display: none;
    }

    .user-avatar {
        width: 90px;
        height: 90px;
    }

    #logo_menu_celular {
        display: block;
    }

    #logo_menu_computador {
        display: none;
    }

    #page-wrapper {
        padding: 1rem;
    }

    #page-inner {
        padding: 1rem;
    }

    .titulo-investimentos {
        font-size: 1.5rem;
    }

    .dropdown-item {
        padding: 0.65rem 1rem 0.65rem 3rem;
    }
}

@media (min-width: 769px) {
    #logo_menu_celular {
        display: none;
    }

    #logo_menu_computador {
        display: block;
    }
}

/*==============================================
        WIZARD STEPS    
    =============================================*/
.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-index: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

@media (max-width: 500px) {
    .stepwizard-step p {
        font-size: 9px;
    }
}

/*==============================================
        CUSTOM CLASSES    
    =============================================*/
.d-none {
    display: none;
}

/* Correção para a navegação por pills */
.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    color: #fff;
    background-color: var(--primary);
}

/*==============================================
    ESTILOS DE TÍTULOS DE PÁGINA COM ÍCONES SVG    
=============================================*/
.titulo-pagina {
    color: var(--text-color);
    font-weight: 700;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    position: relative;
}

/* Estilos para ícones SVG nos títulos */
.titulo-icone {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.titulo-icone svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

/* Círculo de fundo para o ícone (opcional) */
.titulo-icone-circulo {
    background-color: rgba(255, 201, 78, 0.15);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.titulo-icone-circulo svg {
    width: 22px;
    height: 22px;
}

/* Linha decorativa abaixo do título */
.titulo-pagina-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, var(--border-color) 0%, rgba(232, 232, 232, 0) 80%);
}

/* Subtítulo opcional */
.subtitulo-pagina {
    color: #777;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.25rem;
    margin-left: 40px;
    /* Alinhado com o texto do título principal após o ícone */
}

/* Container para ações relacionadas à página */
.titulo-acoes {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

/* Responsividade */
@media (min-width: 768px) {
    .titulo-pagina-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .titulo-wrapper {
        flex: 1;
    }

    .titulo-acoes {
        margin-top: 0;
    }
}

/* Variações */
.titulo-pagina.titulo-pagina-centro {
    justify-content: center;
    text-align: center;
}

.titulo-pagina-centro .subtitulo-pagina {
    margin-left: 0;
    text-align: center;
}

/* Título com destaque lateral */
.titulo-pagina.titulo-pagina-destaque {
    font-size: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent);
}

/* Breadcrumb dentro do título principal */
.titulo-pagina .breadcrumb {
    font-size: 2.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.titulo-pagina .breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
}

.titulo-pagina .breadcrumb a:hover {
    text-decoration: underline;
}

.titulo-pagina .breadcrumb .active {
    color: #555;
    font-weight: 600;
    margin-left: 4px;
}


/* Breadcrumbs integrados */
.breadcrumb-container {
    display: flex;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-item a {
    color: var(--primary-light);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #777;
}

/* Ícones nas seções de ação */
.btn-icon {
    display: inline-flex;
    align-items: center;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/*==============================================
        LISTAR CLIENTES  
    =============================================*/

/* Estilos melhorados para os filtros */
.filtro-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px;
}

.filtro-item {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    margin-bottom: 15px;
}

.filtro-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.filtro-botoes {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
}

.btn-limpar {
    margin-left: 10px;
}

.btn-limpar:hover {

    background-color: #ffd600 !important;
    border-color: #ffd600 !important;
    color: #000 !important;
}

.btn-limpar {
    transition: all 0.3s ease;
}

/* Estilo para a legenda */
.legenda-container {
    position: relative;
}

#legenda {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    width: 400px;
    margin-top: 5px;
}

/* Estilo para o dropdown do nome */
.dropdown-nome {
    position: relative;
    width: 100%;
}

.dropdown-nome-toggle {
    position: absolute;
    right: 1px;
    top: 1px;
    height: calc(100% - 2px);
    width: 30px;
    background: #e9ecef;
    border: none;
    border-left: 1px solid #ced4da;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-nome-toggle:hover {
    background: #dde0e3;
}

.dropdown-nome-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    display: none;
}

.dropdown-nome-item {
    padding: 8px 15px;
    cursor: pointer;
}

.dropdown-nome-item:hover {
    background-color: #f5f5f5;
}

.input-nome-container {
    position: relative;
}

.status-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.name-cell,
.product-cell,
.email-cell {
    position: relative;
    overflow: visible;
}

/* Remover truncamento e permitir quebra de linha */
.name-cell .table-cell-truncate,
.product-cell .table-cell-truncate,
.email-cell .table-cell-truncate {
    max-width: 100%;
    white-space: normal;
    /* Permite quebra de linha */
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.2;
}

/* Desativar tooltips para todas as células com quebra de linha */
.name-tooltip,
.product-tooltip,
.email-tooltip {
    display: none;
}

/* Estilos atualizados para os ícones de status */
.status-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* Garantir que as cores dos ícones SVG sejam preservadas */
.status-smile {
    color: #4CAF50;
    /* Verde para status em dia */
    fill: #4CAF50;
}

.status-meh {
    color: #FFC107;
    /* Amarelo para um atraso */
    fill: #FFC107;
}

.status-frown {
    color: #FF9800;
    /* Laranja para dois atrasos */
    fill: #FF9800;
}

.status-alert {
    color: #F44336;
    /* Vermelho para status crítico */
    fill: #F44336;
}

/* Ajustar layout da tabela para acomodar o nome com quebra */
.table td {
    vertical-align: middle;
    padding: 8px;
}

/*==============================================
    CARDS RELATORIO - OPERACOES BANCARIAS    
    =============================================*/
.card-container_relatorio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* Alinha os cards à esquerda */
    /* Você também pode usar 'space-around' ou 'space-evenly' para ajustar o espaçamento */
}

.cart_relatorios {
    background-color: #ffffff;
    /* Cor de fundo */
    border-radius: 10px;
    /* Bordas arredondadas */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    padding: 5px;
    /* Espaçamento interno */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Transição suave */
    border: none;
    /* Remove a borda */
    margin: 5px;
    /* Reduz o espaçamento entre os cards */
    box-sizing: border-box;
    /* Garante que o padding não aumente o tamanho do card */
    width: 180px;
    /* Largura fixa dos cards */
    height: 180px;
    /* Altura fixa dos cards */
    display: flex;
    /* Usa flexbox para alinhar o conteúdo */
    flex-direction: column;
    /* Organiza o conteúdo em coluna */
    justify-content: center;
    /* Centraliza o conteúdo verticalmente */
    align-items: center;
    /* Centraliza o conteúdo horizontalmente */
}


.card-icon {
    margin-right: 8px;
    /* Espaço entre o ícone e o texto */
}

.border-blue {
    border: 2px solid rgba(0, 123, 255, 0.7);
}

.border-yellow {
    border: 2px solid #FFD700;
}

/* Amarelo Dourado */
.border-orange {
    border: 2px solid rgba(255, 165, 0, 0.7);
}

.border-red {
    border: 2px solid rgba(255, 0, 0, 0.7);
}

.icon-blue {
    color: rgba(0, 123, 255, 0.7);
}

.icon-yellow {
    color: #FFD700;
}

/* Cor correspondente ao amarelo mais escuro */
.icon-orange {
    color: rgba(255, 165, 0, 0.7);
}

.icon-red {
    color: rgba(255, 0, 0, 0.7);
}

.icon-gray {
    color: #777777;
}

.border-green {
    border: 2px solid #28a745;
    /* Verde */
}

/* Borda Cinza - Relatorio bancario */
.border-gray {
    border: 2px solid #777777; 
}

.icon-green {
    color: #28a745;
    /* Verde */
}

.clickable-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    color: #fff;
}

.badge-success {
    background-color: #198754;
}

.badge-primary {
    background-color: #0d6efd;
}

.badge-warning {
    background-color: rgba(255, 165, 0, 0.7);
}

.badge-danger {
    background-color: #dc3545;
}

.badge-special {
    background-color: #2ecc71;
}

#boletos-container {
    width: 100%;
}

.pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centraliza verticalmente (opcional) */
}

/* Garante que os elementos fiquem na mesma linha */
.filter-container {
    display: flex;
    align-items: end;
    gap: 10px;
    /* Espaçamento entre os elementos */
}

/* Força os botões a ficarem alinhados corretamente */
.filter-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    top: -10px;
}

/* Garante que os inputs tenham a mesma altura dos botões */
.form-control {
    height: 38px;
    /* Altura padrão dos botões do Bootstrap */
}

/*==============================================
        CARDS RELATORIO - EMPRESTIMOS   
        =============================================*/

/* Estilos para página de Empréstimos */
.emp-container {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    padding-top: 200px;
    padding-bottom: 120px;
}

.emp-progress-bg {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.emp-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, #007bff 0%, #007bff 14.28%, #28a745 85.72%, #28a745 100%);
    width: 100%;
    border-radius: 5px;
}

.emp-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: -45px;
}

.emp-progress-step {
    position: relative;
    text-align: center;
    flex: 1;
}

.emp-progress-indicator {
    width: 80px;
    height: 80px;
    border: 3px solid transparent;
    border-radius: 50%;
    background-color: white;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8px;
    font-weight: bold;
    color: #555;
    text-align: center;
    padding: 3px;
    position: relative;
    white-space: normal;
    overflow: hidden;
    z-index: 2;
}

.emp-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 12px;
    color: #555;
    width: 150px;
    min-height: 50px;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.emp-highlight-card {
    top: -167px;
}

.emp-card:not(.emp-highlight-card) {
    top: 120px;
}

.emp-progress-step .emp-highlight-card::before,
.emp-progress-step .emp-card:not(.emp-highlight-card)::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 3px;
    background-color: transparent;
    transform: translateX(-50%);
}

.emp-progress-step .emp-highlight-card::before {
    bottom: -55px;
    height: 55px;
}

.emp-progress-step .emp-card:not(.emp-highlight-card)::before {
    top: -70px;
    height: 70px;
}

.emp-card:hover {
    transform: translate(-50%, -10px) scale(1.1);
    transition: transform 0.3s ease-in-out;
}

/* Cores específicas para cada status (bordas e linhas) */
.emp-progress-step:nth-child(1) .emp-progress-indicator {
    border-color: #007bff;
}

.emp-progress-step:nth-child(2) .emp-progress-indicator {
    border-color: #dc3545;
}

.emp-progress-step:nth-child(3) .emp-progress-indicator {
    border-color: #28a745;
}

.emp-progress-step:nth-child(4) .emp-progress-indicator {
    border-color: #ffc107;
}

.emp-progress-step:nth-child(5) .emp-progress-indicator {
    border-color: #17a2b8;
}

.emp-progress-step:nth-child(6) .emp-progress-indicator {
    border-color: #6610f2;
}

.emp-progress-step:nth-child(7) .emp-progress-indicator {
    border-color: #6c757d;
}

/* Cores das bordas dos cards */
.emp-progress-step:nth-child(1) .emp-card {
    border-color: #007bff;
}

.emp-progress-step:nth-child(2) .emp-card {
    border-color: #dc3545;
}

.emp-progress-step:nth-child(3) .emp-card {
    border-color: #28a745;
}

.emp-progress-step:nth-child(4) .emp-card {
    border-color: #ffc107;
}

.emp-progress-step:nth-child(5) .emp-card {
    border-color: #17a2b8;
}

.emp-progress-step:nth-child(6) .emp-card {
    border-color: #6610f2;
}

.emp-progress-step:nth-child(7) .emp-card {
    border-color: #6c757d;
}

/* Cores das linhas de conexão */
.emp-progress-step:nth-child(1) .emp-highlight-card::before,
.emp-progress-step:nth-child(1) .emp-card:not(.emp-highlight-card)::before {
    background-color: #007bff;
}

.emp-progress-step:nth-child(2) .emp-highlight-card::before,
.emp-progress-step:nth-child(2) .emp-card:not(.emp-highlight-card)::before {
    background-color: #dc3545;
}

.emp-progress-step:nth-child(3) .emp-highlight-card::before,
.emp-progress-step:nth-child(3) .emp-card:not(.emp-highlight-card)::before {
    background-color: #28a745;
}

.emp-progress-step:nth-child(4) .emp-highlight-card::before,
.emp-progress-step:nth-child(4) .emp-card:not(.emp-highlight-card)::before {
    background-color: #ffc107;
}

.emp-progress-step:nth-child(5) .emp-highlight-card::before,
.emp-progress-step:nth-child(5) .emp-card:not(.emp-highlight-card)::before {
    background-color: #17a2b8;
}

.emp-progress-step:nth-child(6) .emp-highlight-card::before,
.emp-progress-step:nth-child(6) .emp-card:not(.emp-highlight-card)::before {
    background-color: #6610f2;
}

.emp-progress-step:nth-child(7) .emp-highlight-card::before,
.emp-progress-step:nth-child(7) .emp-card:not(.emp-highlight-card)::before {
    background-color: #6c757d;
}

/* Estilo para números nos cards */
.emp-card-number {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
    border-radius: 5px;
    padding: 5px;
    width: 50px;
    margin: 10px auto;
}

.emp-card-content {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    width: 100%;
}

.emp-card-content i {
    font-size: 24px;
    margin-right: 10px;
    color: inherit;
}

/* Estilo para os ícones */
.emp-progress-step:nth-child(1) .emp-card .emp-card-content i {
    color: #007bff;
}

.emp-progress-step:nth-child(2) .emp-card .emp-card-content i {
    color: #dc3545;
}

.emp-progress-step:nth-child(3) .emp-card .emp-card-content i {
    color: #28a745;
}

.emp-progress-step:nth-child(4) .emp-card .emp-card-content i {
    color: #ffc107;
}

.emp-progress-step:nth-child(5) .emp-card .emp-card-content i {
    color: #17a2b8;
}

.emp-progress-step:nth-child(6) .emp-card .emp-card-content i {
    color: #6610f2;
}

.emp-progress-step:nth-child(7) .emp-card .emp-card-content i {
    color: #6c757d;
}

/* Tabela de dados */
.emp-data-container {
    margin-top: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
}

.emp-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.emp-table-title {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.emp-export-btn {
    padding: 8px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.emp-export-btn:hover {
    background-color: #218838;
}

.emp-table {
    width: 100%;
    border-collapse: collapse;
}

.emp-table th,
.emp-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.emp-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.emp-table tr:hover {
    background-color: #f5f5f5;
}

/* Estilo para o filtro */
.emp-filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: transparent;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.emp-filter-container label {
    margin-right: 0;
    white-space: nowrap;
    font-size: 14px;
    color: #555;
}

.emp-filter-container input[type="date"] {
    padding: 6px 8px;
    width: 140px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.emp-filter-btn {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.emp-filter-btn:hover {
    background-color: #0056b3;
}

.emp-clear-btn {
    padding: 6px 12px;
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.emp-clear-btn:hover {
    background-color: #e0e0e0;
}

/* Estilos para os cards estatísticos */
.stats-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    padding-left: 8px;
    border-left: 4px solid var(--primary);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

/* Para telas menores, ajustar para 2 por linha */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Para telas muito pequenas, 1 por linha */
@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.stats-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 1px solid transparent;
}

.stats-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stats-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #545454;
    font-size: 15px;
    font-weight: 500;
}

.stats-card-header i {
    margin-right: 10px;
    font-size: 16px;
}

.stats-card-value {
    font-size: 26px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.stats-card-footer {
    font-size: 13px;
    color: #757575;
}

/* Cores específicas para cada tipo de card */
.card-analise {
    border-left-color: #2196F3;
    border-bottom-color: #2196F3;
    border-right-color: #2196F3;
    border-top-color: #2196F3;
}

.card-analise .stats-card-header i {
    color: #2196F3;
}

.card-aprovado {
    border-left-color: #4CAF50;
    border-bottom-color: #4CAF50;
    border-right-color: #4CAF50;
    border-top-color: #4CAF50;
}

.card-aprovado .stats-card-header i {
    color: #4CAF50;
}

.card-recusado {
    border-left-color: #F44336;
    border-bottom-color: #F44336;
    border-right-color: #F44336;
    border-top-color: #F44336;
}

.card-recusado .stats-card-header i {
    color: #F44336;
}

.card-cancelado {
    border-left-color: #FF5722;
    border-bottom-color: #FF5722;
    border-right-color: #FF5722;
    border-top-color: #FF5722;
}

.card-cancelado .stats-card-header i {
    color: #FF5722;
}

.card-formalizacao {
    border-left-color: #9C27B0;
    border-bottom-color: #9C27B0;
    border-right-color: #9C27B0;
    border-top-color: #9C27B0;
}

.card-formalizacao .stats-card-header i {
    color: #9C27B0;
}

.card-assinado {
    border-left-color: #607D8B;
    border-bottom-color: #607D8B;
    border-right-color: #607D8B;
    border-top-color: #607D8B;
}

.card-assinado .stats-card-header i {
    color: #607D8B;
}

.card-finalizado {
    border-left-color: #673AB7;
    border-bottom-color: #673AB7;
    border-right-color: #673AB7;
    border-top-color: #673AB7;
}

.card-finalizado .stats-card-header i {
    color: #673AB7;
}

.card-dinheiro {
    border-left-color: #00BCD4;
    border-bottom-color: #00BCD4;
    border-right-color: #00BCD4;
    border-top-color: #00BCD4;
}

.card-dinheiro .stats-card-header i {
    color: #00BCD4;
}

.card-valor {
    border-left-color: #FF9800;
    border-bottom-color: #FF9800;
    border-right-color: #FF9800;
    border-top-color: #FF9800;
}

.card-valor .stats-card-header i {
    color: #FF9800;
}

/* Animação para destacar quando valores mudarem */
@keyframes highlight {
    0% {
        background-color: rgba(255, 248, 225, 0.5);
    }

    100% {
        background-color: transparent;
    }
}

.highlight-change {
    animation: highlight 1.5s ease-out;
}

/* Estilos para a paginação */
.emp-pagination {
    display: flex;
    justify-content: flex-start;
    /* Alinha o conteúdo à esquerda */
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    position: relative;
    /* Permite centralizar os botões */
}

.emp-pagination-info {
    text-align: left;
    /* Alinha o texto à esquerda */
    font-size: 14px;
    color: #666;
    flex: 1;
    /* Ocupa o espaço disponível à esquerda */
}

.emp-pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    /* Centraliza os botões */
    left: 50%;
    /* Move os botões para o centro */
    transform: translateX(-50%);
    /* Ajusta o posicionamento */
}

.emp-pagination-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s ease;
    color: #451246;
    /* Cor do texto dos botões */
    text-decoration: none;
    /* Remove sublinhado dos links */
}

.emp-pagination-btn:hover:not(:disabled) {
    background-color: #ffc94e !important;
    /* Cor de fundo ao passar o mouse */
    color: #451246 !important;
    /* Cor do texto ao passar o mouse */
}

.emp-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#current-page {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .emp-container {
        padding-top: 150px;
        padding-bottom: 80px;
    }

    .emp-progress-indicator {
        width: 60px;
        height: 60px;
        font-size: 7px;
    }

    .emp-card {
        width: 120px;
        font-size: 10px;
    }

    .emp-card-number {
        font-size: 16px;
    }

    .emp-card-content i {
        font-size: 20px;
    }

    .emp-filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .emp-filter-container input[type="date"] {
        width: 100%;
    }

    .emp-filter-btn,
    .emp-clear-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .emp-container {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .emp-progress-indicator {
        width: 50px;
        height: 50px;
        font-size: 6px;
    }

    .emp-card {
        width: 100px;
        font-size: 8px;
    }

    .emp-card-number {
        font-size: 14px;
    }

    .emp-card-content i {
        font-size: 16px;
    }

    .emp-progress-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .emp-progress-step {
        flex: 1 1 45%;
        margin-bottom: 20px;
    }

    .emp-highlight-card {
        top: -120px;
    }

    .emp-card:not(.emp-highlight-card) {
        top: 80px;
    }
}

@media (max-width: 790px) {

    /* Oculta a barra de progresso, as linhas de conexão e os círculos (indicadores) */
    .emp-progress-bg,
    .emp-progress-fill,
    .emp-progress-step .emp-highlight-card::before,
    .emp-progress-step .emp-card:not(.emp-highlight-card)::before,
    .emp-progress-indicator {
        display: none;
    }

    /* Ajusta o layout dos cards */
    .emp-progress-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 0;
    }

    .emp-progress-step {
        flex: 1 1 auto;
        margin-bottom: 0;
    }

    .emp-card {
        position: static;
        transform: none;
        width: 100%;
        max-width: 200px;
        margin-bottom: 20px;
    }

    .emp-highlight-card,
    .emp-card:not(.emp-highlight-card) {
        top: auto;
    }

    /* Ajusta o tamanho dos ícones e textos */
    .emp-card-content i {
        font-size: 24px;
    }

    .emp-card-number {
        font-size: 18px;
    }
}

/*==============================================
 MODAL STYLES 
=============================================*/
.modal {
    --modal-radius: 12px;
    --modal-padding: 2rem;
    --modal-header-height: 40px;
    --modal-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --modal-transition: all 0.3s ease;
    --color-margin-width: 12px;
    --header-bottom-border: 1px solid rgba(106, 44, 108, 0.15);
    /* New border variable */
}

/* Container principal */
.modal-dialog {
    max-width: 98vw;
    width: 98%;
    margin: 1rem auto;
    min-height: 90vh;
}

/* Conteúdo do modal */
.modal-content {
    border: none;
    border-radius: var(--modal-radius);
    box-shadow: var(--modal-shadow);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* Cabeçalho com bordas superior e inferior */
.modal-header {
    background-color: white;
    padding: 0 var(--modal-padding);
    height: var(--modal-header-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    border-bottom: 3px solid var(--accent);
    /* Updated border */

    /* Margens coloridas */
    box-shadow:
        inset var(--color-margin-width) 0 0 var(--primary);


    /* Nova borda inferior */
    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: var(--color-margin-width);
        right: var(--color-margin-width);
        height: 1px;
        background-color: rgba(106, 44, 108, 0.1);
    }
}

/* Linha decorativa no topo */
.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--color-margin-width);
    right: var(--color-margin-width);
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* Botão de fechar estilizado */
.modal-header .close {
    color: #888;
    opacity: 1;
    font-size: 1.8rem;
    font-weight: 300;
    transition: var(--modal-transition);
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.modal-header .close:hover {
    color: var(--primary);
    background-color: rgba(106, 44, 108, 0.05);
    transform: rotate(90deg);
}

/* Corpo do modal */
.modal-body {
    padding: var(--modal-padding);
    background-color: white;
    flex-grow: 1;
    overflow-y: auto;
}

/* Rodapé minimalista */
.modal-footer {
    padding: 1rem var(--modal-padding);
    background-color: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .modal-dialog {
        width: 100%;
        max-width: 100vw;
        margin: 0;
        min-height: 100vh;
    }

    .modal-content {
        min-height: 100vh;
        border-radius: 0;
        border: none;
    }

    .modal-header {
        padding: 0 1.5rem;
        box-shadow:
            inset 8px 0 0 var(--primary),
            inset -8px 0 0 var(--accent);

        &::before,
        &::after {
            left: 8px;
            right: 8px;
        }
    }
}

/*==============================================
    MENU- STYLES WITH COLORED MARGINS
=============================================*/
/* Estilo para melhorar o alinhamento dos checkboxes com o texto */
.form-group {
    margin-bottom: 10px;
    font-size: 12px;
}

/* Ajuste específico para os inputs do tipo radio */
input[type="radio"] {
    margin: 0;
    margin-right: 5px;
    vertical-align: middle;
}

/* Estilo para o texto que acompanha o checkbox */
.form-group label {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    line-height: 1;
}

/* Criar contêiner para cada opção de rádio para melhor alinhamento */
.radio-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

/* Ajuste geral para manter consistência */
input[type="radio"]+label {
    margin-left: 3px;
}

/* Centralização da logo na sidebar */
.sidebar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

.sidebar-header b {
    font-size: 22px;
    color: var(--accent);
}

.sidebar-header a {
    display: inline-block;
    text-align: center;
}

.sidebar-logo {
    max-width: 100%;
    height: auto;
    /* Você pode ajustar o tamanho máximo da imagem conforme necessário */
    /* max-height: 50px; */
}

.input-height-38 {
    height: 38px !important;
}

.reset {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

.responsive-table {
    width: 100%;
    margin-bottom: 1.5em;
    border-spacing: 0;
    position: relative;
}

@media (min-width: 48em) {
    .responsive-table {
        font-size: 0.9em;
    }
}

@media (min-width: 62em) {
    .responsive-table {
        font-size: 1em;
    }
}

.responsive-table thead {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

@media (min-width: 48em) {
    .responsive-table thead {
        position: relative;
        clip: auto;
        height: auto;
        width: auto;
        overflow: auto;
    }
}

.responsive-table thead th {
    background-color: rgb(0, 0, 0);
    font-weight: normal;
    text-align: center;
    color: white;
}

.responsive-table thead th:first-of-type {
    text-align: left;
    border-top-left-radius: 10px;
}

.responsive-table thead th:last-of-type {
    border-top-right-radius: 10px;
}

.responsive-table tbody,
.responsive-table tr,
.responsive-table th,
.responsive-table td {
    display: block;
    padding: 0;
    text-align: left;
    white-space: normal;
}

@media (min-width: 48em) {
    .responsive-table tr {
        display: table-row;
    }
}

.responsive-table th,
.responsive-table td {
    padding: 0.5em;
    vertical-align: middle;
}

@media (min-width: 30em) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.75em 0.5em;
    }
}

@media (min-width: 48em) {

    .responsive-table th,
    .responsive-table td {
        display: table-cell;
        padding: 0.5em;
    }
}

@media (min-width: 62em) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.75em 0.5em;
    }
}

@media (min-width: 75em) {

    .responsive-table th,
    .responsive-table td {
        padding: 0.75em;
    }
}

@media (min-width: 48em) {
    .responsive-table caption {
        font-size: 1.5em;
    }
}

.responsive-table tfoot {
    font-size: 0.8em;
    font-style: italic;
}

@media (min-width: 62em) {
    .responsive-table tfoot {
        font-size: 0.9em;
    }
}

@media (min-width: 48em) {
    .responsive-table tbody {
        display: table-row-group;
        position: relative;
    }
}

.responsive-table tbody tr {
    margin-bottom: 1em;
}

@media (min-width: 48em) {
    .responsive-table tbody tr {
        display: table-row;
        border-width: 1px;
    }
}

.responsive-table tbody tr:last-of-type {
    margin-bottom: 0;
}

@media (min-width: 48em) {
    .responsive-table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }
}

.responsive-table tbody th[scope=row] {
    background-color: #e1e1e1;
    color: white;
}

@media (min-width: 30em) {
    .responsive-table tbody th[scope=row] {
        border-bottom: 1px solid #e1e1e1;
    }
}

@media (min-width: 48em) {
    .responsive-table tbody th[scope=row] {
        background-color: transparent;
        color: #000001;
        text-align: left;
    }
}

.responsive-table tbody td {
    text-align: right;
}

@media (min-width: 48em) {
    .responsive-table tbody td {
        border-bottom: 1px solid #e1e1e1;
        text-align: center;
    }
}

.responsive-table tbody td[data-type=currency] {
    text-align: right;
}

.responsive-table tbody td[data-title]:before {
    content: attr(data-title);
    float: left;
    font-size: 0.8em;
    color: rgba(0, 0, 0, 0.54);
}

@media (min-width: 30em) {
    .responsive-table tbody td[data-title]:before {
        font-size: 0.9em;
    }
}

@media (min-width: 48em) {
    .responsive-table tbody td[data-title]:before {
        content: none;
    }
}

#conteudo-dinamico{
    background-color: #F5F7FA!important;
}