/* ===== LIST ===== */
.speaker-list {
    max-width: '100%';
    margin: 0;
}

/* ===== CARD ===== */
.speaker-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    margin-bottom: 16px;
    overflow: hidden;
}

/* ===== HEADER ===== */
.speaker-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
}

/* ===== AVATAR ===== */
.speaker-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.speaker-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* FLAG */
.speaker-avatar .flag {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: auto;
    border-radius: 3px;
    border: 2px solid #fff;
}

/* ===== MAIN INFO ===== */
.speaker-main {
    flex: 1;
    text-align: left;
}

.speaker-name {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #1f3a3a;
}

.speaker-title {
    margin: 2px 0;
    font-size: 14px;
    color: #6b7280;
}

.speaker-company {
    margin: 0;
    font-size: 14px;
    color: #9ca3af;
}

/* ===== TOGGLE ICON ===== */
.speaker-toggle-icon {
    position: absolute;
    right: 16px;
    top: 20px;
}

.speaker-toggle-icon i {
    transition: transform .3s ease;
    color: #444;
}

/* ===== BODY ===== */
.speaker-body {
    display: none;
    padding: 0 18px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    text-align: justify;
}

/* ACTIVE */
.speaker-card.active .speaker-body {
    display: block;
}

.speaker-card.active .speaker-toggle-icon svg {
    transform: rotate(180deg);
}


.session-schedule {
    margin: 15px 0px;
}

.session-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #32325d;
    margin-bottom: 10px;
}

.session-item {
    background: #d32f2f;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 10px;
}

.session-item:hover {
    background: #d80f0f;
    box-shadow: 0 4px 12px rgba(235, 47, 47, 0.05);
}

.session-topic {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.session-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    color: #ffffff;
    gap: 15px;
}

.content-wrapper {
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 0.375rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    text-align: center;
}

.session-meta i {
    margin-right: 4px;
    color: #ffffff;
    /* argon primary */
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 15px;
        background-color: #ffffff;
        border-radius: 0.375rem;
        box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
        text-align: center;
    }

    .speaker-name {
        font-size: 15px;
    }

    .speaker-list {
        max-width: 900px;
        margin: auto;
    }

    .speaker-toggle-icon {
        position: absolute;
        top: 16px;
        right: 12px;
        cursor: pointer;
        font-size: 12px;
        color: #555;
    }

    .speaker-title {
        font-size: 12px;
    }

    .speaker-body {
        max-height: 220px;
        /* atur sesuai kebutuhan */
        overflow-y: auto;
        padding-right: 8px;
        /* biar scrollbar tidak nutup teks */
        font-family: "Google Sans", Arial, sans-serif;
    }

    /* Scrollbar cantik (Chrome, Edge, Safari) */
    .speaker-body::-webkit-scrollbar {
        width: 5px;
    }

    .speaker-body::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }

    .speaker-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .speaker-company {
        font-size: 12px;
    }

    .speaker-body {
        font-size: 11px;
        text-align: justify;
    }

    .speaker-avatar {
        width: 56px;
        height: 56px;
    }

    .session-meta {
        flex-direction: column;
        font-size: 12px;
        gap: 4px;
    }

    .session-topic {
        font-size: 13px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 6px;
    }
}



/* ===============================
CSS FOR EXHIBITOR
================================ */

.exhibitor-list {
    max-width: 1100px;
    margin: auto;
}

/* ===============================
CARD
================================ */
.exhibitor-card {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    overflow: hidden;
    transition: transform .2s ease;
}

/* ===============================
HEADER
================================ */
.exhibitor-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    cursor: pointer;
}

/* ===============================
LOGO
================================ */
/* Wrapper logo */
.exhibitor-logo {
    position: relative;
    display: inline-block;
}

/* Logo utama */
.exhibitor-logo .logo-main {
    width: 90px;
    margin-bottom: 10px;
    object-fit: contain;
}

/* Bendera overlay */
.exhibitor-logo .flag-overlay {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    background: #fff;
}

/* ===============================
MAIN INFO
================================ */
.exhibitor-main {
    flex: 1;
    text-align: left;
}

.booth {
    font-size: 15px;
    font-weight: 700;
    color: #0d6efd;
}

.booth-poin {
    font-size: 12px;
    font-weight: 700;
    color: #0d6efd;
}

/* Wrapper teks */
.exhibitor-name-wrap {
    position: relative;
    display: inline-block;
    padding-left: 26px;
    /* ruang untuk flag */
}

/* Nama perusahaan */
.exhibitor-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.exhibitor-name-poin {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.badge-poin {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
}

/* Flag nempel kiri atas */
.flag-inline {
    position: absolute;
    top: 5px;
    left: 0;
    width: 18px;
    height: auto;
    border-radius: 2px;
}

/* ===============================
ARROW (POJOK KANAN ATAS)
================================ */
.toggle-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.toggle-icon svg {
    transition: transform .3s ease;
}

.exhibitor-card.active .toggle-icon svg {
    transform: rotate(180deg);
}

/* ===============================
BODY (DROPDOWN)
================================ */
.exhibitor-body {
    display: none;
    padding: 0 28px 24px;
    border-top: 1px solid #eee;
}

.exhibitor-detail p {
    margin: 6px 0;
    font-size: 14px;
    color: #4b5563;
    text-align: justify;
}

.exhibitor-detail .exhibitor-desc {
    margin-top: 10px;
    line-height: 1.6;
}

.exhibitor-info {
    display: flex;
    justify-content: center;
    /* CENTER HORIZONTAL */
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.exhibitor-info p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    white-space: nowrap;
}

/* ===============================
ACTIVE STATE
================================ */
.exhibitor-card.active .exhibitor-body {
    display: block;
}

.exhibitor-card.active .arrow {
    transform: rotate(-135deg);
}

/* ===============================
MOBILE ADJUSTMENT
================================ */
@media (max-width: 768px) {

    .exhibitor-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .exhibitor-logo .logo-main {
        width: 90px;
        max-height: 50px;
        margin-bottom: 10px;
    }

    /* Bendera overlay */
    .exhibitor-logo .flag-overlay {
        position: absolute;
        bottom: 0px;
        right: 0;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #fff;
        background: #fff;
    }

    .exhibitor-name-wrap {
        position: static;
        display: flex;
        /* GANTI STRATEGI */
        align-items: center;
        justify-content: center;
        /* CENTER RAPI */
        gap: 6px;
        padding-left: 0;
        text-align: center;
    }

    .flag-inline {
        position: absolute;
        width: 16px;
        margin: 0;
        left: 20px;
        top: 30px;
    }

    .exhibitor-name {
        font-size: 16px;
    }

    .exhibitor-body {
        max-height: 220px;
        /* atur sesuai kebutuhan */
        overflow-y: auto;
        padding-right: 8px;
        /* biar scrollbar tidak nutup teks */
    }

    .booth-poin {
        font-size: 10px;
        font-weight: 700;
        color: #0d6efd;
    }

    .exhibitor-name-poin {
        margin: 0;
        font-size: 10px;
        font-weight: 700;
        color: #1f2937;
        line-height: 1.2;
    }

    .badge-poin {
        margin: 0;
        font-size: 8px;
        font-weight: 700;
        padding: 4px 8px;
    }

    /* Target specific point section for even more compact layout */
    .section-pane#poin .exhibitor-card {
        margin-bottom: 8px;
    }

    .section-pane#poin .exhibitor-header {
        flex-direction: row;
        text-align: left;
        padding: 12px 15px;
        gap: 12px;
        align-items: center;
    }

    .section-pane#poin .exhibitor-main {
        text-align: left;
    }

    .section-pane#poin .exhibitor-name-poin {
        font-size: 11px;
    }

    /* Scrollbar cantik (Chrome, Edge, Safari) */
    .exhibitor-body::-webkit-scrollbar {
        width: 5px;
    }

    .exhibitor-body::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }

    .exhibitor-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .exhibitor-body .exhibitor-desc {
        font-size: 12px;
        text-align: justify;
    }

    .exhibitor-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .exhibitor-info p {
        white-space: normal;
        font-size: 12px;
    }
}