/* Variaveis Globais baseadas no Design */
:root {
    --primary: #1e3a8a; /* Azul marinho dos botões "Saiba Mais" */
    --primary-hover: #1e40af;
    --accent: #f59e0b; /* Amarelo/Laranja "Sempre!" */
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f3f4f6; /* Fundo geral da pagina */
    --bg-white: #ffffff;
    --header-bg: #2d2d2d;
    --footer-bg: #2d2d2d;
    --border-color: #e5e7eb;
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utility / Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.btn-secondary {
    background-color: #4b5563;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 600;
}
.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* ====================================
   HEADER & PLAYER
==================================== */
.main-header {
    background-color: var(--header-bg);
    color: white;
    padding: 15px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none !important;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

.action-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: #fca5a5; /* Um tom puxado pro logo do painel */
}


.player-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(0,0,0,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    flex-grow: 1;
    max-width: 800px;
}

.play-btn {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}
.play-btn:hover { background-color: rgba(255,255,255,0.2); }

.track-info {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.track-title {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-artist {
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-bar-container {
    width: 100%;
    height: 3px;
    background-color: rgba(255,255,255,0.2);
    position: relative;
    border-radius: 2px;
}
.progress-bar {
    height: 100%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 2px;
}
.progress-handle {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

@keyframes pulseLive {
    0% { opacity: 1; text-shadow: 0 0 5px rgba(255,255,255,0.5); }
    50% { opacity: 0.5; text-shadow: none; }
    100% { opacity: 1; text-shadow: 0 0 5px rgba(255,255,255,0.5); }
}

.badge-ao-vivo {
    background-color: #dc2626;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    animation: pulseLive 2s infinite ease-in-out;
}

.badge-autodj {
    background-color: #16a34a;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    animation: none;
}

.volume-control {
    position: relative;
    display: inline-block;
}

.volume-popup {
    position: absolute;
    top: 180%;
    left: 50%;
    transform: translateX(-50%);
    background: #374151;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5);
    display: none;
    z-index: 100;
}

.volume-popup::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #374151;
}

.volume-popup.active {
    display: block;
}

.volume-slider {
    width: 80px;
    cursor: pointer;
    accent-color: #ffffff;
    height: 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.2);
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.icon-btn {
    cursor: pointer;
    font-size: 1.1rem;
    color: #d4d4d8;
    transition: color 0.2s;
}
.icon-btn:hover { color: white; }

/* ====================================
   HERO BANNER
==================================== */
.hero-banner {
    position: relative;
    height: 600px;
    background-image: url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center top !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-bottom: 4px solid var(--primary); /* a border similar to the logo colors based on original image might be needed, using primary for now */
}

/* Gradient block similar to image */
.hero-banner::after {
    content:'';
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Overlay escuro */
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.hero-title .highlight {
    color: var(--accent);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 0 30px;
}

.hero-subtitle::before, .hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25px;
    height: 1px;
    background-color: white;
}
.hero-subtitle::before { left: 0; }
.hero-subtitle::after { right: 0; }

/* ====================================
   MAIN CONTENT SECTIONS
==================================== */
.main-content {
    background-color: var(--bg-white);
    max-width: 1100px;
    margin: -20px auto 40px auto; /* Pull it slightly up over hero */
    position: relative;
    z-index: 20;
    box-shadow: var(--shadow);
    padding: 30px 40px;
    border-top: 5px solid var(--primary); /* Similar to the image white frame */
}

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* ====================================
   LIVROS
==================================== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: var(--bg-light); /* Background cinza do contêiner de livros */
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.book-card {
    background-color: var(--bg-white);
    padding: 15px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.book-image-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.book-img {
    height: 200px;
    object-fit: contain;
    box-shadow: var(--shadow);
}

.book-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-book {
    width: 100%;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* ====================================
   MENSAGEM DO DIA
==================================== */
.message-of-the-day-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 5px solid #22c55e;
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.motd-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #166534;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.quote-icon, .quote-icon-right {
    font-size: 3rem;
    color: rgba(34, 197, 94, 0.2);
    position: absolute;
    z-index: 1;
}

.quote-icon {
    top: 20px;
    left: 20px;
}

.quote-icon-right {
    bottom: 20px;
    right: 20px;
}

/* ====================================
   NOTICIAS
==================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    /* não tem border em volta, só da img para separar melhor se quisesse, mas não tem no design original */
}

.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.news-content {
    padding: 15px 0;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.news-desc {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    min-height: 40px;
}

/* ====================================
   LANÇAMENTOS BANNERS
==================================== */
.lancamentos-banner {
    width: 100%;
    display: block;
    margin-top: 10px;
    transition: transform 0.3s;
}

.lancamentos-banner:hover {
    transform: translateY(-3px);
}

.lancamentos-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.lancamentos-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    display: block;
}

/* ====================================
   FOOTER
==================================== */
.main-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 40px 0 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #cbd5e1;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.8; }

.bg-facebook { background-color: #3b5998; }
.bg-twitter { background-color: #1da1f2; }
.bg-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.bg-youtube { background-color: #ff0000; }
.bg-whatsapp { background-color: #25D366; }

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 20px 0;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ====================================
   ADMIN PANEL STYLES (DASHBOARD LAYOUT)
 ==================================== */
.admin-body {
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.admin-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sidebar */
.admin-sidebar {
    width: 280px;
    background-color: var(--header-bg);
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 100;
}

.admin-logo {
    padding: 1px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-logo img {
    height: 120px;
    width: auto;
}

.admin-logo h2 {
    font-size: 1.2rem;
    margin: 0;
}

.admin-tabs {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    gap: 5px;
    border: none;
    margin: 0;
    overflow-y: auto;
}

.admin-tab-btn {
    width: 100%;
    text-align: left;
    padding: 12px 25px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #a1a1aa;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.admin-tab-btn:hover {
    background-color: rgba(255,255,255,0.05);
    color: white;
}

.admin-tab-btn.active {
    background-color: var(--primary);
    color: white;
    border-left: 4px solid var(--accent);
}

.admin-sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Main Content Area */
.admin-main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #f8fafc;
}

.admin-top-bar {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-top-bar h1 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-dark);
}

.admin-sections-container {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

.admin-section {
    display: none;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    max-width: 1000px;
    margin: 0 auto;
}

.admin-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-section h2 {
    color: var(--header-bg);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

/* Status Message adjusted for top bar */
.status-message {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: none;
}

.status-message.show { display: block; }
.status-message.success { background-color: #dcfce7; color: #166534; }
.status-message.error { background-color: #fee2e2; color: #991b1b; }
.status-message.info { background-color: #e0f2fe; color: #0369a1; }

/* Responsive */
@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    .admin-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
    }
    .admin-tab-btn {
        white-space: nowrap;
        padding: 10px 15px;
    }
}

/* Re-styling the existing components to fit new layout */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-form input, 
.admin-form select, 
.admin-form textarea {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-form input:focus, 
.admin-form select:focus, 
.admin-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.admin-form textarea {
    min-height: 250px; /* Altura consideravelmente maior para textos longos */
    resize: vertical;
    line-height: 1.6;
}

.form-group.small {
    max-width: 600px;
}

.dev-list-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ====================================
   MODAL DE DOAÇÃO
==================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 450px;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-content.modal-large {
    max-width: 550px;
}

.programming-list {
    margin-top: 20px;
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.programming-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: background 0.2s;
}

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

.programming-item.active {
    background-color: #eff6ff;
    border-left: 4px solid var(--primary);
}

.prog-time {
    display: flex;
    flex-direction: column;
    min-width: 130px;
    gap: 4px;
}

.day-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: bold;
    text-transform: uppercase;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}

.time-range {
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--primary);
}

.prog-details {
    flex-grow: 1;
}

.prog-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.prog-host {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.now-badge {
    background-color: #dc2626;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 10px;
    animation: pulseLive 2s infinite ease-in-out;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}

.close-modal:hover { color: var(--text-dark); }

.modal-title {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.modal-instruction {
    font-size: 0.85rem;
    font-weight: bold;
    color: #059669;
    margin-bottom: 20px;
}

.qrcode-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.qrcode-wrapper img {
    border: 3px solid #e5e7eb;
    border-radius: 8px;
    padding: 5px;
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.2s, border-color 0.2s;
}

.qrcode-wrapper:hover img {
    transform: scale(1.05);
    border-color: var(--primary);
}

.copy-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-feedback.show {
    opacity: 1;
}

/* LOADING */
.loading-state { grid-column: 1 / -1; text-align: center; padding: 30px; color: var(--text-muted); }
.loading-state.error { color: #dc2626; }

/* MEDIA QUERIES */
@media (max-width: 900px) {
    .books-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .player-wrapper { width: 100%; order: 3; }
    .hero-title { font-size: 2.5rem; }
    .books-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .books-grid-form { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo-area {
        width: 100%;
        justify-content: space-between;
    }
    .mobile-menu-btn {
        display: block !important;
    }
    .action-icons {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 85px; 
        right: 20px;
        background: #374151; 
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 10px 25px -3px rgba(0,0,0,0.8);
        z-index: 1000;
        gap: 25px;
    }
    .action-icons.active {
        display: flex;
    }
    .action-icons i {
        font-size: 1.4rem; /* icones maiores no mobile */
    }
    .action-icons .volume-popup {
        top: -15px;
        right: 50px;
        left: auto;
        transform: none;
    }
    .action-icons .volume-popup::before {
        top: 15px;
        right: -6px;
        left: auto;
        transform: translateY(-50%);
        border-bottom: 6px solid transparent;
        border-top: 6px solid transparent;
        border-left: 6px solid #374151;
        border-right: none;
    }
    .main-header {
        position: relative;
    }
}
/* ====================================
   FILTROS DE POSTAGENS
==================================== */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 120px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-group select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: white;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-group select:focus {
    border-color: var(--primary);
    outline: none;
}

#btnClearFilters {
    height: 42px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
}
/* Ajuste para o botão "Fechar Janela" no mobile nas subpáginas */
@media (max-width: 768px) {
    .header-subpage .header-container {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 10px;
    }

    .header-subpage .logo-area {
        width: auto !important;
    }

    .header-subpage .btn-outline {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }
}
