/*
 * Compiled stylesheet: event_detail.css
 * Shared by views:
 *   - app/Views/public/event_detail.php
 */

* { font-family: 'Inter', sans-serif; scroll-behavior: smooth; }
    .date-badge { background: linear-gradient(135deg, #B76E2E, #9B5A24); }
    .card-hover { transition: all 0.2s ease-in-out; }
    .card-hover:hover { border-color: #B76E2E; transform: translateY(-3px); }
    .countdown-timer { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
    .countdown-unit {
      background: rgba(255,255,255,0.2);
      backdrop-filter: blur(4px);
      border-radius: 1rem;
      padding: 0.5rem 0.75rem;
      min-width: 70px;
      text-align: center;
    }
    /* Strictly removing all shadow classes locally as per instruction */
    .shadow-xl, .shadow-lg, .shadow-md, .shadow-sm, .shadow-2xl { box-shadow: none !important; }
    [x-cloak] { display: none !important; }
    
    /* Additional styles from second design */
    .chart-card {
        background: #ffffff;
        border-radius: 24px;
        padding: 1.8rem;
        border: 1px solid #e6eef5;
        transition: box-shadow 0.2s;
    }
    .chart-card:hover {
        box-shadow: 0 25px 45px -12px rgba(0,40,70,0.2);
    }
    .info-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(0,0,0,0.05);
        border-radius: 50px;
        padding: 0.5rem 1.2rem;
        font-size: 14px;
        margin: 0.2rem;
    }
    .btn-register {
        background: #B76E2E;
        color: white;
        border: none;
        border-radius: 50px;
        padding: 0.8rem 2rem;
        font-weight: 700;
        font-size: 15px;
        transition: all 0.2s;
    }
    .btn-register:hover {
        background: #9B5A24;
        transform: translateY(-2px);
    }
    .btn-accommodation {
        background: transparent;
        color: #B76E2E;
        border: 2px solid #B76E2E;
        border-radius: 50px;
        padding: 0.8rem 2rem;
        font-weight: 700;
        font-size: 15px;
        transition: all 0.2s;
    }
    .btn-accommodation:hover {
        background: #B76E2E;
        color: white;
    }
    .prog-bar {
        height: 12px;
        border-radius: 6px;
        background: #e9ecef;
        overflow: hidden;
    }
    .prog-fill {
        height: 100%;
        border-radius: 6px;
        background: linear-gradient(to right, #1b4a6b, #0b2d4b);
        transition: width .6s ease;
    }
    .volunteer-row {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.65rem 0;
        border-bottom: 1px solid #e6eef5;
    }
    .volunteer-row:last-child { border-bottom: none; }
    .vol-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        flex-shrink: 0;
    }
    .badge-approved {
        background: #e3f2e8;
        color: #2f6b4d;
        border-radius: 50px;
        padding: 0.2rem 0.8rem;
        font-size: 11px;
        font-weight: 600;
    }
    .badge-pending {
        background: #fff4e0;
        color: #b85e00;
        border-radius: 50px;
        padding: 0.2rem 0.8rem;
        font-size: 11px;
        font-weight: 600;
    }
    .stat-card {
        background: #f4f6fa;
        border-radius: 16px;
        padding: 1.2rem;
        text-align: center;
        transition: all 0.2s;
    }
    .stat-card:hover {
        transform: translateY(-4px);
        background: #e8ecf5;
    }
    .stat-icon { font-size: 2rem; color: #1b4a6b; margin-bottom: 0.5rem; }
    .stat-value { font-weight: 700; font-size: 1.1rem; color: #0b2d4b; }
    .stat-label { font-size: 12px; color: #546e7a; }
    .schedule-item {
        display: flex;
        gap: 1rem;
        padding: 0.8rem;
        border-bottom: 1px dashed #e6eef5;
    }
    .schedule-item:last-child { border-bottom: none; }
    .schedule-time {
        min-width: 100px;
        font-weight: 600;
        color: #1b4a6b;
    }
    .schedule-activity { flex: 1; }
    .schedule-activity h6 { font-weight: 600; margin-bottom: 0.2rem; color: #0b2d4b; }
    .schedule-activity p { font-size: 13px; color: #546e7a; margin: 0; }
    .schedule-location { font-size: 12px; color: #546e7a; display: flex; align-items: center; gap: 4px; margin-top: 0.3rem; }
    .accordion-button:not(.collapsed) {
        background: #0b2d4b;
        color: #fff;
    }
    .accordion-button:focus {
        box-shadow: none;
        border-color: #B76E2E;
    }
    .day-schedule {
        padding: 1rem;
        background: #f8fafc;
    }
    .countdown-timer-box {
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
        color: white;
        padding: 1.5rem;
        border-radius: 15px;
        text-align: center;
    }
    .countdown-item {
        display: inline-block;
        margin: 0 1rem;
    }
    .countdown-value { font-size: 2.5rem; font-weight: 700; line-height: 1; }
    .countdown-label { font-size: 0.875rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }
    @media (max-width: 768px) {
        .countdown-item { margin: 0 0.5rem; }
        .countdown-value { font-size: 1.8rem; }
    }
    /* Custom scrollbar for tabs */
.overflow-x-auto::-webkit-scrollbar {
    height: 4px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: #B76E2E;
    border-radius: 10px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: #9B5A24;
}

/* Ensure tabs don't wrap on mobile */
@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: nowrap !important;
    }
}
.nav-item{
    padding: 10px 0px;
}