.loading-overlay {
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.9;
    z-index: 9999999999999999999;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a1b23;
    z-index: 10000;
}

.loader {
    position: absolute;
    width: 42px;
    height: 42px;
    -webkit-animation: preloader_6 5s infinite linear;
    animation: preloader_6 5s infinite linear;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
}

.loader span {
    width: 20px;
    height: 20px;
    position: absolute;
    background: yellow;
    display: block;
    -webkit-animation: preloader_6_span 1s infinite linear;
    animation: preloader_6_span 1s infinite linear;
}

.loader span:nth-child(1) {
    background: #2c2763;
}

.loader span:nth-child(2) {
    left: 22px;
    background: #df5820;
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.loader span:nth-child(3) {
    top: 22px;
    background: #df5820;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.loader span:nth-child(4) {
    top: 22px;
    left: 22px;
    background: #2c2763;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

@-webkit-keyframes preloader_6_span {

    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
}

@keyframes preloader_6_span {

    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }
}
/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #424949;
}

a,
a:hover,
a:focus {
    color: #999;
    transition: all 0.3s;
}

#sidebar a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:visited,
.btn-secondary:focus {
    /* background-color: #8064A2;
    border-color: #8064A2; */
    color: white;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #317cad;
    border-color: #317cad;
    color: white;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #52505a;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #696771;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #696771;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.05em;
    display: block;
}

#sidebar ul li a:hover {
    color: #fff;
    background: #aaa;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #808491;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 1em !important;
    padding-left: 20px !important;
    background: #656974;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}


/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}

#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 1070px) {
    #sidebar {
        margin-left: -250px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
    #msgMaxHome{
        display: none;
    }
}

/* Melhorias específicas para tablets */
@media (max-width: 768px) {
    #sidebar {
        min-width: 100vw;
        max-width: 100vw;
        z-index: 1050;
        position: fixed;
        height: 100vh;
        overflow-y: auto;
        margin-left: -100vw;
    }

    #sidebar.active {
        margin-left: 0;
        box-shadow: none;
    }

    #content {
        padding: 10px;
        margin-left: 0;
    }

    /* Overlay para fechar sidebar ao clicar fora */
    .wrapper::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .wrapper.sidebar-open::after {
        opacity: 1;
        visibility: visible;
    }
}

/* Melhorias específicas para smartphones */
@media (max-width: 480px) {
    #sidebar {
        min-width: 100vw;
        max-width: 100vw;
    }

    #sidebar .sidebar-header {
        padding: 15px;
        text-align: center;
    }

    #sidebar .sidebar-header img {
        max-width: 80%;
        height: auto;
    }

    #sidebar ul.components {
        padding: 15px 0;
    }

    #sidebar ul li a {
        padding: 12px 15px;
        font-size: 0.95em;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #sidebar ul li a i {
        margin-right: 8px;
        width: 18px;
        font-size: 0.9em;
    }

    /* Submenu items */
    ul ul a {
        font-size: 0.9em !important;
        padding-left: 35px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    ul ul a i {
        margin-right: 8px;
        width: 16px;
        font-size: 0.8em;
    }

    #content {
        padding: 5px;
    }
}

/* Melhorias para dispositivos muito pequenos */
@media (max-width: 360px) {
    #sidebar {
        min-width: 100vw;
        max-width: 100vw;
    }

    #sidebar ul li a {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    #sidebar ul li a i {
        margin-right: 6px;
        width: 16px;
        font-size: 0.85em;
    }

    ul ul a {
        font-size: 0.85em !important;
        padding-left: 30px !important;
    }

    ul ul a i {
        margin-right: 6px;
        width: 14px;
        font-size: 0.75em;
    }
}

@media (min-width: 1069px) {
    #msgMinHome{
        display: none;
    }
}


@media print {
    table,
    table tr td,
    table tr th {
      page-break-inside: avoid;
      font-size:1vw;
    }

    .btn {
        display: none;
    }

    .navbar {
        display: none;
    }
  }

/*
=== ÍCONES DO MENU LATERAL ===
Ícones Font Awesome utilizados:

🏠 fas fa-home - Home/Início
🏢 fas fa-building - IPTU (propriedades/imóveis)
🔍 fas fa-search - Consulta de Dívidas
📅 fas fa-calendar-alt - Parcelamentos (agendamento/prazo)
💰 fas fa-file-invoice - Dívida Administrativa (fatura/cobrança)
⚖️ fas fa-gavel - Dívida Ativa/Executada (judicial)
📄 fas fa-copy - Segunda Via (cópia de documentos)
📂 fas fa-folder-open - Taxa Abertura Processo (abertura de pasta/processo)
✅ fas fa-check-circle - Autenticidade de Certidão (verificação/validação)
📃 fas fa-file-alt - Certidão Negativa (documento alternativo)

Para adicionar novos ícones:
1. Escolha um ícone do Font Awesome (já carregado no projeto)
2. Adicione a classe "fas fa-[nome-do-icone]" dentro da tag <i>
3. Os estilos de espaçamento e cores são aplicados automaticamente
*/

/* Estilos para ícones do menu */
#sidebar ul li a i {
    margin-right: 5px;
    width: 20px;
    text-align: center;
    font-size: 1.0em;
    color: #bbb;
    display: inline-block;
}

#sidebar ul li a:hover i {
    color: #fff;
}

#sidebar ul li.active > a i,
a[aria-expanded="true"] i {
    color: #fff;
}

/* Estilos específicos para submenu */
ul ul a i {
    margin-right: 12px;
    width: 16px;
    font-size: 0.9em;
    display: inline-block;
}

/* Melhorias para dispositivos touch */
.touch-device #sidebar ul li a {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
}

.touch-device #sidebar ul li a.touch-active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Prevenção de scroll bounce em iOS */
body.sidebar-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Melhor responsividade para dropdown menu no sidebar */
@media (max-width: 768px) {
    #sidebar ul li a[data-toggle="collapse"] {
        position: relative;
        padding-right: 40px;
    }

    #sidebar .dropdown-toggle::after {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }
}

/* Smooth scrolling para sidebar em mobile */
@media (max-width: 768px) {
    #sidebar {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* Estados hover e focus melhorados para mobile */
@media (hover: none) and (pointer: coarse) {
    #sidebar ul li a:hover {
        background: #656974;
    }

    #sidebar ul li a:active {
        background: #808491;
        color: #fff;
    }

    ul ul a:hover {
        background: #5a6169 !important;
    }

    ul ul a:active {
        background: #6d7680 !important;
    }
}

/* Profile Dropdown Styles - Desktop melhorado com base no mobile */
#navbarDropdown {
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    color: #495057 !important;
    padding: 0.375rem 1.9rem 0.375rem 0.75rem !important;
    white-space: nowrap;
    min-width: 120px;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

#navbarDropdown:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #495057 !important;
    text-decoration: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

/* Cor suave quando dropdown está ativo/selecionado */
#navbarDropdown:focus,
#navbarDropdown:active,
#navbarDropdown.show {
    background-color: #f1f3f4 !important;
    color: #495057 !important;
    border-color: #ced4da;
    text-decoration: none;
    outline: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
}

#navbarDropdown i {
    color: #6c757d;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

#navbarDropdown:hover i {
    color: #495057;
}

#navbarDropdown span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dropdown menu padrão para desktop e mobile */
.dropdown-menu {
    border: 1px solid #e9ecef;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    border-radius: 0.375rem;
    min-width: 240px;
    background-color: #fff;
    padding: 0.25rem 0;
    margin-top: 0.25rem;
}

.dropdown-header {
    padding: 0.6rem 0.75rem;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef !important;
    color: #495057 !important;
    margin-bottom: 0.2rem;
}

.dropdown-header h6 {
    color: #495057 !important;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.dropdown-header .text-muted {
    color: #6c757d !important;
    font-size: 0.8rem;
}

/* Asteriscos vermelhos para campos obrigatórios */
label:contains('*') {
    color: inherit;
}

label::after {
    content: '';
}

.required-asterisk {
    color: #dc3545 !important;
    font-weight: bold;
}

/* Para labels que contêm asterisco no texto */
label {
    position: relative;
}

/* Estilos para seções do formulário */
.form-section {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0 0.375rem 0.375rem 0;
}

.form-section h5 {
    margin-bottom: 0;
    color: #495057;
    font-weight: 600;
}

.form-section hr {
    border-color: #6c757d;
    opacity: 0.4;
    margin-top: 0.75rem;
}

/* Card com shadow suave */
.card.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Dropdown items padrão para desktop e mobile */
.dropdown-item {
    background-color: #fff;
    color: #495057 !important;
    padding: 0.5rem 0.75rem;
    border: none;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    min-height: auto;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #495057 !important;
}

.dropdown-item i {
    color: #6c757d !important;
    width: 16px;
    font-size: 0.9rem;
}

.dropdown-divider {
    margin: 0.3rem 0;
    border-top: 1px solid #e9ecef;
}

#sidebar ul li a:hover {
    background-color: #7a787e;
    color: #ffffff;
    text-decoration: none;
}

/* Ajustar ícone do dropdown no mobile */
#navbarDropdownMobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    background-color: #f8f9fa;
    color: #495057;
    transition: background-color 0.2s ease, color 0.2s ease;
    gap: 0.5rem;
    border: 1px solid #dee2e6;
    font-size: 0.875rem;
    line-height: 1.4;
    min-width: 90px;
    text-decoration: none;
}

#navbarDropdownMobile:hover {
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

#navbarDropdownMobile i {
    color: #6c757d;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

#navbarDropdownMobile:hover i {
    color: #495057;
}

#navbarDropdownMobile span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#navbarDropdownMobile:focus,
#navbarDropdownMobile:active,
#navbarDropdownMobile.show {
    background-color: #f1f3f4 !important;
    color: #495057 !important;
    text-decoration: none;
    outline: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
}

/* Reduzir altura da navbar no desktop e mobile */
.navbar {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    min-height: auto !important;
}

.navbar .container-fluid {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Reduzir padding do botão do sidebar */
#sidebarCollapse {
    padding: 0.375rem 0.5rem !important;
    height: auto !important;
}

/* ======================== MEDIA QUERIES ======================== */

@media (max-width: 991.98px) {
    #navbarSupportedContent {
        background-color: #fff;
        border-radius: 0.375rem;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
        margin-top: 0.5rem;
        padding: 0.5rem;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 0.5rem 0.75rem;
        border-radius: 0.25rem;
        margin-bottom: 0.25rem;
        color: #495057 !important;
    }

    .navbar-nav .nav-item .nav-link:hover {
        background-color: #f8f9fa;
        color: #495057 !important;
    }

    /* Mobile dropdown button */
    #navbarDropdownMobile {
        border: 1px solid #dee2e6;
        background-color: #f8f9fa;
        color: #495057 !important;
        padding: 0.375rem 0.75rem !important;
        white-space: nowrap;
        min-width: 90px;
        border-radius: 0.375rem;
        font-size: 0.875rem;
        line-height: 1.4;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    #navbarDropdownMobile:hover {
        background-color: #e9ecef;
        border-color: #ced4da;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
    }

    #navbarDropdownMobile:focus,
    #navbarDropdownMobile:active,
    #navbarDropdownMobile.show {
        background-color: #f1f3f4 !important;
        color: #495057 !important;
        border-color: #ced4da;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
    }

    /* Dropdown menu mobile adjustments */
    .dropdown-menu {
        min-width: 200px;
        max-width: 280px;
        right: 0;
        left: auto;
    }
}

@media (max-width: 768px) {
    /* Overlay para fechar sidebar */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* Sidebar ocupando tela inteira */
    #sidebar {
        background: linear-gradient(135deg, #52505a 0%, #696771 100%);
        box-shadow: none;
        transition: all 0.4s ease-in-out;
    }

    #sidebar.active {
        box-shadow: none;
    }

    /* Header do sidebar com espaço para botão de fechar */
    #sidebar .sidebar-header {
        padding: 20px 70px 20px 20px;
        background: linear-gradient(135deg, #696771 0%, #52505a 100%);
        position: relative;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Botão de fechar sidebar */
    .btn-close-sidebar {
        position: absolute;
        top: 15px;
        right: 20px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 1.3rem;
        padding: 8px;
        cursor: pointer;
        z-index: 1051;
        border-radius: 0;
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .btn-close-sidebar:hover {
        background: transparent;
        color: rgba(255, 255, 255, 0.8);
        transform: scale(1.1);
    }

    .btn-close-sidebar:focus {
        outline: none;
        color: rgba(255, 255, 255, 0.9);
    }

    /* Melhor responsividade do header */
    .navbar .container-fluid {
        flex-wrap: nowrap;
        align-items: center;
    }

    /* Sidebar mais suave em mobile */
    #sidebar {
        box-shadow: none;
        transition: all 0.4s ease-in-out;
    }

    #sidebar.active {
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }

    /* Conteúdo principal com melhor espaçamento */
    #content {
        padding: 10px;
        transition: all 0.3s ease;
    }

    /* Melhor espaçamento para o título */
    .mx-4 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .navbar .container-fluid {
        padding: 0.25rem 0.5rem;
    }

    .mx-4 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        font-size: 0.875rem;
        flex: 1;
        text-align: center;
    }

    .dropdown-menu {
        min-width: 90vw;
        max-width: 95vw;
        right: 0;
        left: auto;
        transform: translateX(-10px);
    }

    /* Reduzir altura dos itens no mobile pequeno */
    .dropdown-header {
        padding: 0.375rem 0.5rem !important;
    }

    .dropdown-header h6 {
        font-size: 0.85rem !important;
        margin-bottom: 0.15rem !important;
    }

    .dropdown-header .text-muted {
        font-size: 0.75rem !important;
    }

    .dropdown-item {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }

    .dropdown-item i {
        width: 14px !important;
        font-size: 0.8rem !important;
    }

    .dropdown-divider {
        margin: 0.2rem 0 !important;
    }

    /* Melhor espaçamento no mobile */
    .navbar-nav .nav-item .nav-link {
        padding: 0.5rem !important;
        margin-bottom: 0.25rem !important;
    }

    /* Botão do sidebar mais responsivo */
    #sidebarCollapse {
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    /* Ajustar layout do header mobile */
    .navbar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Menu mobile mais compacto */
    #navbarDropdownMobile {
        padding: 0.15rem 0.4rem !important;
        font-size: 0.8rem;
        min-width: 60px;
    }

    #navbarDropdownMobile .fas {
        font-size: 0.8rem;
    }

    #navbarDropdownMobile span {
        font-size: 0.75rem;
    }

    /* Garantir que o dropdown não saia da tela */
    .nav-item.dropdown {
        position: relative;
    }

    .nav-item.dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
    }

    /* Botão dropdown ainda mais compacto em telas muito pequenas */
    #navbarDropdownMobile {
        padding: 0.1rem 0.3rem !important;
        font-size: 0.75rem !important;
        min-width: 50px !important;
        gap: 0.2rem !important;
    }

    #navbarDropdownMobile .fas {
        font-size: 0.7rem !important;
    }

    #navbarDropdownMobile span {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 480px) {
    /* Navbar ainda mais compacta */
    .navbar {
        padding-top: 0.15rem !important;
        padding-bottom: 0.15rem !important;
    }

    .navbar .container-fluid {
        padding: 0.15rem 0.25rem;
    }

    /* Botão do menu mais acessível */
    #sidebarCollapse {
        padding: 0.25rem 0.4rem !important;
        margin-right: 0.25rem;
    }

    /* Título mais compacto */
    .mx-4 {
        font-size: 0.75rem !important;
        margin-left: 0.25rem !important;
        margin-right: 0.25rem !important;
    }

    /* Menu dropdown ultra compacto */
    #navbarDropdownMobile {
        padding: 0.25rem 0.5rem !important;
        font-size: 0.8rem;
        min-width: 70px;
        gap: 0.25rem;
    }

    #navbarDropdownMobile .fas {
        font-size: 0.75rem;
    }

    #navbarDropdownMobile span {
        font-size: 0.75rem;
    }

    /* Dropdown menu otimizado para telas pequenas */
    .dropdown-menu {
        min-width: 85vw !important;
        max-width: 90vw !important;
        right: 5px !important;
        left: auto !important;
        transform: none !important;
        font-size: 0.8rem;
    }

    .dropdown-header h6 {
        font-size: 0.8rem !important;
    }

    .dropdown-header .text-muted {
        font-size: 0.7rem !important;
    }

    .dropdown-item {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.8rem !important;
    }

    /* Botão de fechar mais acessível em telas pequenas */
    .btn-close-sidebar {
        top: 12px;
        right: 15px;
        font-size: 1.2rem;
        padding: 6px;
    }

    /* Ajustar header do sidebar para dar espaço ao botão */
    #sidebar .sidebar-header {
        padding: 15px 45px 15px 15px;
        position: relative;
    }
}

/* Touch improvements para todos os dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
    /* Melhor área de toque para botões */
    #sidebarCollapse {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    #navbarDropdownMobile {
        min-height: 44px;
        touch-action: manipulation;
    }

    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    /* Sidebar items com melhor área de toque */
    #sidebar ul li a {
        min-height: 48px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    /* Botão de fechar com área de toque adequada */
    .btn-close-sidebar {
        min-height: 36px;
        min-width: 36px;
        touch-action: manipulation;
    }
}

/* ===== TEMPLATE BASE PADRÃO PARA TODAS AS PÁGINAS ===== */

/* Cards principais - Base Global Unificada */
.card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ícones dos cards - Base Global Unificada */
.card-info i,
.card-endereco i,
.card-body i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

/* Botões - Base Global Unificada */
.btn {
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn i {
    margin-right: 0.5rem;
}

/* Botões Success - Base Global */
.btn-success:hover {
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Cards de informações e endereço - Desktop */
@media (min-width: 768px) {
    .card-endereco,
    .card-info {
        min-height: 90px;
        max-height: 90px;
    }

    .card-endereco .card-body,
    .card-info .card-body {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .endereco-text {
        line-height: 1.3;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* Responsividade Mobile - Base Global (768px) */
@media (max-width: 768px) {
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .card-body {
        padding: 0.75rem !important;
    }

    .col-md-6 {
        margin-bottom: 0.3rem;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .col-md-4 {
        margin-bottom: 0.3rem;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .table th,
    .table td {
        padding: 0.6rem 0.7rem !important;
        font-size: 0.9rem !important;
    }

    .table-responsive {
        overflow-x: auto !important;
    }

    /* Botões padrão mobile */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
        border-radius: 6px !important;
        min-height: 38px !important;
        white-space: nowrap !important;
    }

    .btn.w-100 {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.8rem !important;
        border-radius: 4px !important;
        line-height: 1.2 !important;
    }

    /* Botões grandes móveis */
    .btn-mobile-large {
        font-size: 1.1rem !important;
        padding: 0.75rem 1.5rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        width: 100% !important;
    }

    .btn i {
        margin-right: 0.5rem !important;
    }

    .row .col-6 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* Containers de botões */
    .justify-content-between .col-lg-2,
    .justify-content-between .col-md-1,
    .justify-content-between .col-sm-3,
    .justify-content-between .col-3 {
        margin-bottom: 0.5rem !important;
    }

    .justify-content-between .col-6 {
        margin-bottom: 0.75rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Responsividade Mobile Pequeno - Base Global (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0.25rem !important;
    }

    .card-body {
        padding: 0.5rem !important;
    }

    .table th,
    .table td {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.8rem !important;
    }

    /* Botões mobile pequeno */
    .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        min-height: 36px !important;
        border-radius: 5px !important;
    }

    .btn.w-100 {
        padding: 0.2rem 0.3rem !important;
        font-size: 0.75rem !important;
        min-height: 32px !important;
        line-height: 1.2 !important;
    }

    .btn i {
        margin-right: 0.4rem !important;
        font-size: 0.85rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }
}/* ===== ESTILOS ESPECIALIZADOS POR PÁGINA ===== */

/* ===== PÁGINA DE PERFIL (PROFILE) ===== */

/* Classes utilitárias */
.profile-page .min-width-0 {
    min-width: 0;
}

/* Animação para o spinner */
.profile-page .fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Profile card body padrão para desktop */
.profile-page .card-body {
    padding: 1.5rem;
}

/* Profile header */
.profile-page .profile-header {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.25rem;
    color: #495057;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Avatar de perfil */
.profile-page .profile-avatar {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0;
    color: #6c757d;
    flex-shrink: 0;
}

/* Cards com altura igual */
.profile-page .row > [class*="col-"] > .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-page .card-body {
    flex-grow: 1;
}

/* Campos obrigatórios */
.profile-page .form-label .required {
    color: #dc3545;
    font-weight: bold;
}

/* Ícones das abas */
.profile-page .tab-icon-primary {
    color: #0d6efd !important;
}

.profile-page .tab-icon-success {
    color: #198754 !important;
}

.profile-page .tab-icon-warning {
    color: #ffc107 !important;
}

/* Ícones dos campos */
.profile-page .field-icon {
    color: #6c757d !important;
}

/* Campos desabilitados */
.profile-page .form-control:disabled,
.profile-page select.form-control:disabled {
    background-color: #f8f9fa;
    opacity: 0.65;
    cursor: not-allowed;
    color: #6c757d;
}

/* Campos readonly */
.profile-page .form-control:read-only,
.profile-page .form-control.readonly-field {
    background-color: #f8f9fa !important;
    cursor: not-allowed !important;
    color: #6c757d !important;
}

.profile-page .disabled-field-info {
    font-size: 0.875rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Feedback do CEP */
.profile-page #cep-feedback {
    transition: opacity 0.3s ease-in-out;
}

.profile-page .border-info {
    border-color: #0dcaf0 !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 202, 240, 0.25) !important;
}

/* Separadores mobile */
.profile-page .mobile-sections {
    display: none;
}

.profile-page .mobile-section-separator {
    border-bottom: 2px solid #dee2e6;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.profile-page .mobile-section-separator i {
    margin-right: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.profile-page .mobile-section-separator:first-child {
    margin-top: 0;
}

.profile-page .mobile-section-content {
    margin-bottom: 1.5rem;
}

.profile-page .mobile-section-content:last-child {
    margin-bottom: 0;
}

/* Ícones dos divisores mobile com cores específicas */
.profile-page .mobile-section-separator .separator-icon-primary {
    color: #0d6efd !important;
}

.profile-page .mobile-section-separator .separator-icon-success {
    color: #198754 !important;
}

.profile-page .mobile-section-separator .separator-icon-warning {
    color: #ffc107 !important;
}

/* Responsividade para profile page */
@media (max-width: 768px) {
    /* Forçar reset total do sistema de grid Bootstrap dentro da página de perfil */
    .profile-page * {
        box-sizing: border-box !important;
    }

    .profile-page .container,
    .profile-page .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .profile-page .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    /* Força TODAS as colunas Bootstrap a ocuparem 100% da largura */
    .profile-page [class*="col-"],
    .profile-page .col,
    .profile-page .col-1, .profile-page .col-2, .profile-page .col-3, .profile-page .col-4,
    .profile-page .col-5, .profile-page .col-6, .profile-page .col-7, .profile-page .col-8,
    .profile-page .col-9, .profile-page .col-10, .profile-page .col-11, .profile-page .col-12,
    .profile-page .col-sm, .profile-page .col-sm-1, .profile-page .col-sm-2, .profile-page .col-sm-3,
    .profile-page .col-sm-4, .profile-page .col-sm-5, .profile-page .col-sm-6, .profile-page .col-sm-7,
    .profile-page .col-sm-8, .profile-page .col-sm-9, .profile-page .col-sm-10, .profile-page .col-sm-11,
    .profile-page .col-sm-12, .profile-page .col-md, .profile-page .col-md-1, .profile-page .col-md-2,
    .profile-page .col-md-3, .profile-page .col-md-4, .profile-page .col-md-5, .profile-page .col-md-6,
    .profile-page .col-md-7, .profile-page .col-md-8, .profile-page .col-md-9, .profile-page .col-md-10,
    .profile-page .col-md-11, .profile-page .col-md-12, .profile-page .col-lg, .profile-page .col-lg-1,
    .profile-page .col-lg-2, .profile-page .col-lg-3, .profile-page .col-lg-4, .profile-page .col-lg-5,
    .profile-page .col-lg-6, .profile-page .col-lg-7, .profile-page .col-lg-8, .profile-page .col-lg-9,
    .profile-page .col-lg-10, .profile-page .col-lg-11, .profile-page .col-lg-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        float: none !important;
        position: relative !important;
    }

    /* Ocultar abas no mobile */
    .profile-page .nav-tabs {
        display: none !important;
    }

    /* Mostrar separadores no mobile */
    .profile-page .mobile-sections {
        display: block;
    }

    /* Ocultar conteúdo das abas no mobile */
    .profile-page .tab-content {
        display: none;
    }

    /* Ajustar profile header */
    .profile-page .profile-header {
        padding: 1rem;
    }

    .profile-page .profile-header .d-flex {
        flex-direction: row;
        align-items: center;
    }

    .profile-page .profile-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .profile-page .profile-header .text-muted {
        font-size: 0.8rem;
    }

    .profile-page .profile-header .text-muted .ms-3 {
        margin-left: 0 !important;
        display: block;
        margin-top: 0.25rem;
    }

    /* Cards em mobile */
    .profile-page .card {
        margin-bottom: 1rem;
        height: auto !important;
    }

    /* Card body com padding otimizado para mobile */
    .profile-page .card-body {
        padding: 1rem !important;
    }

    /* Otimizar padding específico para formulários */
    .profile-page .card-body.p-4 {
        padding: 1rem !important;
    }

    /* Headers de seção mais compactos */
    .profile-page .mb-4 .d-flex.align-items-center {
        margin-bottom: 1rem !important;
    }

    .profile-page .mt-5 {
        margin-top: 2rem !important;
    }

    /* Garantir que os form-control dentro das colunas ocupem 100% */
    .profile-page .row [class*="col-"] .form-control,
    .profile-page .row [class*="col-"] .form-select {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Form controls mais compactos */
    .profile-page .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .profile-page .form-label {
        margin-bottom: 0.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Profile header pequeno */
    .profile-page .profile-header {
        padding: 0.75rem;
    }

    .profile-page .profile-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .profile-page .profile-header h4 {
        font-size: 1rem;
    }

    .profile-page .profile-header .text-muted {
        font-size: 0.75rem;
    }

    /* Container com padding adequado para telas pequenas */
    .profile-page .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Card body ainda mais compacto em telas pequenas */
    .profile-page .card-body,
    .profile-page .card-body.p-4 {
        padding: 0.75rem !important;
    }

    /* Margens mais compactas para mobile pequeno - todas as variações */
    .profile-page .row.mb-4 {
        margin-bottom: 1rem !important;
    }

    .profile-page .col-md-3.mb-3,
    .profile-page .col-md-4.mb-3,
    .profile-page .col-md-6.mb-3,
    .profile-page .col-md-12.mb-3 {
        margin-bottom: 0.75rem !important;
    }

    /* Garantir alinhamento completo para mobile pequeno */
    .profile-page .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.75rem !important;
        width: 100% !important;
    }

    /* Headers ainda mais compactos */
    .profile-page .mb-4 .d-flex.align-items-center {
        margin-bottom: 0.75rem !important;
    }

    .profile-page .mt-5 {
        margin-top: 1.5rem !important;
    }

    /* Círculos dos headers menores */
    .profile-page .bg-primary.rounded-circle,
    .profile-page .bg-success.rounded-circle {
        width: 28px !important;
        height: 28px !important;
    }

    .profile-page .bg-primary.rounded-circle i,
    .profile-page .bg-success.rounded-circle i {
        font-size: 0.7rem !important;
    }

    /* Form controls ainda mais compactos */
    .profile-page .form-control {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .profile-page .form-label {
        margin-bottom: 0.2rem;
        font-size: 0.75rem;
    }

    /* Títulos das seções menores */
    .profile-page h5 {
        font-size: 1rem !important;
    }
}

/* Apenas customizações específicas se necessário para debitos-page */

/* ===== ESTILOS ESPECÍFICOS PARA ACCORDION E COMPONENTES ESPECIAIS ===== */

/* Cards de inscrição para razão débito */
.inicio2-page .inscricao-card {
    background: linear-gradient(145deg, #f8f9fa 0%, #f1f3f4 100%);
    border: 1px solid #e9ecef;
}

.inicio2-page .inscricao-card:hover {
    border-color: #17a2b8;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.1);
}

/* Botões de accordion */
.inicio2-page .accordion-button-custom,
.inicio2-page .accordion-button-secondary {
    background-color: transparent;
    border: none;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.inicio2-page .accordion-button-custom {
    padding: 0.5rem 1rem !important;
    min-height: 50px !important;
    width: 100% !important;
}

.inicio2-page .accordion-button-secondary {
    padding: 0.4rem 1rem !important;
    min-height: 40px !important;
    width: 100% !important;
}

.inicio2-page .accordion-button-custom:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inicio2-page .accordion-button-secondary:hover {
    background-color: rgba(23, 162, 184, 0.1);
    text-decoration: none;
}

/* Estilos para informações móveis */
.inicio2-page .mobile-info-section {
    min-width: 0 !important;
}

.inicio2-page .mobile-icon {
    font-size: 1.2rem !important;
    margin-right: 0.8rem !important;
}

.inicio2-page .accordion-button-secondary .mobile-icon {
    font-size: 1rem !important;
    margin-right: 0.8rem !important;
}

.inicio2-page .mobile-title {
    font-size: 1rem !important;
}

.inicio2-page .mobile-subtitle {
    font-size: 0.85rem !important;
}

.inicio2-page .accordion-button-secondary .subtitle-small {
    font-size: 0.7rem !important;
}

.inicio2-page .accordion-button-secondary .subtitle-medium {
    font-size: 0.75rem !important;
}

/* Valores específicos */
.inicio2-page .valor-total,
.inicio2-page .valor-inscricao {
    text-align: right;
    min-width: 120px;
    font-size: 1.1rem !important;
    line-height: 1.3;
    font-weight: bold !important;
}

.inicio2-page .accordion-button-secondary .valor-inscricao {
    font-size: 0.95rem !important;
    min-width: 120px !important;
    text-align: right !important;
    font-weight: bold !important;
}

/* Ícones do chevron */
.inicio2-page .accordion-icon {
    font-size: 0.9rem !important;
    margin-left: 0.5rem !important;
    transition: transform 0.3s ease;
}

.inicio2-page .accordion-button-secondary .accordion-icon {
    font-size: 0.8rem !important;
    margin-left: 0.5rem !important;
}

/* Animações para chevrons */
.inicio2-page .accordion-icon {
    transition: transform 0.15s ease-out !important;
}

.inicio2-page .accordion-icon.chevron-down {
    transform: rotate(0deg) !important;
}

.inicio2-page .accordion-icon.chevron-up {
    transform: rotate(180deg) !important;
}

.inicio2-page .accordion-icon.chevron-right {
    transform: rotate(0deg) !important;
}

.inicio2-page .accordion-icon.chevron-left {
    transform: rotate(-90deg) !important;
}

/* Badges */
.inicio2-page .badge {
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Tabelas específicas para accordion */
.inicio2-page .table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.inicio2-page .divida-row {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e9ecef;
}

.inicio2-page .divida-row:hover {
    background-color: #f1f3f4 !important;
}

.inicio2-page .divida-row:last-child {
    border-bottom: none;
}

.inicio2-page .table {
    table-layout: fixed;
    width: 100%;
}

/* Animações */
.inicio2-page .collapse {
    transition: height 0.35s ease;
}

/* ===== AJUSTES MOBILE ESPECÍFICOS PARA ACCORDION ===== */

/* Responsividade específica para componentes accordion */
@media (max-width: 768px) {
    .inicio2-page .card-header {
        padding: 0.5rem 0.75rem !important;
    }

    .inicio2-page .inscricao-card {
        margin-bottom: 0.5rem !important;
    }

    .inicio2-page .inscricao-card .card-header {
        padding: 0.4rem 0.6rem !important;
    }

    .inicio2-page .accordion-button-custom {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0.75rem 0.5rem !important;
        gap: 0.5rem !important;
    }

    .inicio2-page .accordion-button-secondary {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0.5rem 0.4rem !important;
        gap: 0.5rem !important;
    }

    .inicio2-page .mobile-flex-column {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }

    .inicio2-page .mobile-info-section {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .inicio2-page .mobile-text-container {
        flex: 1 !important;
        margin-left: 0.5rem !important;
        min-width: 0 !important;
    }

    .inicio2-page .mobile-value-section {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 100% !important;
        padding: 0.4rem 0 !important;
    }

    .inicio2-page .mobile-value {
        font-size: 0.9rem !important;
        color: #495057 !important;
        font-weight: 600 !important;
        text-align: right !important;
        white-space: nowrap !important;
    }

    .inicio2-page .mobile-chevron {
        color: #6c757d !important;
        font-size: 0.8rem !important;
        margin-left: 0.3rem !important;
    }

    .inicio2-page .mobile-title {
        font-size: 0.9rem !important;
        display: block !important;
        line-height: 1.3 !important;
        margin-bottom: 0.1rem !important;
        font-weight: bold !important;
        color: #495057 !important;
    }

    .inicio2-page .accordion-button-secondary .mobile-title {
        font-size: 0.85rem !important;
        font-weight: bold !important;
    }

    .inicio2-page .mobile-subtitle {
        font-size: 0.7rem !important;
        display: block !important;
        color: #6c757d !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }

    .inicio2-page .mobile-icon {
        font-size: 1rem !important;
        margin-right: 0.5rem !important;
        flex-shrink: 0 !important;
        width: 1.5rem !important;
        text-align: center !important;
    }

    .inicio2-page .accordion-icon {
        font-size: 0.8rem !important;
        margin-left: 0.3rem !important;
    }

    .inicio2-page .col-md-8.mx-auto {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .inicio2-page .card-header h4 {
        font-size: 0.95rem !important;
    }

    .inicio2-page .divida-row td:first-child {
        width: 45% !important;
        padding-right: 0.4rem !important;
    }

    .inicio2-page .divida-row td:nth-child(2) {
        width: 25% !important;
        padding: 0.6rem 0.3rem !important;
    }

    .inicio2-page .divida-row td:last-child {
        width: 30% !important;
        padding-left: 0.4rem !important;
    }

    .inicio2-page .badge {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.5rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    .inicio2-page .mobile-valor-divida {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: #495057 !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
}

/* Ajustes para telas muito pequenas - componentes accordion */
@media (max-width: 480px) {
    .inicio2-page .accordion-button-custom {
        padding: 0.4rem 0.3rem !important;
    }

    .inicio2-page .accordion-button-secondary {
        padding: 0.3rem 0.25rem !important;
    }

    .inicio2-page .mobile-value,
    .inicio2-page .valor-total,
    .inicio2-page .valor-inscricao {
        font-size: 0.85rem !important;
    }

    .inicio2-page .mobile-title {
        font-size: 0.8rem !important;
    }

    .inicio2-page .mobile-subtitle {
        font-size: 0.65rem !important;
    }

    .inicio2-page .mobile-icon {
        font-size: 0.9rem !important;
        width: 1.2rem !important;
    }

    .inicio2-page .badge {
        font-size: 0.5rem !important;
        padding: 0.15rem 0.2rem !important;
        line-height: 1.1 !important;
    }

    .inicio2-page .mobile-valor-divida {
        font-size: 0.7rem !important;
    }

    .inicio2-page .divida-row td:first-child {
        width: 42% !important;
    }

    .inicio2-page .divida-row td:nth-child(2) {
        width: 28% !important;
    }

    .inicio2-page .divida-row td:last-child {
        width: 30% !important;
    }
}

/* ===== CLASSES UTILITÁRIAS ESPECÍFICAS ===== */

/* Backgrounds específicos */
.inicio2-page .card-body-fcfcfc {
    background-color: #fcfcfc !important;
}

.inicio2-page .card-bg-f8f9fa {
    background-color: #f8f9fa !important;
}

.inicio2-page .card-header-f1f3f4 {
    background-color: #f1f3f4 !important;
    border-bottom: 1px solid #e9ecef !important;
}

/* Estilos para tabela específica */
.inicio2-page .table-bg-f8f9fa {
    background-color: #f8f9fa !important;
}

.inicio2-page .table-header-bg {
    background-color: #f1f3f4 !important;
}

.inicio2-page .table-header-text {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

/* Colunas específicas da tabela accordion */
.inicio2-page .col-descricao {
    vertical-align: middle !important;
    width: 45% !important;
}

.inicio2-page .col-valor {
    vertical-align: middle !important;
    width: 25% !important;
}

.inicio2-page .col-acao {
    vertical-align: middle !important;
    width: 30% !important;
}

/* Utilitários específicos */
.inicio2-page .form-inline-display {
    display: inline !important;
}

.inicio2-page .flex-grow {
    flex: 1 !important;
}

.inicio2-page .icon-calculator {
    font-size: 1.5rem !important;
    margin-right: 1.2rem !important;
}

.inicio2-page .icon-mobile-calculator {
    font-size: 1.2rem !important;
}

.inicio2-page .icon-check-large {
    font-size: 3rem !important;
}

.inicio2-page .total-value-text {
    font-weight: bold !important;
}

.inicio2-page .alert-custom-bg {
    background-color: #f8f9fa !important;
}
