@charset "UTF-8";

/* ==========================================================================
   SISTEMA DE OUVIDORIA E ZELADORIA DIGITAL - CSS PÚBLICO UNIFICADO
   ========================================================================== */

:root {
    /* Variáveis derivadas calculadas dinamicamente com base no PHP */
    --primary-light: color-mix(in srgb, var(--primary-color) 10%, white);
    --primary-hover: color-mix(in srgb, var(--primary-color) 85%, black);
    --primary-soft: color-mix(in srgb, var(--primary-color) 8%, white);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --security-bg: #0f172a;
}

/* ==========================================================================
   1. BASE E UTILITÁRIOS GERAIS
   ========================================================================== */
html, body {
    overflow-x: hidden;
    /* MATA O SCROLL HORIZONTAL DO AOS */
    width: 100%;
}

body {
    font-family: 'Nunito', 'Inter', sans-serif;
    background-color: #f8fafc;
    padding-top: 125px !important;
    transition: padding-top 0.4s ease;
}

body.scrolled {
    padding-top: 70px !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
    color: white;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   2. NAVBAR E BARRA DE ACESSIBILIDADE (LAYOUT)
   ========================================================================== */
.accessibility-bar {
    background: var(--primary-color) !important;
    height: 40px;
    color: #ffffff;
    z-index: 3000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accessibility-bar.scrolled {
    transform: translateY(-100%);
}

.accessibility-bar .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-acc {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-acc:hover {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.navbar-premium {
    height: 85px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 2999;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav-logo {
    max-height: 60px;
    transition: max-height 0.4s ease;
}

.navbar-premium.scrolled .nav-logo {
    max-height: 35px;
}

.navbar-premium.scrolled {
    top: 0 !important;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-link {
    font-weight: 600;
    color: #475569 !important;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    transform-origin: center;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover::before, .nav-link.active::before {
    transform: scaleX(1);
}

.btn-nova-topo {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 14px;
    font-weight: 700;
    padding: 10px 22px;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary-color), transparent 75%);
    border: none !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-nova-topo:hover {
    filter: brightness(0.85);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px color-mix(in srgb, var(--primary-color), transparent 65%);
}

/* ==========================================================================
   2.1. WIDGET DE ACESSIBILIDADE FLUTUANTE (Lado Esquerdo)
   ========================================================================== */
.accessibility-widget {
    position: fixed;
    top: 60%;
    /* Altura na tela */
    left: 0;
    transform: translateY(-50%);
    z-index: 3040;
    /* Mesma camada do Menu Lateral */
    display: flex;
    align-items: center;
}

/* O Painel que abre */
.acc-panel {
    width: 300px;
    background: #ffffff;
    border-radius: 0 20px 20px 0;
    border: 1px solid #e2e8f0;
    border-left: none;
    position: absolute;
    left: -320px;
    /* Escondido fora da tela */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
}

/* O Botão que fica à mostra */
.acc-toggle-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 55px;
    border-radius: 0 14px 14px 0;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.acc-toggle-btn:hover {
    width: 55px;
    background: var(--primary-hover);
}

/* Animação de Abertura */
.accessibility-widget.open .acc-panel {
    left: 0;
    opacity: 1;
}

.accessibility-widget.open .acc-toggle-btn {
    transform: translateX(300px);
    /* Empurra o botão pra frente */
    border-radius: 50%;
    /* Fica redondo ao abrir */
    width: 45px;
    height: 45px;
    margin-left: -22px;
}

/* Esconde no Mobile para não poluir a tela (já que o mobile tem o menu do topo) */
@media (max-width: 991.98px) {
    .accessibility-widget {
        display: none !important;
    }
}

/* ==========================================================================
   3. LANDING PAGE (HOME)
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0 150px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, .12), transparent 25%), linear-gradient(135deg, var(--primary-color) 0%, #0f172a 100%);
    color: #fff;
    margin-top: -85px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 35px 35px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero-title span {
    opacity: .7;
}

.hero-description {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .85);
    max-width: 700px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 35px;
}

.hero-btn {
    padding: 18px 30px;
    border-radius: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    transition: .3s ease;
}

.hero-btn-primary {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.hero-btn-primary:hover {
    transform: translateY(-4px);
    color: #0f172a;
}

.hero-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(14px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.quick-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 18px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    transition: .3s ease;
    backdrop-filter: blur(10px);
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

.floating-wrap {
    margin-top: -80px;
    position: relative;
    z-index: 5;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.info-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: .3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.06);
}

.info-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.status-box {
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
}

.status-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.status-label {
    margin-top: 10px;
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748b;
}

.carta-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 45px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.carta-banner::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary-color) 10%, transparent);
}

.carta-banner-icon {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

.carta-banner h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.carta-banner p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.7;
}

.carta-banner-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.carta-banner-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
}

.carta-banner-list li i {
    color: var(--primary-color);
}

.carta-dl {
    margin-left: auto;
    white-space: nowrap;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: .3s ease;
    position: relative;
    z-index: 2;
}

.carta-dl:hover {
    transform: translateY(-4px);
    color: #fff;
}

.section-wrap {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading-line {
    width: 80px;
    height: 5px;
    border-radius: 999px;
    background: var(--primary-color);
    margin: 0 auto 18px;
}

.section-heading h2 {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.esic-diff {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
}

.esic-col {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .05);
}

.esic-col h4 {
    font-size: 1.35rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.esic-col h4 i {
    color: var(--primary-color);
}

.esic-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.esic-col li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-weight: 500;
}

.esic-col li:last-child {
    border-bottom: none;
}

.esic-col li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.esic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: .5;
    letter-spacing: 2px;
}

/* ==========================================================================
   4. ESTATÍSTICAS E TRANSPARÊNCIA
   ========================================================================== */
.page-header-standard {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.breadcrumb-custom .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #cbd5e1;
    font-family: monospace;
    font-size: 1.2rem;
    line-height: 1;
    vertical-align: middle;
}

.card-report {
    border-radius: 15px;
    border: none;
    transition: transform 0.2s;
}

.card-report:hover {
    transform: translateY(-3px);
}

.progress-custom {
    height: 10px;
    border-radius: 5px;
    background-color: #eaecf4;
}

.icon-bg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    opacity: 0.08;
    color: #000;
}

.data-dict-term {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.data-dict-def {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

/* ==========================================================================
   5. CONSULTA E ACOMPANHAMENTO
   ========================================================================== */
.input-group-modern {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s;
    overflow: hidden;
}

.input-group-modern:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.input-group-modern input {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c3e50;
}

.input-group-modern .input-group-text {
    background: transparent;
    border: none;
    color: #95a5a6;
    padding-left: 20px;
    font-size: 1.2rem;
}

.ticket-card {
    background: var(--primary-color);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
}

.ticket-card::before, .ticket-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: #f4f6f9;
    border-radius: 50%;
    transform: translateY(-50%);
}

.ticket-card::before {
    left: -20px;
}

.ticket-card::after {
    right: -20px;
}

.ticket-divider {
    border-top: 2px dashed rgba(255, 255, 255, 0.4);
    margin: 30px 0;
}

.tracker-container {
    position: relative;
    padding-left: 30px;
    margin-top: 40px;
}

.tracker-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11px;
    width: 2px;
    background: #e2e8f0;
    border-right: 2px dashed #cbd5e1;
}

.tracker-item {
    position: relative;
    margin-bottom: 35px;
}

.tracker-icon {
    position: absolute;
    left: -39px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 4px solid #f4f6f9;
    z-index: 2;
}

.tracker-content {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.tracker-date {
    font-size: 0.8rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

/* ==========================================================================
   6. TRIAGEM E SEGURANÇA (LGPD)
   ========================================================================== */
.triagem-header {
    padding: 60px 0 40px 0;
    text-align: center;
}

.card-triagem {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-triagem:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.icon-triagem {
    width: 80px;
    height: 80px;
    background: color-mix(in srgb, var(--primary-color), transparent 90%);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    font-size: 2rem;
    margin: 0 auto 25px auto;
    transition: all 0.3s;
}

.card-triagem:hover .icon-triagem {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-triagem {
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
}

.btn-triagem-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-triagem-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
}

.btn-triagem-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-triagem-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-triagem-danger {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-triagem-danger:hover {
    background: #dc3545;
    color: white;
}

.security-header {
    background: var(--security-bg);
    padding: 100px 0 140px 0;
    margin-top: -85px;
    position: relative;
    overflow: hidden;
}

.security-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--primary-color) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.15;
}

.security-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
}

.security-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 40px;
    margin-top: -60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    background: color-mix(in srgb, var(--primary-color), transparent 90%);
    color: var(--primary-color);
    border: 1px solid color-mix(in srgb, var(--primary-color), transparent 80%);
}

.feature-item {
    padding: 30px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    height: 100%;
    transition: 0.3s;
}

.feature-item:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.law-badge {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

/* ==========================================================================
   7. FOOTER PÚBLICO E PESQUISA DE SATISFAÇÃO
   ========================================================================== */
.survey-section {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 70px 0;
    border-top: 1px solid #e2e8f0;
}

.footer-logo {
    max-height: 65px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
}

.survey-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.survey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
}

.rating-stars .cursor-pointer {
    cursor: pointer;
    transition: transform 0.2s;
}

.rating-stars .cursor-pointer:hover {
    transform: scale(1.2);
}

.rating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid transparent;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rate-1:hover, .rate-1.active {
    border-color: #ef4444;
    color: #ffffff;
    background: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.rate-2:hover, .rate-2.active {
    border-color: #f97316;
    color: #ffffff;
    background: #f97316;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.rate-3:hover, .rate-3.active {
    border-color: #eab308;
    color: #ffffff;
    background: #eab308;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

.rate-4:hover, .rate-4.active {
    border-color: #84cc16;
    color: #ffffff;
    background: #84cc16;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(132, 204, 22, 0.3);
}

.rate-5:hover, .rate-5.active {
    border-color: #22c55e;
    color: #ffffff;
    background: #22c55e;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.survey-textarea {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px;
    resize: none;
    transition: all 0.3s;
}

.survey-textarea:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
    outline: none;
}

.footer-public {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 80px 0 40px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-public .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-public a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-public a:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

.footer-public h6 {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    display: block;
    opacity: 0.9;
}

/* ==========================================================================
   8. MANIFESTAÇÃO SIGILOSA (FORMULÁRIO INSTITUCIONAL)
   ========================================================================== */
.anonima-wrap {
    background: #f4f6f9;
    min-height: 60vh;
}

.form-institucional {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e6ea;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.form-section {
    padding: 28px 36px;
    border-bottom: 1px solid #f0f2f5;
}

.form-section:last-child {
    border-bottom: none;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a6478;
    margin: 0;
}

.form-control-inst, .form-select-inst {
    border: 1px solid #dde1e9;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 0.93rem;
    color: #1e2535;
    background: #fafbfc;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-control-inst:focus, .form-select-inst:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 15%, transparent);
    background: #fff;
}

textarea.form-control-inst {
    resize: vertical;
    min-height: 130px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3b2;
    font-size: 0.85rem;
    pointer-events: none;
}

.input-with-icon .form-control-inst, .input-with-icon .form-select-inst {
    padding-left: 40px;
}

.field-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7a8399;
    margin-bottom: 7px;
    display: block;
}

.aviso-institucional {
    background: #fffbeb;
    border: 1px solid #f5d87a;
    border-left: 4px solid #f0a500;
    border-radius: 8px;
    padding: 16px 20px;
}

.aviso-institucional .aviso-titulo {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #92600a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aviso-institucional p {
    font-size: 0.87rem;
    color: #7a5210;
    margin: 0;
    line-height: 1.6;
}

.upload-area {
    border: 2px dashed #dde1e9;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 3%, white);
}

.upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-icon {
    font-size: 1.4rem;
    color: #b0b8c9;
    margin-bottom: 6px;
}

.upload-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #7a8399;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.upload-hint {
    font-size: 0.74rem;
    color: #aab0be;
    margin-top: 2px;
}

.check-institucional {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8f9fb;
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    padding: 14px 16px;
}

.check-institucional input[type="checkbox"] {
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.check-institucional label {
    font-size: 0.84rem;
    color: #5a6478;
    line-height: 1.55;
    cursor: pointer;
}

.btn-enviar-inst {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: #c0392b;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-enviar-inst:hover:not(:disabled) {
    background: #a93226;
    transform: translateY(-1px);
}

.btn-enviar-inst:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.progresso-wrap {
    background: #f0f2f5;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.progresso-fill {
    height: 100%;
    transition: width 0.15s ease;
}

.progresso-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.sidebar-seguranca {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-card-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9aa3b2;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
}

.garantia-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.garantia-item:last-child {
    margin-bottom: 0;
}

.garantia-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.garantia-icon.verde {
    background: #e8f7ef;
    color: #1a9e52;
}

.garantia-icon.azul {
    background: #e8f0fb;
    color: #2563eb;
}

.garantia-icon.roxo {
    background: #f0ecfb;
    color: #7c3aed;
}

.garantia-icon.cinza {
    background: #f0f2f5;
    color: #64748b;
}

.garantia-text strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2d3548;
    display: block;
    margin-bottom: 2px;
}

.garantia-text span {
    font-size: 0.77rem;
    color: #8a93a8;
    line-height: 1.4;
}

.lei-badge {
    display: inline-block;
    background: #f0f2f5;
    color: #5a6478;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

.ssl-bar {
    background: #1a2535;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.ssl-bar i {
    color: #34d399;
    font-size: 1rem;
}

.ssl-bar span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
}

.ssl-bar strong {
    display: block;
    font-size: 0.82rem;
    color: #fff;
}

/* ==========================================================================
   9. CORREÇÃO DE Z-INDEX DO MENU LATERAL (OFFCANVAS)
   ========================================================================== */
.offcanvas-backdrop {
    z-index: 3040 !important;
}

.offcanvas {
    z-index: 3050 !important;
}

/* ==========================================================================
   10. BOTÃO VOLTAR AO TOPO
   ========================================================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1020;
    text-decoration: none;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

/* ==========================================================================
   11. IMPRESSÃO (ESTATÍSTICAS)
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 1.5cm;
    }

    nav, footer, .no-print, .btn, .filter-section, .page-header-standard nav, .accessibility-bar, .mobile-nav-app {
        display: none !important;
    }

    body {
        background: white !important;
        -webkit-print-color-adjust: exact;
        padding-top: 0 !important;
    }

    .card {
        border: 1px solid #eee !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .timbre-oficial {
        display: block !important;
        border-bottom: 2px solid #333;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
    }
}

/* ==========================================================================
   12. RESPONSIVIDADE PARA TABLETS (Abaixo de 992px)
   ========================================================================== */
@media (max-width: 991.98px) {

    /* Libera espaço para o app-nav não cobrir o rodapé */
    body {
        padding-top: 110px !important;
        padding-bottom: 85px !important;
    }

    .navbar-premium {
        height: 70px;
    }

    .navbar-premium.scrolled {
        height: 60px;
    }

    /* Remove os links da navbar, mas MANTÉM explicitamente o botão Hambúrguer */
    .navbar-collapse {
        display: none !important;
    }

    .navbar-toggler {
        display: block !important;
    }

    /* A Barra Inferior Estilo App */
    .mobile-nav-app {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 75px;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        z-index: 2000;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-nav-item {
        text-decoration: none;
        color: #94a3b8;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.65rem;
        font-weight: 700;
        flex: 1;
        text-align: center;
        gap: 5px;
        cursor: pointer;
        transition: color 0.2s;
    }

    .mobile-nav-item:hover, .mobile-nav-item.active {
        color: var(--primary-color);
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
    }

    /* O Botão Central Flutuante */
    .mobile-nav-item.main-btn {
        background: var(--primary-color);
        color: #ffffff !important;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin-top: -35px;
        border: 5px solid #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 10px 20px color-mix(in srgb, var(--primary-color) 40%, transparent);
        transition: transform 0.2s;
    }

    .mobile-nav-item.main-btn:active {
        transform: scale(0.9);
    }

    .mobile-nav-item.main-btn i {
        color: #ffffff !important;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   13. RESPONSIVIDADE PARA SMARTPHONES (Abaixo de 768px)
   ========================================================================== */
@media (max-width: 768px) {

    .nav-logo {
        max-height: 50px;

    }

    /* Ajustes do Hero (Topo) */
    .hero-section {
        padding: 110px 15px 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }

    /* Grelha Perfeita para os Links Rápidos */
    .quick-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 25px;
    }

    .quick-link {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px 10px;
        font-size: 0.75rem;
    }

    /* Correção do Atropelamento (Painel de Vidro) */
    .floating-wrap {
        margin-top: -15px;
        padding: 0 10px;
        position: relative;
        z-index: 10;
    }

    .glass-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .info-card {
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 15px;
    }

    /* Caixas de Prazo Lado a Lado */
    .status-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 25px;
    }

    .status-box {
        padding: 15px;
        border-radius: 16px;
    }

    .status-number {
        font-size: 1.5rem;
    }

    .status-label {
        font-size: 0.65rem;
    }

    /* Restantes Ajustes de Espaçamento Mobile */
    .section-heading h2 {
        font-size: 1.8rem;
    }

    .carta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        margin-top: 30px;
        border-radius: 20px;
    }

    .carta-banner-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .carta-banner h3 {
        font-size: 1.3rem;
    }

    .carta-banner-list {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 20px 0;
    }

    .carta-dl {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        padding: 14px;
        font-size: 0.9rem;
    }

    .esic-diff {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .esic-divider {
        display: none;
    }

    .esic-col {
        padding: 20px;
        border-radius: 20px;
    }

    .esic-col h4 {
        font-size: 1.2rem;
    }

    .survey-card {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .rating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .btn-back-to-top {
        bottom: 95px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Tabelas Responsivas em formato de Card no Mobile */
    .card-table-wrapper {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .table-responsive {
        overflow-x: hidden !important;
        border: none !important;
        width: 100% !important;
    }

    .table-responsive table, .table-responsive table tbody {
        display: block;
        width: 100% !important;
    }

    .table-responsive table thead {
        display: none;
    }

    .table-responsive table tbody tr {
        display: block;
        background-color: #fff;
        border: 1px solid #e3e6f0;
        border-radius: 16px;
        margin-bottom: 1.2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .table-responsive table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid #f1f5f9;
        text-align: right;
        width: 100%;
        box-sizing: border-box;
    }

    .table-responsive table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0 !important;
    }

    .table-responsive table tbody td::before {
        content: attr(data-label);
        font-weight: 800;
        font-size: 0.7rem;
        text-transform: uppercase;
        color: #64748b;
        margin-right: 15px;
        text-align: left;
        flex-shrink: 0;
        max-width: 35%;
        letter-spacing: 0.5px;
    }

    .td-content {
        text-align: right;
        max-width: 65%;
        width: 100%;
        word-break: break-word;
    }

    .td-content .text-truncate {
        max-width: 100% !important;
        white-space: normal;
    }

    .td-content .d-flex {
        justify-content: flex-end !important;
    }
}

/* ==========================================================================
   14. AJUSTES FINOS PARA TELAS MUITO PEQUENAS (Smartphones pequenos)
   ========================================================================== */

/* Correção da Badge do Hero para não estourar a tela horizontalmente */
@media (max-width: 500px) {
    .hero-section .badge {
        white-space: normal !important;
        height: auto !important;
        line-height: 1.5 !important;
        padding: 8px 15px !important;
        display: inline-block !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Otimização Premium da Barra de Acessibilidade no Mobile */
@media (max-width: 768px) {

    /* Centraliza o bloco principal na tela */
    .accessibility-bar .container {
        justify-content: center !important;
    }

    /* Espalha os botões uniformemente no centro da tela */
    .accessibility-bar .gap-3 {
        width: 100% !important;
        justify-content: center !important;
        gap: 15px !important;
    }

    /* Esconde a palavra "FONTE:" */
    .accessibility-bar .text-white-50 {
        display: none !important;
    }

    /* Esconde o texto "ALTO CONTRASTE", deixando apenas o ícone perfeitamente alinhado */
    #toggle-contrast {
        font-size: 0 !important;
        padding: 4px 14px !important;
    }

    #toggle-contrast i {
        font-size: 1.1rem !important;
        margin: 0 !important;
    }

    /* Deixa os botões de fonte mais largos para facilitar o toque (Touch Friendly) */
    .btn-acc {
        padding: 5px 12px !important;
        font-size: 0.85rem !important;
    }
}


/* ==========================================================================
       15 ESTILOS EXCLUSIVOS DO DASHBOARD DO CIDADÃO
       ========================================================================== */
.dashboard-container {
    min-height: 70vh;
    padding-top: 1rem;
    padding-bottom: 3rem;
}

/* Card de Boas-Vindas Premium */
.welcome-card {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 40%),
        linear-gradient(135deg, var(--primary-color) 0%, #0f172a 100%);
    border-radius: 24px;
    padding: 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
}

.welcome-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 16px;
    text-align: center;
}

/* Cards de Atalhos */
.shortcut-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.shortcut-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.shortcut-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.shortcut-card:hover .shortcut-icon {
    transform: scale(1.1);
}

.icon-zel {
    background: #dcfce7;
    color: #16a34a;
}

.icon-prot {
    background: #dbeafe;
    color: #2563eb;
}

.icon-ouv {
    background: #ffedd5;
    color: #ea580c;
}

.shortcut-title {
    color: #1e293b;
    font-weight: 800;
    font-size: 1.05rem;
}

/* Tabs (Pills) Modernas */
.nav-pills-custom {
    background: #fff;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.nav-pills-custom .nav-item {
    margin: 0;
}

.nav-pills-custom .nav-link {
    border-radius: 12px;
    color: #64748b;
    font-weight: 700;
    padding: 10px 24px;
    transition: all 0.3s;
}

.nav-pills-custom .nav-link.active {
    background-color: var(--primary-color);
    color: #fff !important;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--primary-color) 40%, transparent);
}

/* Cards de Protocolo */
.request-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.request-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.border-PENDENTE {
    border-left-color: #f59e0b;
}

.border-EM_ANDAMENTO {
    border-left-color: #3b82f6;
}

.border-CONCLUIDO {
    border-left-color: #10b981;
}

.border-CANCELADO {
    border-left-color: #ef4444;
}

.badge-status {
    font-weight: 700;
    padding: 0.4em 0.8em;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-PENDENTE {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fcd34d;
}

.badge-EM_ANDAMENTO {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-CONCLUIDO {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #6ee7b7;
}

.badge-CANCELADO {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ESTILO DA TIMELINE NO MODAL */
.timeline {
    position: relative;
    padding-left: 35px;
    list-style: none;
    margin-top: 15px;
}

.timeline:before {
    content: '';
    background: #e3e6f0;
    display: inline-block;
    position: absolute;
    left: 15px;
    width: 2px;
    height: 100%;
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-badge {
    width: 24px;
    height: 24px;
    position: absolute;
    left: -29px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 10px;
    z-index: 2;
    border: 2px solid #fff;
}

.timeline-panel {
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    border-radius: 12px;
    padding: 12px 18px;
}

.timeline-title {
    font-weight: 800;
    font-size: 12px;
    margin-bottom: 4px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-body {
    font-size: 13px;
    color: #475569;
}

.timeline-footer {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 600;
}

/* ==========================================================================
   16. PÁGINA DE MEUS PROTOCOLOS (CIDADÃO)
   ========================================================================== */
.protocol-row-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid transparent;
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.protocol-row-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.type-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form-select-modern {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

.form-select-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.min-w-200 {
    min-width: 200px;
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid #f1f5f9;
    }

    .border-end-md {
        border-right: 1px solid #f1f5f9;
    }
}

@media (max-width: 767px) {
    .protocol-row-card {
        padding: 1rem;
    }

    .protocol-row-card:hover {
        transform: translateY(-4px);
    }

    .status-badge-wrap {
        width: 100%;
        margin-top: 5px;
    }
}