/* Variáveis */
:root {
    --primary-color: #28a745;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --text-color: #212529;
    --light-gray: #f8f9fa;
}

/* Reset e estilos base */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header e Navegação */
.top-bar {
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.top-bar .date-info {
    color: var(--secondary-color);
}

.top-bar .social-links a {
    color: var(--secondary-color);
    margin-left: 15px;
    font-size: 14px;
}

.top-bar .social-links a:hover {
    color: var(--primary-color);
}

.navbar {
    padding: 0;
    background-color: var(--dark-color);
}

.navbar .nav-link {
    color: #fff !important;
    padding: 1rem !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar .nav-link.active {
    background-color: var(--primary-color);
}

.dropdown-menu {
    margin-top: 0;
    border-radius: 0;
    border: none;
    background-color: var(--dark-color);
    padding: 0;
}

.dropdown-item {
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: #fff;
}

/* Notícias */
.news-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
}

.main-news,
.secondary-news {
    overflow: hidden;
}

.main-news img,
.secondary-news img {
    transition: transform 0.3s ease;
}

.main-news:hover img,
.secondary-news:hover img {
    transform: scale(1.05);
}

.category {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Botões */
.btn {
    font-size: 13px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

/* Responsividade */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-color);
    }

    .navbar .nav-link {
        padding: 0.75rem 1rem !important;
    }
}

@media (max-width: 767.98px) {
    .top-bar .social-links {
        display: none;
    }

    .date-info {
        font-size: 12px;
    }
}

/* Utilidades */
.text-success {
    color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--primary-color) !important;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Customizações sobre o Bootstrap */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.navbar-custom {
    background-color: var(--primary-color);
}

.top-bar {
    background-color: transparent;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Botões de acessibilidade */
.accessibility-tools button {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    padding: 0.2rem 0.5rem;
    margin: 0 0.2rem;
    border-radius: 3px;
}

/* Cards de acesso rápido */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card .fa-2x {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.card:hover .fa-2x {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

/* Seção de Notícias */
.news-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.news-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.news-date i {
    margin-right: 5px;
}

.news-card-small {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card-small:hover {
    transform: translateX(5px);
}

.news-card-small img {
    max-height: 120px;
    object-fit: cover;
}

.news-card-small .card-body {
    padding: 1rem;
}

.news-card-small .card-title {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsividade para notícias */
@media (max-width: 991.98px) {
    .news-card .card-img-top {
        height: 200px;
    }

    .news-card-small img {
        max-height: 100px;
    }
}

@media (max-width: 767.98px) {
    .news-card-small .card-body {
        padding: 0.75rem;
    }
}

/* Footer Styles */
.bg-darker {
    background-color: #1a1a1a;
}

.footer a:hover {
    opacity: 0.8;
}

.footer-top p {
    margin-bottom: 0.5rem;
}

.footer .fab {
    transition: transform 0.3s ease;
}

.footer .fab:hover {
    transform: translateY(-3px);
}

/* Estilos de Alto Contraste */
.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

.high-contrast .navbar,
.high-contrast .footer,
.high-contrast .card {
    background-color: #000 !important;
    border: 1px solid #fff !important;
}

.high-contrast a,
.high-contrast .btn-link {
    color: #ffff00 !important;
}

.high-contrast img {
    filter: grayscale(100%) contrast(120%);
}

.high-contrast .hero {
    background: #000 !important;
    border-bottom: 1px solid #fff;
}

/* Melhorias de acessibilidade */
:focus {
    outline: 3px solid #ffff00 !important;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Classe para esconder visualmente elementos mantendo acessível para leitores de tela */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Melhorar contraste de links e textos */
a,
.btn-link {
    color: var(--primary-color);
    text-decoration: underline;
}

a:hover,
.btn-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Estilos do Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 0;
    background-color: var(--dark-color);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

/* Acessibilidade para dropdown */
.dropdown-menu:focus-within {
    display: block;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* =========================================
   Estilos migrados do header.php
   ========================================= */

/* Top Bar & Navbar overrides */
.top-bar {
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.top-bar a {
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-bar-spacer {
    height: 32px;
}

.accessibility-tools button {
    transition: all 0.3s ease;
}

.accessibility-tools button:hover {
    color: #28a745;
    transform: scale(1.1);
}

.navbar {
    border-top: 3px solid #28a745;
}

/* Banner da Transparência (Radar) */
.radar-banner {
    transition: transform 0.3s ease;
}

.radar-banner:hover {
    transform: scale(1.02);
}

/* Search Input Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    position: absolute;
    right: 100%;
    width: 0;
    padding: 0.375rem 0.75rem;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0;
    display: none;
    /* Inicia oculto */
}

.search-input.active {
    width: 200px;
    opacity: 1;
    margin-right: 10px;
    display: block;
}

.search-toggle {
    z-index: 2;
}

@media (max-width: 768px) {
    .search-input.active {
        width: 150px;
    }

    .accessibility-tools button span {
        display: none;
    }
}

/* =========================================
   Estilos migrados de noticia.php
   ========================================= */
.noticia-completa {
    max-width: 800px;
    margin: 0 auto;
}

.noticia-conteudo {
    font-size: 1.1rem;
    line-height: 1.8;
}

.noticia-conteudo p {
    margin-bottom: 1.5rem;
}

.noticia-conteudo img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

.noticia-conteudo h2,
.noticia-conteudo h3,
.noticia-conteudo h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.noticia-conteudo ul,
.noticia-conteudo ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.noticia-conteudo li {
    margin-bottom: 0.5rem;
}

.noticia-conteudo blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 0 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .noticia-conteudo {
        font-size: 1rem;
    }
}

/* =========================================
   Estilos migrados de footer.php
   ========================================= */
.footer {
    margin-top: 0 !important;
}

.footer-section h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    padding-left: 5px;
    opacity: 0.8;
}

.contact-info p,
.expedient p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-logo {
    margin-top: 1.5rem;
}

.expedient h6 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-credits {
    font-size: 0.75rem;
}

.footer-credits a:hover {
    opacity: 0.8;
}

@media (max-width: 991.98px) {
    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }
}

/* =========================================
   Estilos migrados de noticias.php
   ========================================= */
/* Ajustes para os cards de notícias */
.noticia-card {
    transition: transform 0.2s ease;
    border-left: 4px solid var(--primary-color);
}

.noticia-card:hover {
    transform: translateX(5px);
}

.noticia-imagem {
    width: 240px;
    min-width: 240px;
    height: 165px;
    overflow: hidden;
}

.noticia-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-info {
    min-width: 0;
    overflow: hidden;
}

.noticia-info .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.noticia-info .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.noticia-acoes {
    min-width: 100px;
    flex-shrink: 0;
}

.noticia-acoes .btn {
    white-space: nowrap;
}

.categorias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    white-space: nowrap;
}

/* Responsividade Notícias */
@media (max-width: 768px) {
    .noticia-card .card-body>div {
        flex-direction: column;
    }

    .noticia-imagem {
        width: 100%;
        height: 200px;
    }

    .noticia-info {
        padding: 1rem !important;
    }

    .noticia-acoes {
        border-left: none !important;
        border-top: 1px solid #dee2e6;
        padding: 1rem !important;
        justify-content: center;
    }
}

.card-title a:hover {
    color: var(--primary-color) !important;
}

/* Ajustes para o texto das proposituras na barra lateral */
.list-group-item {
    transition: all 0.2s ease;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item .d-flex {
    align-items: flex-start;
}

.list-group-item .d-flex>div:first-child {
    flex: 1;
    min-width: 0;
    margin-right: 10px;
}

.list-group-item .text-muted.ms-2 {
    flex-shrink: 0;
    white-space: nowrap;
}

.list-group-item .text-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-group-item .badge {
    display: inline-block;
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    padding: 0.3em 0.6em;
}

.list-group-item .d-block.text-muted {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Estilos para o banner de contato */
.contato-banner {
    background: #23A455;
    color: white;
    padding: 1.5rem;
    border-radius: 4px;
}

.contato-banner h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contato-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contato-item span {
    font-size: 0.9rem;
    word-break: break-all;
}

/* Estilo para o título da seção */
.section-header {
    position: relative;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #f0f0f0;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #23A455;
    z-index: 1;
}

.section-title small {
    font-size: 1rem;
    font-weight: normal;
    margin-left: 10px;
}

/* =========================================
   Estilos migrados de parecer-contas.php
   ========================================= */
.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
}

.news-image img {
    width: 120px;
    height: 80px;
    object-fit: cover;
}

.news-content h2 {
    line-height: 1.4;
}

.news-content h2 a:hover {
    color: #23A455 !important;
}

.category {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.meta-info {
    font-size: 0.8rem;
}

.meta-info i {
    opacity: 0.8;
}

/* Responsividade Parecer Contas */
@media (max-width: 575.98px) {
    .news-image img {
        width: 100px;
        height: 70px;
    }

    .news-content h2 {
        font-size: 1rem;
    }
}

/* =========================================
   Ajustes de Acessibilidade (Alto Contraste)
   ========================================= */
.high-contrast .contato-banner {
    background: #000 !important;
    border: 1px solid #fff;
}

.high-contrast .contato-banner .phone-number {
    background: #000 !important;
    color: #ffff00 !important;
    border: 1px solid #fff;
}

.high-contrast .contato-banner i,
.high-contrast .contato-banner h5,
.high-contrast .contato-banner p,
.high-contrast .contato-banner .small {
    color: #fff !important;
}

/* =========================================
   Estilos migrados de atalhos-transparencia.php
   ========================================= */
.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #23A455;
}

.atalho-card {
    display: block;
    transition: transform 0.3s ease;
    height: 100%;
}

.atalho-card:hover {
    transform: translateY(-5px);
}

.atalho-card .card {
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.atalho-card:hover .card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.atalho-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(35, 164, 85, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.atalho-icon i {
    color: #23A455;
}

.atalho-content h3 {
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    font-size: 1.1rem;
}

.atalho-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
}

/* Responsividade Atalhos */
@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.5rem;
    }

    .atalho-icon {
        width: 40px;
        height: 40px;
    }

    .atalho-icon i {
        font-size: 1.5rem;
    }
}

.high-contrast .page-title {
    color: #fff !important;
    border-color: #fff !important;
}

.high-contrast .atalho-card .card {
    background: #000 !important;
    border: 1px solid #fff !important;
}

.high-contrast .atalho-icon {
    background: transparent !important;
    border: 1px solid #fff;
}

.high-contrast .atalho-icon i {
    color: #ffff00 !important;
}

.high-contrast .atalho-content h3 {
    color: #ffff00 !important;
}

.high-contrast .atalho-content p {
    color: #fff !important;
}

/* Padronização Global de Alto Contraste */
.high-contrast .card,
.high-contrast .card-header,
.high-contrast .card-body,
.high-contrast .list-group-item,
.high-contrast .news-item {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

.high-contrast .text-muted,
.high-contrast .text-dark,
.high-contrast .text-secondary {
    color: #fff !important;
}

.high-contrast a,
.high-contrast h1 a,
.high-contrast h2 a,
.high-contrast h3 a,
.high-contrast h4 a,
.high-contrast h5 a,
.high-contrast h6 a {
    color: #ffff00 !important;
}

.high-contrast .page-item .page-link {
    background-color: #000 !important;
    color: #ffff00 !important;
    border-color: #fff !important;
}

.high-contrast .page-item.active .page-link {
    background-color: #ffff00 !important;
    color: #000 !important;
    border-color: #fff !important;
}

.high-contrast .section-title,
.high-contrast .page-title {
    color: #fff !important;
    border-color: #fff !important;
}

.high-contrast .section-title::before,
.high-contrast .page-title::before {
    background: #ffff00 !important;
}

.high-contrast .btn-primary,
.high-contrast .btn-outline-primary {
    background-color: #000 !important;
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

.high-contrast .btn-primary:hover,
.high-contrast .btn-outline-primary:hover {
    background-color: #ffff00 !important;
    color: #000 !important;
}

.high-contrast .badge {
    border: 1px solid #fff;
    color: #fff !important;
}

/* =========================================
   Estilos migrados de mapa-site.php
   ========================================= */
.sitemap-section {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sitemap-section .section-title {
    font-size: 1.25rem;
    color: #23A455;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #23A455;
}

.sitemap-section ul li {
    margin-bottom: 0.5rem;
}

.sitemap-section ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.sitemap-section ul li a:hover {
    color: #23A455;
    padding-left: 5px;
}

.sitemap-section i {
    width: 20px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .sitemap-section {
        padding: 1rem;
    }

    .sitemap-section .section-title {
        font-size: 1.1rem;
    }
}

/* Ajustes Alto Contraste para Mapa do Site */
.high-contrast .sitemap-section {
    background: #000 !important;
    border: 1px solid #fff;
}

/* =========================================
   Estilos migrados de tv-camara.php
   ========================================= */
.video-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.high-contrast .video-card-img {
    filter: grayscale(100%) contrast(120%);
}

/* =========================================
   Estilos migrados de video.php
   ========================================= */
.video-description {
    white-space: pre-line;
    line-height: 1.6;
}

.high-contrast .video-description {
    color: #fff !important;
}

.high-contrast .breadcrumb-item.active {
    color: #ffff00 !important;
}

/* Ajustes para botões de compartilhamento */
.btn-share-facebook:hover {
    color: #fff;
    background-color: #3b5998;
    border-color: #3b5998;
}

.btn-share-whatsapp:hover {
    color: #fff;
    background-color: #25d366;
    border-color: #25d366;
}

/* =========================================
   Estilos migrados de vereadores.php
   ========================================= */
.vereador-card {
    transition: transform 0.2s ease;
    border-left: 4px solid #007bff;
}

.vereador-card:hover {
    transform: translateX(5px);
}

.vereador-foto {
    width: 120px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.vereador-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #adb5bd;
}

.vereador-info {
    min-width: 0;
}

.vereador-contatos {
    margin-top: 0.5rem;
}

.vereador-contatos .btn {
    padding: 0.25rem 0.5rem;
}

.vereador-acoes {
    border-left: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    height: 100%;
}

.vereador-acoes .btn {
    white-space: nowrap;
}

/* Responsividade Vereadores */
@media (max-width: 768px) {
    .vereador-card .card-body>div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vereador-foto {
        margin-bottom: 1rem;
    }

    .vereador-info {
        padding: 1rem 0 !important;
    }

    .vereador-acoes {
        border-left: none;
        border-top: 1px solid #dee2e6;
        padding-top: 1rem !important;
        width: 100%;
        justify-content: center;
    }
}

/* Alto Contraste Vereadores */
.high-contrast .vereador-card {
    border: 1px solid #fff;
    border-left: 4px solid #ffff00 !important;
}

.high-contrast .foto-placeholder {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
}

/* =========================================
   Estilos migrados de vereador.php (Perfil Individual)
   ========================================= */
.foto-placeholder-profile {
    width: 200px;
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #adb5bd;
    margin: 0 auto;
}

.high-contrast .foto-placeholder-profile {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
}

.nav-tabs .nav-link {
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    font-weight: 500;
}

.high-contrast .nav-tabs .nav-link {
    color: #fff !important;
    border: 1px solid transparent;
}

.high-contrast .nav-tabs .nav-link:hover,
.high-contrast .nav-tabs .nav-link:focus {
    border-color: #ffff00;
    color: #ffff00 !important;
}

.high-contrast .nav-tabs .nav-link.active {
    color: #000 !important;
    background-color: #ffff00 !important;
    border-color: #fff #fff #000 #fff !important;
}

.biografia {
    font-size: 1rem;
    line-height: 1.6;
}

.high-contrast .biografia {
    color: #fff !important;
}

/* Responsividade Perfil Vereador */
@media (max-width: 767.98px) {
    .contatos-profile {
        margin-top: 1rem;
    }

    .contatos-profile .btn {
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}

/* =========================================
   Estilos migrados de propositura.php
   ========================================= */
.propositura-content {
    font-size: 1rem;
    line-height: 1.6;
}

.high-contrast .propositura-content {
    color: #fff !important;
}

.propositura-ementa {
    transition: all 0.3s ease;
}

.high-contrast .propositura-ementa {
    background-color: #000 !important;
    color: #ffff00 !important;
    border: 1px solid #fff;
}

.propositura-content p {
    margin-bottom: 1rem;
}

.propositura-content a {
    color: #0d6efd;
    text-decoration: none;
}

.propositura-content a:hover {
    text-decoration: underline;
}

.high-contrast .propositura-content a {
    color: #ffff00 !important;
    text-decoration: underline;
}
/* ==========================================================================
   26. Sessões e Pautas
   ========================================================================== */
.sessao-card {
    transition: transform 0.2s ease;
    border-left: 4px solid #007bff;
}
.sessao-card:hover {
    transform: translateX(5px);
}
.sessao-card[data-status='realizada'] {
    border-left-color: #28a745;
}
.sessao-card[data-status='cancelada'] {
    border-left-color: #dc3545;
}
.sessoes-lista .card-title {
    color: #333;
    font-weight: 600;
}
.sessoes-lista .badge {
    font-weight: 500;
    padding: 0.5em 1em;
}
.sessoes-lista .list-group-item {
    transition: background-color 0.2s ease;
}
.sessoes-lista .list-group-item:hover {
    background-color: #f8f9fa;
}
.pauta-content {
    white-space: pre-wrap;
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   27. Atalhos Legislativo
   ========================================================================== */
.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #23A455;
}

.atalho-card {
    transition: transform 0.3s ease;
}
.atalho-card:hover {
    transform: translateY(-5px);
}
.atalho-card .card {
    transition: box-shadow 0.3s ease;
}
.atalho-card:hover .card {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.atalho-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(35, 164, 85, 0.1);
    border-radius: 8px;
}
.atalho-icon i {
    color: #23A455;
}

.atalho-content h3 {
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}
.atalho-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.5rem;
    }
    .atalho-icon {
        width: 40px;
        height: 40px;
    }
    .atalho-icon i {
        font-size: 1.5rem;
    }
}
