
/* ==== STAT BOX ==== */
.stat-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.stat-box {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
    width: 250px;
    height: 150px;
    min-width: 180px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e1e1e;
    margin: 0;
}

.stat-box p {
    font-size: 14px;
    margin-top: 10px;
    color: #6b7280;
}

/* ==== DATE TOGGLE ==== */
.date-toggle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #f3f3f3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    margin-top: 20px;
}

.date-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background-color: transparent;
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.date-btn:hover {
    background-color: #e2e8f0;
}

.date-btn.active {
    background-color: #ffffff;
    color: black;
    border: 2px solid black;
}


/* ==== TEXT CENTER ==== */
.text-center {
    text-align: center;
}

/* ==== CENTERED HEADER ==== */
.centered-header {
    text-align: center;
    margin-bottom: 20px;
}

/* ==== FLATPICKR RESET (no animation to avoid bugs) ==== */
.flatpickr-calendar {
    z-index: 9999 !important;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
    .stat-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .date-toggle {
        justify-content: flex-start;
        padding-left: 12px;
        padding-right: 12px;
    }

    .stat-box {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
      display: none !important;
    }
  }
