/* ============================================================
   PPM — Info Event Page CSS
   ============================================================ */

/* PAGE HERO */
.page-hero {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem) !important;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(99,102,241,.2) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(245,158,11,.15) 0%, transparent 45%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%) !important;
    border-bottom: none !important;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff !important; font-size: clamp(1.9rem, 4vw, 3rem) !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
.page-hero p { color: rgba(255,255,255,.75) !important; font-size: 1.05rem !important; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.7) !important; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.5) !important; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4) !important; }

/* FILTER BAR */
.filter-bar {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 1.25rem 1.5rem !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.06) !important;
}
.filter-bar .form-control,
.filter-bar .form-select {
    border-radius: 10px !important; border-color: #e2e8f0 !important;
    padding: .65rem 1rem !important; font-size: .9rem !important;
    background: #f8fafc !important; box-shadow: none !important;
}
.filter-bar .form-control:focus,
.filter-bar .form-select:focus {
    border-color: #6366f1 !important; background: #fff !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
}
.filter-bar .btn-primary { border-radius: 10px !important; font-weight: 600 !important; }

/* EVENT CARD */
@keyframes eventGlow {
    0%, 100% { box-shadow: 0 2px 12px rgba(15,23,42,.06), 0 0 0 0 rgba(99,102,241,0); }
    50%       { box-shadow: 0 2px 12px rgba(15,23,42,.06), 0 0 18px 4px rgba(99,102,241,.16); }
}
.event-card {
    border: 1px solid #e8ecf4 !important;
    border-radius: 20px !important;
    background: #fff !important;
    animation: eventGlow 3s ease-in-out infinite !important;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}
.event-card:hover {
    transform: translateY(-6px) !important;
    animation: none !important;
    box-shadow: 0 20px 48px rgba(79,70,229,.18), 0 0 0 2px rgba(99,102,241,.2) !important;
}

/* Poster / gambar event */
.event-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.event-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease !important;
    display: block;
}
.event-card:hover .event-poster img { transform: scale(1.04) !important; }

.card-image-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: #a5b4fc;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

/* Badge status */
.card-badge {
    position: absolute !important;
    top: .75rem; left: .75rem;
    background: #4f46e5 !important;
    color: #fff !important;
    font-size: .72rem !important; font-weight: 700 !important;
    padding: .3rem .75rem !important; border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(79,70,229,.35) !important;
}
.card-badge.bg-secondary {
    background: #64748b !important;
    box-shadow: 0 4px 12px rgba(100,116,139,.3) !important;
}

/* Event body */
.event-body {
    padding: 1.5rem !important;
    display: flex; flex-direction: column; flex: 1;
}
.event-date {
    font-size: .8rem !important; font-weight: 600 !important;
    color: #6366f1 !important; margin-bottom: .6rem !important;
}
.event-body h2 {
    font-size: 1rem !important; font-weight: 700 !important;
    color: #0f172a !important; line-height: 1.45 !important;
    margin-bottom: .5rem !important;
}
.event-body .text-secondary {
    font-size: .875rem !important; color: #64748b !important;
    line-height: 1.7 !important;
}
.meta-line {
    font-size: .8rem !important; color: #94a3b8 !important;
    display: flex; flex-wrap: wrap; gap: .75rem;
}
.meta-line i { color: #a5b4fc !important; }

/* Tombol daftar event */
.event-body .btn-warning {
    background: linear-gradient(135deg, #4f46e5, #6d28d9) !important;
    border: none !important; color: #fff !important;
    border-radius: 12px !important; font-weight: 700 !important;
    padding: .65rem 1.25rem !important;
    box-shadow: 0 4px 16px rgba(79,70,229,.3) !important;
    transition: transform .2s, box-shadow .2s !important;
    margin-top: auto !important;
}
.event-body .btn-warning:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(79,70,229,.4) !important;
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #fff !important;
}

/* SIDEBAR CARDS */
@keyframes sidebarGlow {
    0%, 100% { box-shadow: 0 2px 12px rgba(15,23,42,.06), 0 0 0 0 rgba(99,102,241,0); }
    50%       { box-shadow: 0 2px 12px rgba(15,23,42,.06), 0 0 14px 3px rgba(99,102,241,.12); }
}
.dashboard-card {
    border: 1px solid #e8ecf4 !important;
    border-radius: 20px !important;
    padding: 1.5rem !important;
    background: #fff !important;
    animation: sidebarGlow 4s ease-in-out infinite !important;
    margin-bottom: 1.25rem !important;
}
.dashboard-card-head {
    margin-bottom: 1rem !important;
    padding-bottom: .85rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.dashboard-card-head h2 { font-size: .9rem !important; font-weight: 700 !important; color: #0f172a !important; margin: 0 !important; }
.dashboard-card-head h2 i { color: #6366f1 !important; }

/* Sidebar filter links */
.d-grid.gap-2 a.bg-light {
    background: #f8fafc !important;
    border: 1px solid #e8ecf4 !important;
    border-radius: 12px !important;
    font-size: .85rem !important; font-weight: 500 !important;
    color: #334155 !important;
    padding: .6rem .9rem !important;
    transition: all .2s !important;
}
.d-grid.gap-2 a.bg-light:hover {
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
    color: #4f46e5 !important;
    transform: translateX(3px) !important;
}
.d-grid.gap-2 a.bg-primary {
    background: linear-gradient(135deg, #4f46e5, #6d28d9) !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: .85rem !important; font-weight: 600 !important;
    color: #fff !important;
    padding: .6rem .9rem !important;
    box-shadow: 0 4px 12px rgba(79,70,229,.3) !important;
}
.d-grid.gap-2 a.text-muted {
    background: #f8fafc !important;
    border: 1px solid #e8ecf4 !important;
    border-radius: 12px !important;
    color: #94a3b8 !important;
    padding: .6rem .9rem !important;
    font-size: .85rem !important;
}

/* Badge soft */
.badge-soft { display: inline-flex !important; align-items: center !important; padding: .28rem .7rem !important; border-radius: 999px !important; font-size: .75rem !important; font-weight: 600 !important; }
.badge-soft-primary { background: #eef2ff !important; color: #4f46e5 !important; }
.badge-soft-secondary { background: #f1f5f9 !important; color: #475569 !important; }
.badge-soft-info { background: #f0f9ff !important; color: #0284c7 !important; }

/* Empty state */
.empty-state { padding: 3rem 1rem; text-align: center; color: #94a3b8; }
.empty-state i { font-size: 2.5rem; opacity: .4; display: block; margin-bottom: .75rem; }
