:root {
    --primary: #1E293B;
    --secondary: #2563EB ;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --orange: #F97316;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #F8FAFC;
    overflow-x: hidden; /* keeps the ambient gradient blobs from causing horizontal scroll */
}

.navbar{
    background:#1E293B !important;
    color:#FFFFFF ;
}

.nav-link {
    color: #FFFFFF !important;
    padding: 12px 22px;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.nav-link.active {
    background: #2563EB ;
    color: #FFFFFF !important;
}

.nav-link:hover{
    background:rgba(37, 99, 235,.15);
    color:#FFFFFF ;
}

/* Hero Section — full photo with overlay text */
.hero-simple {
    position: relative;
    width: 100%;
    line-height: 0;
    background: #0d1b2a;
    min-height: 320px; /* guarantees the hero never collapses to 0 height while the image loads or on narrow screens */
}

.hero-simple-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.hero-simple-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-simple-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 20px 15%;
    line-height: normal;
}

.hero-simple-title {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-simple-tagline {
    color: #FACC15;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-simple-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 0 28px;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .hero-simple {
        min-height: 380px;
    }

    .hero-simple-img {
        min-height: 380px;
    }

    .hero-simple-title {
        font-size: 1.8rem;
    }

    .hero-simple-tagline {
        font-size: 1rem;
    }

    .hero-simple-desc {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero{
 position: relative;
    min-height: 620px;                 /* Hero dibesarkan sesuai permintaan */
    overflow: hidden;                  /* Cegah background "meluber"/terpotong aneh; tidak memengaruhi overlap card About Us (itu diatur di elemen lain) */
    display: grid;                     /* Vertically center content so it doesn't sit at the top leaving dead space below */
    align-content: center;
    
    /* BACKGROUND FIT ADJUSTMENT */
    background-color: #0d1b2a;         /* Fallback warna gelap saat gambar loading */
    background-image: url("../images/hero/banner.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;            /* Foto mengisi hero secara proporsional, tanpa terpotong aneh */
    
    padding-top: 24px;
    padding-bottom: 70px;
}

.hero .container {
position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

/* Dark gradient overlay so text/buttons stay readable over busy crowd photos */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.55) 0%, rgba(13, 27, 42, 0.45) 40%, rgba(13, 27, 42, 0.8) 100%);
    z-index: 1;
}

.hero-section-title {
    text-align: center;
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Content Layout */
.hero-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 40px;
    padding: 0 50px;
}


/* Poster Card Container */
.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Poster Image - Matched to Figma Design */
.hero-poster {
    width: 100%;
    max-width: 190px;
    border-radius: 8px; /* Subtle rounded corners on image */
    padding: 6px; /* White frame effect */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Badges above hero title (date / location / distance) */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.hero-badge-distance {
    background: #FF6600;
    border-color: #FF6600;
    font-weight: 700;
}

/* Title & Description Fine-Tuning */
.hero-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 14px;
    max-width: 520px;
    /* Keep the hero compact: clamp long descriptions to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pill Orange Button (Exact match) */
.hero-btn {
    background: #FF6600;
    color: #ffffff;
    display: inline-block;
    padding: 12px 36px;
    border-radius: 50px; /* Fully rounded pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #e55c00;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 102, 0, 0.45);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.hero-btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
}

.hero-btn-outline-dark {
    border-color: #CBD5E1;
    color: #1E293B;
}

.hero-btn-outline-dark:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: #2563EB;
    color: #1E293B;
}

/* Navigation Arrows — anchored directly to .hero so they sit at the
   true edges of the section, matching the original design, instead of
   being boxed in by the 1200px inner container */
.hero-arrow-prev,
.hero-arrow-next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 15;
    color: #ffffff !important;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hero-arrow-prev {
    left: 24px !important;
}

.hero-arrow-next {
    right: 24px !important;
}

.hero-arrow-prev:hover,
.hero-arrow-next:hover {
    opacity: 1;
    color: #2563EB !important;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .hero-arrow-prev,
    .hero-arrow-next {
        display: none;
    }
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 2rem !important;
}

/* Pagination Dots */
.hero-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.25s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #FF6600;
    width: 24px;
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Page Background Wrapper */
.page-bg-wrapper {
    position: relative;
    background-color: #F8FAFC;
    padding-bottom: 40px;
}

/* Ambient Color Blurs (Blue on Left, Orange on Right) */
.bg-gradient-blue {
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: 10%;
    left: -200px;
    background: radial-gradient(circle, rgba(47, 86, 214, 0.18) 0%, rgba(47, 86, 214, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.bg-gradient-orange {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 20%;
    right: -200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

/* Blue Line Rings (Matches the design curves) */
.bg-circle-shape {
    position: absolute;
    border: 6px solid #2F56D6;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

.left-circle {
    width: 300px;
    height: 300px;
    top: 5%;
    left: -150px;
}

.right-circle {
    width: 400px;
    height: 400px;
    bottom: 5%;
    right: -200px;
}

/* Floating White Card Container */
.main-card-container {
position: relative;
    z-index: 20;
    /* Tarik kartu naik menutupi bagian bawah hero */
    margin-top: -150px !important; 
    max-width: 950px !important;
}

.content-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.eyebrow {
    display: inline-block;
    color: #2563EB;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-teaser {
    text-align: center;
}

.about-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6600;
    margin-bottom: 18px;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 16px;
}

.card-description {
    color: #64748B;
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-divider {
    width: 120px;
    height: 2px;
    background: #CBD5E1;
    border: none;
    margin: 40px auto;
}

/* Footer */
footer {
    background: #1E293B;
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link:hover {
    color: #ff7a00;
}
/* ============================= */
/* Why Run With Us (Features)    */
/* ============================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: left;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.feature-title {
    color: #1E293B;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text {
    color: #64748B;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* Newest Events Section         */
/* ============================= */
.events-section {
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.section-subtitle {
    color: #64748B;
    font-size: 0.95rem;
    margin-bottom: 36px;
}

/* ============================= */
/* Events List — Horizontal Rows (used on the full Events page) */
/* ============================= */
.events-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #E2E8F0;
}

.event-row {
    display: block;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #E2E8F0;
    transition: background 0.2s ease;
}

.event-row:hover {
    background: #F8FAFC;
}

.event-row-inner {
    display: flex;
    align-items: stretch;
    gap: 24px;
    padding: 20px 8px;
}

.event-row-poster-wrap {
    position: relative;
    flex-shrink: 0;
    width: 220px;
}

.event-row-poster {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.event-row-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF6600;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
}

.event-row-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.event-row-name {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
}

.event-row-category {
    display: block;
    color: #FF6600;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.event-row-desc {
    color: #64748B;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 12px;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-row-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
}

.event-row-meta-line .event-meta {
    margin: 0;
}

.event-row-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563EB;
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.event-row:hover .event-row-cta {
    gap: 10px;
}

@media (max-width: 700px) {
    .event-row-inner {
        flex-direction: column;
    }

    .event-row-poster-wrap {
        width: 100%;
    }

    .event-row-poster {
        aspect-ratio: 16 / 9;
        min-height: unset;
    }
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
    gap: 28px;
}

.event-card {
    text-align: left;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-poster-wrap {
    position: relative;
}

.event-poster {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.event-distance-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FF6600;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
}

.event-card-body {
    padding: 16px 18px 6px;
    /* Perforated "bib ticket" divider look */
    border-top: 2px dashed #CBD5E1;
    position: relative;
}

.event-card-body::before,
.event-card-body::after {
    content: "";
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.event-card-body::before { left: -8px; }
.event-card-body::after { right: -8px; }

.event-name {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-size: 0.85rem;
    margin: 0 0 6px;
}

.event-card-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px 16px;
    color: #2563EB;
    font-weight: 600;
    font-size: 0.88rem;
    transition: gap 0.2s ease;
}

.event-card-link:hover .event-card-cta {
    gap: 10px;
}

.events-see-all {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, minmax(180px, 240px));
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* FAQ Section                   */
/* ============================= */
.faq-section {
    background: #F8FAFC;
    padding: 50px 0 90px;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 10px;
}

.faq-subtitle {
    text-align: center;
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 28px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.04);
}

.faq-icon {
    display: inline-block;
    font-size: 0.85rem;
    color: #1E293B;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 28px;
}

.faq-item.open .faq-answer {
    max-height: 320px;
    padding: 0 28px 24px 60px;
}

.faq-answer p {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq-answer ol {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
}

.faq-answer ol li {
    margin-bottom: 4px;
}

/* ============================= */
/* Footer                        */
/* ============================= */
.site-footer {
    background: #1E293B;
    padding: 70px 0 0;
    color: #CBD5E1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand h4 {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.footer-brand p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links-col h5,
.footer-contact-col h5 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 14px;
}

.footer-link {
    color: #FF8A3D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ff7a00;
}

.footer-contact-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #E2E8F0;
    font-size: 0.95rem;
}

.footer-contact-col .phone-secondary {
    padding-left: 26px;
}

.footer-bottom {
    text-align: center;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact-col p,
    .footer-contact-col .phone-secondary {
        justify-content: center;
        padding-left: 0;
    }
}
/* ============================= */
/* Final CTA Banner              */
/* ============================= */
.cta-banner {
    background: linear-gradient(120deg, #1E293B 0%, #16233A 60%, #1E293B 100%);
    padding: 56px 0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.cta-subtitle {
    color: #94A3B8;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}
/* ============================= */
/* Inner Page Header (Events, Check Registration, etc.) */
/* ============================= */
.page-header {
    background: linear-gradient(120deg, #1E293B 0%, #16233A 60%, #1E293B 100%);
    padding: 48px 0 40px;
}

.page-header-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header-subtitle {
    color: #94A3B8;
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0;
}

.page-body {
    background: #F8FAFC;
    padding: 48px 0 80px;
    min-height: 40vh;
}

/* ============================= */
/* Search Bar (Events / Check Registration) */
/* ============================= */
.search-bar {
    position: relative;
    max-width: 480px;
}

.search-bar input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    font-size: 0.9rem;
    color: #1E293B;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
}

.filter-select {
    padding: 12px 18px;
    border-radius: 50px;
    border: 1px solid #E2E8F0;
    background: #ffffff;
    font-size: 0.9rem;
    color: #1E293B;
}

.filter-select:focus {
    outline: none;
    border-color: #2563EB;
}

.search-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

/* ============================= */
/* Empty state */
/* ============================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748B;
}

.empty-state i {
    font-size: 2.4rem;
    color: #CBD5E1;
    margin-bottom: 12px;
    display: block;
}

/* ============================= */
/* Event Detail Page             */
/* ============================= */
.event-detail-hero {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    display: grid;
    align-content: end;
    background-color: #0d1b2a;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 28px 0 40px;
}

.event-detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,27,42,0.35) 0%, rgba(13,27,42,0.55) 45%, rgba(13,27,42,0.92) 100%);
    z-index: 1;
}

.event-detail-hero .container {
    position: relative;
    z-index: 10;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 18px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
}

.event-detail-title {
    color: #ffffff;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 4px;
}

.event-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.92rem;
}

.event-detail-meta-item i {
    color: #FF6600;
}

.event-detail-body {
    background: #ffffff;
    padding: 56px 0 80px;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.event-detail-section {
    margin-bottom: 40px;
}

.event-detail-section:last-child {
    margin-bottom: 0;
}

.event-detail-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 14px;
}

.event-detail-section p,
.event-detail-section li {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.7;
}

.event-detail-section ol,
.event-detail-section ul {
    padding-left: 20px;
    margin: 0;
}

.event-detail-sidebar {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    align-self: start;
    position: sticky;
    top: 24px;
}

.sidebar-label {
    color: #64748B;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 6px;
}

.sidebar-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 20px;
}

.contact-person-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.contact-person-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-person-name {
    font-weight: 600;
    color: #1E293B;
    font-size: 0.9rem;
    margin: 0;
}

.contact-person-role {
    color: #94A3B8;
    font-size: 0.78rem;
    margin: 0;
}

@media (max-width: 900px) {
    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .event-detail-sidebar {
        position: static;
    }
}

/* ============================= */
/* Multi-step Registration Form  */
/* ============================= */
.form-page {
    background: #F8FAFC;
    padding: 56px 0 90px;
}

.form-shell {
    max-width: 640px;
    margin: 0 auto;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: all 0.25s ease;
}

.step-dot.active {
    background: #2563EB;
    width: 28px;
    border-radius: 50px;
}

.step-dot.done {
    background: #93C5FD;
}

.step-label {
    text-align: center;
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 32px;
}

.form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    padding: 40px 44px;
}

.form-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.form-card-subtitle {
    color: #64748B;
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #1E293B;
    margin-bottom: 8px;
}

.form-group .hint {
    display: block;
    font-weight: 400;
    color: #94A3B8;
    font-size: 0.78rem;
    margin-top: 4px;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    font-size: 0.92rem;
    color: #1E293B;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: #2563EB;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 90px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 560px) {
    .form-card { padding: 32px 22px; }
    .form-row { grid-template-columns: 1fr; }
}

.is-invalid-custom {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
}

.error-text {
    color: #EF4444;
    font-size: 0.78rem;
    margin-top: 6px;
    display: block;
}

/* Pill radio/checkbox groups (blood type, blood pressure, jersey size, payment method) */
.pill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-option {
    position: relative;
}

.pill-option input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.pill-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    color: #1E293B;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pill-option input:checked + span {
    background: #2563EB;
    border-color: #2563EB;
    color: #ffffff;
}

.pill-option input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.pill-options.pill-options-block .pill-option {
    flex: 1 1 100%;
}

.pill-options.pill-options-block .pill-option span {
    justify-content: flex-start;
    width: 100%;
    border-radius: 10px;
}

.toggle-options {
    display: flex;
    gap: 10px;
}

.toggle-options .pill-option span {
    padding: 10px 28px;
}

/* Total payment summary row */
/* Reassuring info banner (e.g. when the payment popup is closed early) */
.info-banner-soft {
    display: none;
    align-items: flex-start;
    gap: 12px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}

.info-banner-soft.show {
    display: flex;
}

.info-banner-soft i {
    color: #2563EB;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-banner-soft .info-banner-title {
    color: #1E293B;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 4px;
}

.info-banner-soft .info-banner-text {
    color: #64748B;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

.info-banner-soft a {
    color: #2563EB;
    font-weight: 600;
    text-decoration: underline;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 8px;
}

.total-row .label {
    color: #64748B;
    font-size: 0.9rem;
    font-weight: 600;
}

.total-row .value {
    color: #1E293B;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Form navigation buttons */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    gap: 12px;
}

.form-actions.form-actions-end {
    justify-content: flex-end;
}

.btn-form-prev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 26px;
    border-radius: 50px;
    border: 1.5px solid #CBD5E1;
    background: #ffffff;
    color: #1E293B;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-form-prev:hover {
    border-color: #2563EB;
    color: #2563EB;
}

.btn-form-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    background: #2563EB;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.btn-form-next:hover {
    background: #1d4fd1;
    transform: translateY(-1px);
}

.btn-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 34px;
    border-radius: 50px;
    border: none;
    background: #FF6600;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
    transition: all 0.2s ease;
}

.btn-form-submit:hover {
    background: #e55c00;
    transform: translateY(-1px);
}

.form-footnote {
    text-align: center;
    color: #94A3B8;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* ============================= */
/* Payment Page                  */
/* ============================= */
.payment-method-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.payment-method-tab {
    position: relative;
}

.payment-method-tab input {
    position: absolute;
    opacity: 0;
}

.payment-method-tab span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    margin-right: 20px;
    color: #94A3B8;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.payment-method-tab input:checked + span {
    color: #2563EB;
    border-bottom-color: #2563EB;
}

.payment-panel {
    display: none;
}

.payment-panel.active {
    display: block;
}

.bank-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bank-option:hover {
    border-color: #2563EB;
}

.bank-option.selected {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.04);
}

.bank-option-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1E293B;
    font-size: 0.92rem;
}

.bank-account-box {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 16px;
}

.bank-account-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1E293B;
    letter-spacing: 0.03em;
}

.bank-account-name {
    color: #64748B;
    font-size: 0.85rem;
    margin-top: 2px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2563EB;
    cursor: pointer;
}

.qris-box {
    text-align: center;
    background: #F8FAFC;
    border-radius: 16px;
    padding: 28px;
}

.qris-box img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px;
    border: 1px solid #E2E8F0;
}

.qris-merchant {
    color: #64748B;
    font-size: 0.82rem;
}

.upload-box {
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    background: #F8FAFC;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-box:hover {
    border-color: #2563EB;
    background: rgba(37, 99, 235, 0.03);
}

.upload-box i {
    font-size: 1.8rem;
    color: #94A3B8;
    margin-bottom: 8px;
    display: block;
}

.upload-box .upload-text {
    color: #1E293B;
    font-weight: 600;
    font-size: 0.9rem;
}

.upload-box .upload-hint {
    color: #94A3B8;
    font-size: 0.78rem;
    margin-top: 4px;
}

.upload-filename {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #2563EB;
    font-weight: 600;
    display: none;
}

/* ============================= */
/* Check Registration            */
/* ============================= */
.data-table-wrap {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    background: #2563EB;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
    white-space: nowrap;
}

.data-table tbody td {
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #1E293B;
    border-top: 1px solid #E2E8F0;
}

.data-table tbody tr:hover {
    background: #F8FAFC;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-lunas,
.status-sudah-terbayar {
    background: rgba(34, 197, 94, 0.12);
    color: #16A34A;
}

.status-lunas::before,
.status-sudah-terbayar::before {
    background: #16A34A;
}

.status-pending,
.status-menunggu-verifikasi {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

.status-pending::before,
.status-menunggu-verifikasi::before {
    background: #DC2626;
}

.status-belum-terbayar {
    background: rgba(148, 163, 184, 0.15);
    color: #64748B;
}

.status-belum-terbayar::before {
    background: #64748B;
}

.btn-cek-status {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 50px;
    background: #2563EB;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cek-status:hover {
    background: #1d4fd1;
    color: #ffffff;
}

.event-result-header {
    text-align: center;
    margin-bottom: 32px;
}

.event-result-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}

.pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination-custom a,
.pagination-custom span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-custom a:hover {
    border-color: #2563EB;
    color: #2563EB;
}

.pagination-custom .active {
    background: #2563EB;
    border-color: #2563EB;
    color: #ffffff;
}

@media (max-width: 700px) {
    .data-table-wrap {
        overflow-x: auto;
    }
    .data-table {
        min-width: 560px;
    }
}

/* ============================= */
/* Admin — Proof of Payment Modal */
/* ============================= */
.proof-thumb-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proof-thumb-btn i {
    font-size: 1rem;
    color: #2563EB;
}

.proof-thumb-btn:hover {
    border-color: #2563EB;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.proof-thumb-btn img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.proof-thumb-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #2563EB;
    padding-right: 6px;
}

.proof-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.proof-modal.open {
    display: flex;
}

.proof-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.proof-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    max-width: 300px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.proof-modal-content img {
    width: 100%;
    max-height: 35vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    margin-bottom: 16px;
}

.proof-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    color: #1E293B;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.proof-modal-close:hover {
    background: #E2E8F0;
}

.proof-modal-meta {
    margin-bottom: 18px;
}

.proof-modal-name {
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 2px;
}

.proof-modal-sub {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
}

.proof-modal-actions {
    display: flex;
    gap: 10px;
}

.proof-modal-actions form {
    flex: 1;
}

.btn-verify {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 50px;
    border: none;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-verify-approve {
    background: rgba(34, 197, 94, 0.12);
    color: #16A34A;
}

.btn-verify-approve:hover {
    background: #16A34A;
    color: #ffffff;
}

.btn-verify-reject {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

.btn-verify-reject:hover {
    background: #DC2626;
    color: #ffffff;
}

.proof-modal-status-note {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
}

.btn-delete-participant {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #FECACA;
    border-radius: 10px;
    background: #FEF2F2;
    color: #DC2626;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-participant:hover {
    background: #DC2626;
    color: #ffffff;
    border-color: #DC2626;
}

.link-inline {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
}

.link-inline:hover {
    opacity: 0.75;
}