/* ============================================================
   CUSTOM CSS FINAL - IC-AnBioS (Everest Theme)
   ============================================================
   Mencakup:
   - Sembunyikan label "Conference Dates" & "Conference Venue"
   - Sembunyikan breadcrumb
   - Foto bulat fokus ke atas (tidak terpotong kepala)
   - Keynote Speakers: 1 baris, 4 kolom, rata tengah
   - Partners: Layout Flexbox "In Collaboration With" (7 + 6 = 2 Baris)
   - Warna kontras: Focus & Scope, Schedule, Payment
   - Timeline Review Process
   - Footer 3 kolom
   - Responsive tablet & mobile
   ============================================================ */

/* ------------------------------------------------------------
   1. TYPOGRAPHY DASAR
   ------------------------------------------------------------ */
body {
    font-family: inherit !important;
    color: #333 !important;
    line-height: 1.7 !important;
}

/* ------------------------------------------------------------
   2. SEMBUNYIKAN ELEMEN YANG TIDAK PERLU
   ------------------------------------------------------------ */
/* Sembunyikan label "Conference Dates" & "Conference Venue" */
span.ml-2.text-sm.text-gray-600 {
    display: none !important;
}

/* Sembunyikan breadcrumb */
div.breadcrumbs {
    display: none !important;
}

/* ------------------------------------------------------------
   3. FOTO BULAT - FOKUS KE ATAS (NILAI POSITIF)
   ------------------------------------------------------------ */
/* Foto Welcome Speech (Ibu Nurul) */
.ring-amber-600\/30 img,
div[class*="ring-amber"] img,
div[class*="ring-amber"] a img {
    object-fit: cover !important;
    object-position: center top !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Foto Keynote Speaker */
img.h-40.w-40.rounded-full,
img.h-40.w-40 {
    object-fit: cover !important;
    object-position: center top !important;
}

/* Foto bulat umum */
img.object-cover,
img[class*="object-cover"],
.rounded-full img {
    object-fit: cover !important;
    object-position: center top !important;
}

/* Fix foto Welcome Speech (container) */
.w-24.h-24.rounded-full > img,
.w-24.h-24.rounded-full a > img,
div[class*="ring-amber"] > img,
div[class*="ring-amber"] > a > img,
div[class*="ring-amber"] img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ------------------------------------------------------------
   4. KEYNOTE SPEAKERS - 1 BARIS, 4 KOLOM, RATA TENGAH
   ------------------------------------------------------------ */
div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) > div.flex.flex-col.items-center.text-center {
    flex: 0 0 calc(25% - 1rem) !important;
    max-width: calc(25% - 1rem) !important;
    min-width: 0 !important;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) > div > img {
    display: block !important;
    margin: 0 auto 0.75rem auto !important;
    object-position: center top !important;
}

div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) h4,
div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) p {
    text-align: center !important;
    width: 100% !important;
    word-wrap: break-word !important;
}

/* ------------------------------------------------------------
   5. PARTNERS - "In Collaboration With" (FLEXBOX 7 + 6 = 2 BARIS)
   ------------------------------------------------------------ */
/* Ganti teks judul menjadi "In Collaboration With" */
div.container.max-w-7xl:has(> div.flex.flex-col > div.flex.flex-wrap > div > img:not([class*="rounded"])) > div.text-center > h2 {
    visibility: hidden !important;
    position: relative !important;
}

div.container.max-w-7xl:has(> div.flex.flex-col > div.flex.flex-wrap > div > img:not([class*="rounded"])) > div.text-center > h2::after {
    content: "In Collaboration With" !important;
    visibility: visible !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    text-align: center !important;
    font: inherit !important;
    color: inherit !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* Kontainer Flexbox dengan max-width yang dihitung presisi */
div.container.max-w-7xl:has(> div.flex.flex-col > div.flex.flex-wrap > div > img:not([class*="rounded"])) > div.flex.flex-col > div.flex.flex-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important; /* Jarak antar logo */
    max-width: 1150px !important; /* Diperlebar agar 7 logo muat sempurna di baris 1 */
    margin: 0 auto !important;
    padding: 1rem 0 !important;
}

/* Ukuran kotak logo yang seragam */
div.container.max-w-7xl:has(> div.flex.flex-col > div.flex.flex-wrap > div > img:not([class*="rounded"])) > div.flex.flex-col > div.flex.flex-wrap > div {
    width: 130px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

/* Gambar logo agar tidak gepeng */
div.container.max-w-7xl:has(> div.flex.flex-col > div.flex.flex-wrap > div > img:not([class*="rounded"])) > div.flex.flex-col > div.flex.flex-wrap > div > img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ------------------------------------------------------------
   6. REVIEW PROCESS - TIMELINE GAYA LECONFE
   ------------------------------------------------------------ */
.review-process-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
}

.review-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.review-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #0056b3 !important;
    margin-bottom: 0.75rem !important;
}

.review-header p {
    font-size: 1rem !important;
    color: #666 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.review-timeline {
    position: relative !important;
    padding-left: 3rem !important;
}

.review-timeline::before {
    content: '' !important;
    position: absolute !important;
    left: 1.25rem !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3px !important;
    background: linear-gradient(to bottom, #0056b3, #e9ecef) !important;
    border-radius: 2px !important;
}

.review-step {
    position: relative !important;
    margin-bottom: 2rem !important;
}

.review-step:last-child {
    margin-bottom: 0 !important;
}

.review-step-icon {
    position: absolute !important;
    left: -3rem !important;
    top: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    background: #0056b3 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 0 0 4px #e9ecef !important;
    z-index: 1 !important;
}

.review-step-content {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.review-step-content:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.review-step-content h3 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 0.5rem !important;
}

.review-step-content p {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin-bottom: 0.5rem !important;
}

.review-step-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0.5rem 0 !important;
}

.review-step-content ul li {
    position: relative !important;
    padding-left: 1.25rem !important;
    margin-bottom: 0.4rem !important;
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.5 !important;
}

.review-step-content ul li::before {
    content: '•' !important;
    position: absolute !important;
    left: 0 !important;
    color: #0056b3 !important;
    font-weight: 700 !important;
}

.review-step-link {
    display: inline-block !important;
    margin-top: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    background: #0056b3 !important;
    color: #fff !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: background 0.2s ease !important;
}

.review-step-link:hover {
    background: #003d80 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.review-note {
    font-size: 0.85rem !important;
    color: #888 !important;
    font-style: italic !important;
    margin-top: 0.5rem !important;
}

/* ------------------------------------------------------------
   7. FOCUS & SCOPE - WARNA KONTRAS
   ------------------------------------------------------------ */
.focus-scope h1, .focus-scope h2, .focus-scope h3,
.page-focusscope h1, .page-focusscope h2, .page-focusscope h3 {
    color: #0056b3 !important;
    font-weight: 700 !important;
}

/* ------------------------------------------------------------
   8. SCHEDULE - TABEL RAPI
   ------------------------------------------------------------ */
.page-schedule table,
.schedule-table,
.table-schedule {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5rem auto !important;
    text-align: center !important;
    background-color: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.page-schedule th,
.schedule-table th,
.table-schedule th {
    background-color: #0056b3 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.75rem !important;
    text-align: center !important;
    border: 1px solid #004494 !important;
}

.page-schedule td,
.schedule-table td,
.table-schedule td {
    padding: 0.75rem !important;
    text-align: center !important;
    vertical-align: middle !important;
    border: 1px solid #dee2e6 !important;
    color: #333 !important;
}

.page-schedule tr:nth-child(even),
.schedule-table tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

/* ------------------------------------------------------------
   9. PAYMENT - TABEL RAPI
   ------------------------------------------------------------ */
.page-payment table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5rem auto !important;
    text-align: center !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.page-payment th {
    background-color: #0056b3 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.75rem !important;
    text-align: center !important;
    border: 1px solid #004494 !important;
}

.page-payment td {
    padding: 0.75rem !important;
    text-align: center !important;
    border: 1px solid #dee2e6 !important;
    color: #333 !important;
}

.page-payment tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

/* ------------------------------------------------------------
   10. FOOTER - 3 KOLOM
   ------------------------------------------------------------ */
.footer iframe,
footer iframe,
iframe[src*="google.com/maps"] {
    display: none !important;
}

.footer .grid,
footer .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.footer, footer {
    background-color: #f8f9fa !important;
    color: #333 !important;
    padding: 2.5rem 1.5rem !important;
    border-top: 3px solid #0056b3 !important;
    margin-top: 3rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.footer h4, footer h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0056b3 !important;
    margin-bottom: 0.75rem !important;
    text-transform: uppercase !important;
}

.footer ul, footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer ul li, footer ul li {
    margin-bottom: 0.4rem !important;
    color: #444 !important;
}

.footer a, footer a {
    color: #0056b3 !important;
    text-decoration: none !important;
}

.footer a:hover, footer a:hover {
    text-decoration: underline !important;
}

/* ------------------------------------------------------------
   11. RESPONSIVE - TABLET
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    /* Keynote: 2 kolom */
    div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) {
        flex-wrap: wrap !important;
    }
    div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) > div.flex.flex-col.items-center.text-center {
        flex: 0 0 calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
    }
}

/* ------------------------------------------------------------
   12. RESPONSIVE - MOBILE
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    /* Footer: 1 kolom */
    .footer .grid, footer .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .footer, footer {
        padding: 1.5rem 1rem !important;
    }
    
    /* Partners: Kecilkan ukuran kotak logo di HP */
    div.container.max-w-7xl:has(> div.flex.flex-col > div.flex.flex-wrap > div > img:not([class*="rounded"])) > div.flex.flex-col > div.flex.flex-wrap > div {
        width: 90px !important;
        height: 60px !important;
    }
    
    /* Review Timeline mobile */
    .review-timeline {
        padding-left: 2.5rem !important;
    }
    .review-timeline::before {
        left: 0.9rem !important;
    }
    .review-step-icon {
        left: -2.5rem !important;
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.85rem !important;
    }
    .review-step-content {
        padding: 1rem !important;
    }
    .review-header h2 {
        font-size: 1.5rem !important;
    }
}

/* ------------------------------------------------------------
   13. RESPONSIVE - HP KECIL
   ------------------------------------------------------------ */
@media (max-width: 640px) {
    /* Keynote: 1 kolom */
    div.flex.flex-wrap.justify-center.gap-12:has(img.h-40.w-40) > div.flex.flex-col.items-center.text-center {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}