@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #007bff;
    --secondary-color: #25d366;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-color: #333;
    --light-text-color: #6c757d;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --topbar-height: 65px;
    --topbar-height-scrolled: 52px;
    --container-max-width: 1200px;
    --dark-bg: #1a1a2e;
    --dark-card: #16213e;
    --dark-text: #eee;
    --dark-light-text: #aaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) fixed;
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) fixed;
    color: var(--dark-text);
}

body.menu-open {
    overflow: hidden;
}

.gradient {
    background: linear-gradient(334deg, #6b97f7, #7525e2, #f7137e);
    background-size: 180% 180%;
    animation: gradient-animation 6s ease infinite;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================== */
/* NOVA TOPBAR - MENU + LOGO */
/* ========================================== */
.topbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1001;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(214, 13, 113);
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 15px;
    border-radius: 0 0 15px 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: var(--topbar-height);
    box-shadow: var(--shadow-light);
    gap: 15px;
}

.topbar-wrapper.scrolled .topbar {
    background-color: rgba(214, 13, 113, 0.92);
    backdrop-filter: blur(10px);
    height: var(--topbar-height-scrolled);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-logo img {
    max-height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.topbar-wrapper.scrolled .topbar-logo img {
    max-height: 32px;
}

/* Menu na Topbar */
.topbar-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.topbar-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.topbar-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.topbar-menu a.btn-sair {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.topbar-menu a.btn-sair:hover {/**/
    background: rgba(255, 107, 107, 0.2);
}

.topbar-cta .btn-top {
    background-color: transparent;
    color: white;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid white;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.3s;
    text-decoration: none;
}

.topbar-cta .btn-top:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-top i {
    margin-right: 8px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    padding: 5px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* ========================================== */
/* BARRA DE BUSCA ABAIXO DO MENU */
/* ========================================== */
.search-wrapper {
    margin-top: calc(var(--topbar-height) + 15px);
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(5px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Tema escuro */
body.dark-mode .search-wrapper {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

.search-wrapper .search-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

body.dark-mode .search-wrapper .search-input-group {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.1);
}

.search-wrapper .search-input-group:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.search-wrapper .search-input-group i {
    color: #94a3b8;
    font-size: 0.9rem;
}

body.dark-mode .search-wrapper .search-input-group i {
    color: rgba(255,255,255,0.5);
}

.search-wrapper .search-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    padding: 10px 10px;
    color: #1e293b;
    font-size: 0.9rem;
}

body.dark-mode .search-wrapper .search-input-group input {
    color: #f1f5f9;
}

.search-wrapper .search-input-group input::placeholder {
    color: #94a3b8;
}

body.dark-mode .search-wrapper .search-input-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-wrapper .search-counter {
    color: #94a3b8;
    font-size: 0.75rem;
    white-space: nowrap;
    padding-right: 8px;
}

body.dark-mode .search-wrapper .search-counter {
    color: rgba(255,255,255,0.6);
}

.search-wrapper .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-wrapper .filter-group label {
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-mode .search-wrapper .filter-group label {
    color: rgba(255,255,255,0.5);
}

.search-wrapper .filter-group select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

body.dark-mode .search-wrapper .filter-group select {
    color: #f1f5f9;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}

.search-wrapper .filter-group select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.search-wrapper .filter-group select option {
    background: #ffffff;
    color: #1e293b;
}

body.dark-mode .search-wrapper .filter-group select option {
    background: #1e293b;
    color: #f1f5f9;
}

.search-wrapper .btn-clear-filter {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    white-space: nowrap;
}

.search-wrapper .btn-clear-filter:hover {
    background: rgba(239, 68, 68, 0.2);
}

.search-wrapper .btn-clear-filter.show {
    display: block;
}



.topbar-cta .btn-top { 
background-color: transparent; 
color: white; 
display: flex; 
align-items: center; 
padding: 8px 12px; 
border: 1px solid white; 
border-radius: 8px; 
font-size: 0.85rem; 
transition: all 0.3s; 
text-decoration: none;
}

.topbar-wrapper.scrolled .topbar-cta .btn-top {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.topbar-cta .btn-top:hover { 
    background-color: rgba(255,255,255,0.2); 
    transform: translateY(-2px);
}


/* ========================================== */
/* MENU MOBILE - SOBREPOSIÇÃO */
/* ========================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, rgb(214, 13, 113) 0%, rgb(180, 10, 95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1003;
    padding: 80px 25px 30px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.menu-nav-mobile.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-logo img {
    max-width: 80px;
    margin-bottom: 10px;
}

.mobile-menu-logo p {
    color: white;
    font-size: 0.8rem;
    opacity: 0.8;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.mobile-menu-links a i {
    width: 25px;
    font-size: 1.2rem;
}

.mobile-menu-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.mobile-menu-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.mobile-menu-footer .bi-week-mobile {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: white;
}

.mobile-menu-footer .social-mobile {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mobile-menu-footer .social-mobile span {
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    color: white;
}

.mobile-menu-footer .social-mobile span:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.8;
}

/* ========================================== */
/* CARDS (mantido igual) */
/* ========================================== */
.skeleton-card {
    background: linear-gradient(135deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 10px;
    height: 380px;
}

body.dark-mode .skeleton-card {
    background: linear-gradient(135deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
    background-size: 200% 100%;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.cardBox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding-bottom: 30px;
}

.card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    border: 1px solid #e9ecef;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }
.card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8) { animation-delay: 0.4s; }

body.dark-mode .card {
    background-color: var(--dark-card);
    border-color: #2a2a3e;
}

.card.hidden {
    display: none;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.card .card-image {
    overflow: hidden;
    position: relative;
}

.card .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card .card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card .mediaName {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-address {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--light-text-color);
    position: relative;
    cursor: help;
    line-height: 1.4;
}

body.dark-mode .card-address {
    color: var(--dark-light-text);
}

.card-address i {
    margin-right: 8px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.card-status-detail {
    font-size: 0.75rem;
    color: var(--light-text-color);
    margin: 10px 0;
    padding: 8px 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .card-status-detail {
    background: rgba(255,255,255,0.05);
    color: var(--dark-light-text);
}

.card-status-detail i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    gap: 8px;
}

body.dark-mode .card-actions {
    border-top-color: #2a2a3e;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
}

.whatsapp-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.share-btn {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
    padding: 10px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.02);
}

.status-available {
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: white;
    font-size: 0.65rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    display: inline-block;
    font-weight: 500;
    white-space: nowrap;
}

.status-unavailable {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-size: 0.65rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    display: inline-block;
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================== */
/* HERO BANNER */
/* ========================================== */
.hero-banner {
    border-radius: 20px;
    padding: 40px 20px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.hero-banner:hover {
    transform: translateY(-5px);
}

.hero-logo {
    max-width: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-banner h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-banner h4 {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ========================================== */
/* TOAST, FOOTER, BACK TO TOP, MODAIS (mantidos) */
/* ========================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 2000;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-hover);
    white-space: nowrap;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgb(214, 13, 113);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: rgb(180, 10, 95);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    padding-top: 60px;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
}

#modalMapContainer {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: #1a1a2e;
    border-radius: 20px;
    margin: auto;
    overflow: hidden;
}

#modalMapContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #bbb;
    transform: scale(1.1);
}

.content-modal-body {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    margin: auto;
}

body.dark-mode .content-modal-body {
    background-color: var(--dark-card);
    color: var(--dark-text);
}

.content-modal-body h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-modal-body p,
.content-modal-body li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--light-text-color);
}

body.dark-mode .content-modal-body p,
body.dark-mode .content-modal-body li {
    color: var(--dark-light-text);
}

.content-modal-body ul {
    padding-left: 20px;
}

.no-results {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    grid-column: 1 / -1;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #fff;
    border-radius: 15px 15px 0 0;
    width: 100%;
    margin-top: 30px;
    font-size: 0.9rem;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    gap: 15px;
}

body.dark-mode .footer {
    background-color: var(--dark-card);
}

.footer-socials span {
    cursor: pointer;
    margin: 0 8px;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-socials span:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-credits {
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.footer-credits:hover {
    transform: rotate(10deg) scale(1.1);
}

iframe {
    max-width: 100%;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .topbar {
        flex-wrap: wrap;
        padding: 8px 15px;
        gap: 8px;
        margin: 0 10px;
        height: auto;
        min-height: var(--topbar-height);
    }

    .topbar-wrapper.scrolled .topbar {
        min-height: var(--topbar-height-scrolled);
    }

    .topbar-logo img {
        max-height: 32px;
    }

    .topbar-menu {
        display: none;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .topbar-cta .btn-top {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .topbar-cta .btn-top span {
        display: none;
    }

    .btn-top i {
        margin-right: 0;
    }

    .search-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 15px;
        margin-top: calc(var(--topbar-height) + 10px);
    }

    .search-wrapper .search-input-group {
        width: 100%;
    }

    .search-wrapper .filter-group {
        width: 100%;
        justify-content: stretch;
    }

    .search-wrapper .filter-group select {
        flex: 1;
        min-width: 0;
    }

    .search-wrapper .btn-clear-filter {
        flex: 1;
        text-align: center;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .hero-banner h2 {
        font-size: 1.5rem;
    }

    .hero-banner h4 {
        font-size: 0.9rem;
    }

    .progress-bar-container {
        margin: 0 10px;
    }

    .cardBox {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

/* ========================================== */
/* DARK MODE TOGGLE (mantido) */
/* ========================================== */
.dark-mode-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background-color: rgba(255,255,255,0.15);
    transform: rotate(15deg) scale(1.1);
}

.bi-week-display {
    font-weight: 600;
    color: white;
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: all 0.3s;
}

body.dark-mode .bi-week-display {
    background: rgba(255,255,255,0.08);
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}