/* // used in :  
// admina/dashboard/billing-event-pendaftaran.php
// member/billing-event-pendaftaran.php */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-container {
    min-height: 100vh;
    display: flex;
    box-sizing: border-box;
}

.content-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px;
}

.card {
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 12px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 180px;
        height: 180px;
        pointer-events: none;
        z-index: -1;
    }

    &.menunggu-verifikasi {
        &::before {
            background: radial-gradient(
                circle at top left,
                rgba(201, 228, 239, 1) 0%,
                rgba(255, 255, 255, 0) 70%
            );
        }
        .header-icon {
            background-color: #0f6c93;
        }
    }

    &.disetujui {
        &::before {
            background: radial-gradient(
                circle at top left,
                rgba(18, 186, 108, 0.25) 0%,
                rgba(255, 255, 255, 0) 70%
            );
        }
        .header-icon {
            background-color: #12ba6c;
        }
    }

    &.ditolak {
        &::before {
            background: radial-gradient(
                circle at top left,
                rgba(250, 219, 218, 1) 0%,
                rgba(255, 255, 255, 0) 70%
            );
        }
        .header-icon {
            background-color: #fd5350;
        }
    }

    &.perbaikan,
    &.belum-bayar,
    &.edit {
        &::before {
            background: radial-gradient(
                circle at top left,
                rgba(255, 245, 198, 1) 0%,
                rgba(255, 255, 255, 0) 70%
            );
        }
        .header-icon {
            background-color: #dbb80b;
        }
    }
}

.chip {
    padding: 6px 16px;
    border-radius: 100px;
    display: flex;
    gap: 6px;

    &.danger {
        background-color: #ffd9d9;
        color: #820606;
    }

    &.warning {
        background-color: #ffefe3;
        color: #824211;
    }
}

.d-flex {
    display: flex;
}
.flex-column {
    flex-direction: column;
}
.align-items-center {
    align-items: center;
}
.justify-content-center {
    justify-content: center;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.mt-5 {
    margin-top: 5px;
}
.mt-20 {
    margin-top: 20px;
}
.mb-2 {
    margin-bottom: 8px;
}

.card-detail-body {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch !important;
    flex-grow: 1;
    min-height: 0;
}

.card-detail-body > .dynamic-left-column,
.card-detail-body > .dynamic-right-column {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
}

.sub-section-box {
    background: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.judul-section {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2d2d2e;
    margin-bottom: 24px;
}

.full-height-stretch {
    flex-grow: 1;
    display: block !important;
    height: auto !important;
    margin-bottom: 0;
    padding-bottom: 24px !important;
}

.elastic-bottom-section {
    flex-grow: 1;
    display: block !important;
    height: auto !important;
    margin-bottom: 0;
    box-sizing: border-box;
}

.card-detail-header {
    margin-bottom: 20px;
}
.card-header-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 12px !important;
}

.card-header-content::before,
.card-header-content::after,
.card-detail-header::before,
.card-detail-header::after {
    display: none !important;
    content: none !important;
    clear: none !important;
}

.header-icon {
    flex-shrink: 0 !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    margin: 0 !important;
    padding-top: 0 !important;
}

.header-text-block {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

.header-text-block * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.container-first-row-header {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start !important;
    width: 100%;
    margin-top: 2px !important;
    padding-top: 0 !important;
    line-height: 1 !important;
}

.container-kode-pendaftaran {
    line-height: 1 !important;
}

.container-kode-pendaftaran,
.container-log,
.event-title {
    font-size: 1.1rem;
    color: #0f6c93;
}

.container-log {
    flex-shrink: 0;
    white-space: nowrap !important;
    font-weight: 500;
    cursor: pointer;
    line-height: 1 !important;
}

.container-log > span {
    text-decoration: underline;
}

.container-status-pendaftaran > span {
    color: #2d2d2e;
    font-size: 1.2rem;
    font-weight: 500;
}

.label-tanggal-pendaftaran {
    color: #8c8c8c;
    font-weight: 200;
    margin-right: 4px;
}

.text-tanggal-pendaftaran {
    color: #4b4c4d;
}

.container-second-row-header-member,
.container-status-pendaftaran,
.container-second-row-header {
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}
.row.mb-halfrow {
    margin-bottom: 16px;
}
.text-label {
    font-weight: 200;
    color: #8c8c8c;
    margin-bottom: 4px;
}
.text-value {
    font-weight: 300;
    color: #4b4c4d;
}

/* ========================================== */
/* STYLING ELEMEN FORM PADA MODE EDIT          */
/* ========================================== */
.form-control-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
    background: #fff;
    color: #4b4c4d;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;

    &:focus {
        border-color: #0f6c93;
    }
    &.readonly-bg {
        background-color: #f5f5f5;
        color: #8c8c8c;
        cursor: not-allowed;
    }
}

.form-control-textarea {
    width: 100%;
    height: 80px;
    padding: 10px 12px;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
    resize: vertical;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    &:focus {
        border-color: #0f6c93;
    }
}

.form-control-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    outline: none;
}

/* CONTAINER COMPONENT UNTUK RADIO LIST (GAMBAR 2) */
.radio-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;

    .radio-item {
        cursor: pointer;
        font-weight: 300;
        align-items: center;

        input[type="radio"] {
            margin-right: 8px;
            cursor: pointer;
        }

        .radio-text {
            display: inline-flex;
            gap: 15px;
            color: #4b4c4d;

            .tipe-nama {
                min-width: 120px;
            }
            .tipe-harga {
                color: #2d2d2e;
                font-weight: 400;
                min-width: 90px;
            }
            .tipe-note {
                color: #8c8c8c;
                font-size: 0.9rem;
                font-style: italic;
            }
        }
    }
}

/* STYLING MANAGER FOTO DENGAN COAK TOMBOL HAPUS */
.photo-edit-container {
    position: relative;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid #dfdfdf;
    overflow: visible;

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    &.photo-diri {
        width: 80px;
        aspect-ratio: 2 / 3;
    }
    &.photo-kta {
        width: 200px;
        aspect-ratio: 5 / 3;
    }

    .btn-delete-photo {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 26px;
        height: 26px;
        background-color: #e74c3c;
        color: #fff;
        border: none;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
        z-index: 5;

        i {
            font-size: 16px;
        }
        &:hover {
            background-color: #c0392b;
        }
    }
}

/* BOX DRAG DROP PLACEHOLDER */
.upload-placeholder-box {
    width: 180px;
    aspect-ratio: 2 / 3;
    border: 2px dashed #dfdfdf;
    border-radius: 6px;
    background: #fafafa;
    color: #8c8c8c;
    cursor: pointer;
    transition: all 0.2s ease;

    i {
        font-size: 32px;
        margin-bottom: 6px;
    }
    &:hover {
        background: #f3faff;
        border-color: #0f6c93;
        color: #0f6c93;
    }
}

/* BUTTONS ACTION */
.btn-action {
    padding: 12px 24px;
    border-radius: 4px;
    color: #fff;
    text-transform: none;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-weight: 400;
}

.btn-batal {
    background-color: #fff;
    color: #4b4c4d;
    border: 1px solid #dfdfdf;
    &:hover {
        background-color: #f5f5f5;
    }
}

.photo-wrapper {
    /* border: 1px solid #ddd; */
    border-radius: 4px;
}
.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.photo-wrapper.photo-diri {
    width: 80px;
    aspect-ratio: 2 / 3;
}
.photo-wrapper.photo-kta {
    width: 200px;
    aspect-ratio: 5 / 3;
}

.badge-member {
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}
.badge-member.anggota {
    background-color: #e0f4ff;
    color: #0b5cd4;
}

.card-detail-footer {
    margin-top: 20px;
}
.card-detail-footer .separator {
    border-right: 2px solid #dfdfdf;
    height: auto;
}

.success {
    background-color: #00a41e;
}
.warning {
    background-color: #dd8b1f;
}
.danger {
    background-color: #b51111;
}

.success:focus {
    background-color: #00a41e;
}
.warning:focus {
    background-color: #dd8b1f;
}
.danger:focus {
    background-color: #b51111;
}
.primary {
    background-color: #1689d4;

    &:focus {
        background-color: #1689d4;
    }

    &:disabled {
        background-color: #d9d9d9 !important;
    }
}

.section-body .col-xs-6:nth-child(odd) {
    padding-left: 0;
}
.section-body .col-xs-6:nth-child(even) {
    padding-right: 0;
}
.section-body .col-xs-12 {
    padding: 0;
}

.input-group-institusi select:not(:last-child) {
    margin-bottom: 0.25rem;
}

.select-wrapper input.select-dropdown {
    border: 1px solid #dfdfdf !important;
    border-radius: 4px !important;
    padding: 4px 12px !important;
    height: 32px !important;
    line-height: 32px !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    color: #4b4c4d !important;

    text-align: left !important;
}
.select-wrapper .dropdown-content {
    max-height: 200px !important;
    overflow-y: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.select-wrapper .caret {
    fill: #bfbfbf !important;
    right: 16px !important;
}

select.browser-default.select-cabang {
    border: 1px solid #dfdfdf !important;
    border-radius: 4px !important;
    padding: 0 32px 0 12px !important;
    height: 32px !important;
    line-height: 32px !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
    color: #4b4c4d !important;
    text-align: left !important;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239e9e9e%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 8px auto;
}

select.browser-default.select-cabang:focus {
    border-color: #26a69a;
}

.collapsible-card {
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.collapsible-trigger {
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}
.collapsible-trigger:hover {
    background: #f8fafc;
}
.collapsible-arrow-circle {
    width: 32px;
    height: 32px;
    background: #f2f2f2;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition:
        transform 0.3s ease,
        background 0.2s ease;
}
.collapsible-arrow-circle i {
    font-size: 20px;
    color: #4b4c4d;
}
.collapsible-content {
    display: none;
    padding: 0 20px 15px 20px;
    box-sizing: border-box;
}
.content-inner-border {
    border-top: 1px solid #dfdfdf;
    padding-top: 15px;
}
.collapsible-card.is-open .collapsible-arrow-circle {
    background: #f2f2f2;
}

.event-header-content {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
}
.event-poster-wrapper {
    flex-shrink: 0;
    width: 68px;
    height: 105px;
    margin-right: 15px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dfdfdf;
}
.event-poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}
.event-title {
    font-weight: 500;
}
.event-info-row {
    color: #4b4c4d;
    font-size: 1rem;
    font-weight: 400;
}
.event-info-row i {
    font-size: 20px;
    color: #0e6d94;
}

.container-mendaftar-sebagai {
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    color: #4b4c4d;
    overflow: hidden;
}
table#mendaftar-sebagai {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    tr.first-row {
        background-color: #f3faff;
    }
    .third-row {
        font-size: 1.1rem;
        border-bottom: unset;
    }
    .total-pembayaran {
        margin-left: 20px;
        color: #0f6c93;
    }
}
.fw-500 {
    font-weight: 500;
}
.container-bukti-pembayaran {
    flex-wrap: wrap;
}
.photo-bukti-pembayaran img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dfdfdf;
}
.photo-bukti-pembayaran {
    width: 180px;
    aspect-ratio: 2 / 3;
}
.container-button-action {
    flex-wrap: wrap;
}
.secondary {
    font-size: 0.9rem;
    color: #8c8c8c;
    font-weight: 200;
}
/* FORM INPUT */
.radio-group {
    display: flex;
    &.vertical {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        input[type="radio"] {
            margin: 0 8px 0 0 !important;
        }
    }

    &.horizontal {
        flex-direction: row;
        gap: 40px;
        align-items: center;

        .radio-item {
            width: auto;
        }

        input[type="radio"] {
            margin: 5px 8px 0 0 !important;
        }
    }
}

.primary-text {
    color: #0f6c93;
}

.ticket-container-grid {
    & .ticket-column:nth-child(odd) {
        padding-right: 40px;
    }
    & .ticket-column:nth-child(even) {
        padding-left: 40px;
    }

    .ticket-column {
        &.border-right-md {
            @media (min-width: 992px) {
                border-right: 1px solid #eee;
            }
        }
    }

    .ticket-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;

        .ticket-status-badge {
            font-size: 0.75rem;
            background-color: #e0e0e0;
            color: #616161;
            padding: 2px 8px;
            border-radius: 4px;
        }
    }

    .empty-ticket-note {
        font-size: 0.85rem;
        font-style: italic;
        color: #9e9e9e;
        margin-top: 5px;
    }
}

.radio-group {
    display: flex;

    &.horizontal {
        flex-direction: row;
        gap: 40px;
        align-items: center;

        .radio-item {
            width: auto;
        }

        input[type="radio"] {
            margin: 5px 8px 0 0 !important;
        }
    }

    &.vertical {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;

        input[type="radio"] {
            margin: 2px 8px 0 0 !important;
        }
    }
}

.radio-item {
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
    color: #4b4c4d;

    input[type="radio"] {
        appearance: none;
        -webkit-appearance: none;

        position: static !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        cursor: pointer;
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
        margin: 0;
        padding: 0;

        border: 2px solid #8c8c8c;
        border-radius: 50%;
        outline: none;
        background-color: transparent;
        display: inline-grid;
        place-content: center;

        & + span::before,
        & + span::after,
        &::before,
        &::after {
            content: none !important;
            display: none !important;
        }
        & + span {
            padding-left: 0;
        }

        &:not(:disabled) {
            border: 2px solid #4b4c4d;
            background-color: #ffffff;

            &:checked {
                border-color: #1689d4;

                &::before {
                    content: "" !important;
                    display: block !important;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background-color: #1689d4;
                }
            }
        }

        &:disabled,
        &[disabled] {
            cursor: not-allowed;
            border: 2px solid #d9d9d9 !important;
            background-color: #e9eaed;

            &:checked {
                border-color: #8ac4e9 !important;
                background-color: #fff;
                &::before {
                    content: "" !important;
                    display: block !important;
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                    background-color: #8ac4e9 !important;
                }
            }
        }
    }

    .radio-text-grid {
        flex: 1;
        margin: 0;
        align-items: center;
        .text-price {
            color: #4b4c4d;
            font-weight: 300;
        }
        .text-note {
            color: #8c8c8c;
            font-weight: 300;
        }
    }
}

/* Styling Dropzone Upload & Preview Foto */
.upload-container {
    .upload-dropzone {
        position: relative;
        border: 2px dashed #d9d9d9;
        border-radius: 8px;
        width: 200px;
        height: 124px;
        box-sizing: border-box;
        background-color: #fafafa;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: border-color 0.2s;

        transition: all ease 0.2s;
        &:hover {
            background: #f3faff;
            border-color: #0f6c93;
            color: #0f6c93;
        }

        &.portrait {
            width: 180px;
            height: 240px;
        }

        .uploader-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 2;
        }

        .state-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            .upload-icon {
                color: #8c8c8c;
                margin-bottom: 8px;
            }
            .upload-btn-text {
                font-size: 14px;
                color: #8c8c8c;
            }
        }

        /* Container Preview Gambar Aktif */
        .preview-wrapper {
            position: relative;
            display: inline-block;
            z-index: 3;
            width: 100%;
            height: 100%;

            .image-preview {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                object-position: center;
            }

            /* Tombol Hapus Merah Berikon Sampah */
            .btn-delete {
                position: absolute;
                top: 8px;
                right: 8px;
                background-color: #ffe2e2;
                color: #b51111;
                border: none;
                border-radius: 4px;
                width: 28px;
                height: 28px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
                transition: all 0.2s ease;
                z-index: 4;

                &:hover {
                    background-color: #b51111;
                    color: #ffffff;
                }
                &:active {
                    background-color: #8a0b0b;
                    transform: scale(0.95);
                }
            }
        }
    }
}

/* SWAL */
.btn-swal-cancel-blue {
    color: #1689d4 !important;
    border: 1px solid #1689d4 !important;
    box-shadow: none !important;
    background-color: #fff;
    &:hover {
        background-color: #f5fafd !important;
    }
}

.swal-html-custom .swal-text-custom {
    color: #4b4c4d !important;
    font-size: 1.1rem !important;
    margin-top: 8px !important;
}

/* Tombol Confirm kustom */
.swal2-actions .btn-swal-confirm.swal2-styled {
    background-color: #1689d4 !important;
    color: #fff !important;
    box-shadow: none !important;
}

.swal-popup-custom .swal2-actions {
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 0 24px 24px 24px;
    margin-top: 20px;
    box-sizing: border-box;
}

.swal-popup-custom .btn-swal-cancel-blue,
.swal-popup-custom .btn-swal-confirm {
    flex: 1;
    margin: 0 !important;
    padding: 12px 0 !important;
    font-size: 1rem !important;
}

.swal-popup-custom .btn-swal-success-close {
    width: 100%;
    margin: 0 !important;
    padding: 12px 0 !important;
    font-size: 1rem !important;
}

.d-none {
    display: none !important;
}

/* Validasi Error Merah */
.upload-dropzone:has(input.is-invalid),
.upload-dropzone.is-invalid {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.02) !important;
}
.upload-dropzone:has(input.is-invalid) svg,
.upload-dropzone.is-invalid svg {
    stroke: #dc3545;
}
.upload-dropzone:has(input.is-invalid) .upload-btn-text,
.upload-dropzone.is-invalid .upload-btn-text {
    color: #dc3545;
}

#btn-back {
    font-size: 2.3rem;
    cursor: pointer;
}

/* MODAL SEE PHOTO */
.zoomable-img {
    cursor: pointer;
}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);

    justify-content: center;
    align-items: center;
}

#img-modal-target {
    width: auto !important;
    height: auto !important;

    max-width: 90vw !important;
    max-height: 85vh !important;

    object-fit: contain !important;

    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}

/* MODAL PERBAIKAN */
#modal-perbaikan {
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    border-radius: 16px;
    padding: 20px;
}

.modal-header-perbaikan > div {
    margin-bottom: 10px;
}

.modal-event {
    display: flex !important;
    align-items: flex-start;

    border: 1px solid #dfdfdf;
    border-radius: 12px;
    padding: 20px;

    .event-title {
        color: #2d2d2e;
    }

    span {
        color: #8c8c8c;
    }
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 500;
    background-color: #fff;
}

.table-header {
    background-color: #0f6c93;
    color: #ffffff;
    padding: 21px 12px;
    font-size: 0.9;
    border-radius: 4px;
}

.table-row {
    border-bottom: 1px solid #dfdfdf;
    border-top: none;
    padding: 12px;
}

.img-preview {
    max-width: 120px;
    border-radius: 4px;
    display: block;
}

.img-preview-large {
    max-width: 200px;
    border-radius: 4px;
    display: block;
}

.input-field-wrapper {
    margin-top: 20px;
}

.modal .materialize-textarea {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    min-height: 70px;
    font-size: 13px;
    box-shadow: none !important;
}

.modal .materialize-textarea:focus {
    border-color: #0288d1 !important;
}

.modal-footer {
    padding: 0 10px !important;

    button {
        min-width: 150px;
    }
}

.btn-outline {
    border: 1px solid #1689d4;
    color: #1689d4;
    border-radius: 6px;
    background-color: transparent;

    position: unset !important;
    font-size: 1rem !important;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
    border: 2px solid #1689d4;
    background-color: #1689d4;
}

.table-row .text-value {
    display: flex;
    align-items: center;
}

.table-row .text-value .row {
    width: 100%;
    margin: 0;
}

.table-row .icon-text-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* MODAL LOG HISTORY */
.modal.log-modal {
    max-width: 420px;
    border-radius: 16px !important;
    background-color: #ffffff;
    overflow: hidden;
    min-height: 500px;
    max-height: 70vh;
}

.log-modal-content {
    padding: 24px 24px 16px 24px !important;
}

.log-title {
    margin: 0;
    font-weight: 500;
    color: #262626;
    font-size: 1.1rem;
}

.btn-close-log {
    padding: 0 !important;
    height: auto !important;
    line-height: normal !important;
    color: #262626;
}

.btn-close-log i {
    font-size: 1.5rem;
}

.log-divider {
    margin-top: 12px;
    margin-bottom: 20px;
    background-color: #e5e5e5;
}

.log-modal-body {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 8px;
}

.log-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.log-item:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
}

.log-timestamp {
    color: #8c8c8c;
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 0.3px;
}

.log-text {
    color: #4b4c4d;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 300;
}

.log-text b {
    font-weight: 600;
}

.text-log-fields {
    color: #8c8c8c;
    font-size: 0.92rem;
    font-weight: 300;
    font-style: italic;
}

.log-modal-body::-webkit-scrollbar {
    width: 6px;
}

.log-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.log-modal-body::-webkit-scrollbar-thumb {
    background: #c1c7d0;
    border-radius: 10px;
}

.log-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0a7b5;
}

/* FOR MEMBER STATUS DETAIL */
.container-second-row-header-member {
    font-size: 1.1rem;
    color: #4b4c4d;
    font-weight: 400;
    width: 100%;
    white-space: normal !important; /* Memastikan teks TIDAK dalam satu baris lurus */
    word-break: break-word !important; /* Memotong kata jika sudah terlalu panjang di ujung */
    overflow-wrap: anywhere !important;
}

.btn-action-member {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 6px;
}

.container-third-row-header-member {
    margin-top: 8px;
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
    .content-section {
        margin-top: 30px;
    }
    .title-page {
        font-size: 1.2rem;
    }
    .section-body .col-xs-12 {
        padding: 0;
    }
    .wrapper-pembayaran {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        > div {
            flex: 0 0 50% !important;
            max-width: 50% !important;
        }
        > div:nth-child(1) {
            order: 1;
            margin-bottom: 10px;
        }
        > div:nth-child(3) {
            order: 2;
        }
        > div:nth-child(2) {
            order: 3;
        }
    }
    .header-icon {
        width: 30px;
        height: 30px;
        i {
            font-size: 15px;
        }
    }
    .photo-bukti-pembayaran,
    .upload-placeholder-box {
        width: 100%;
    }
    .card-detail-footer {
        margin-bottom: 8px;
    }
    .container-button-action .btn-action {
        width: 100%;
        justify-content: center;
    }
    .card-detail-footer .separator {
        border-right: unset;
        border-bottom: 2px solid #dfdfdf;
        width: 100%;
    }
    .dynamic-left-column {
        margin-bottom: 20px;
    }
}
