.select2-container--bootstrap-5 .select2-selection {
    border-color: #dee2e6;
}

.ql-container {
    font-family: inherit;
    font-size: inherit;
}

.ql-editor {
    min-height: 100px;
}

.ba-wizard-card {
    border-radius: 16px;
    overflow: visible;
}

.ba-wizard-tabs {
    border: 0;
}

.ba-wizard-tabs .nav-link {
    border: 1px solid #dbe4ff;
    border-radius: 999px;
    background: #f8faff;
    color: #5b647a;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ba-wizard-tabs .nav-link.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.22);
}

.ba-wizard-actions {
    border-top: 1px solid #edf0f7;
    background: #ffffff;
}

.ba-wizard-actions .card-body {
    padding: 10px;
    gap: 10px !important;
}

.ba-wizard-actions .text-muted.small {
    margin-bottom: 0;
    font-size: 12px !important;
    line-height: 1.3;
}

.ba-wizard-actions .button.button-sm {
    padding: 6px 12px;
}

.ba-hidden-initial {
    display: none;
}

.ba-pembahasan-toolbar {
    position: sticky;
    top: 10px;
    z-index: 4;
    background: #fff;
    padding: 8px 0;
    border-bottom: 1px solid #edf0f7;
}

.ba-sub-list-wrap {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
}

.ba-sub-list-wrap.has-many-rows {
    max-height: 48vh;
    overflow-y: auto;
    padding-right: 4px;
}

.ba-sub-row-card {
    border-radius: 10px;
}

.ba-sub-row-card .card-header {
    cursor: default;
}

.ba-row-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ba-row-header-main {
    min-width: 0;
}

.ba-row-header-actions {
    flex-shrink: 0;
}

.ba-sub-row-card.is-collapsed .ba-row-body {
    display: none;
}

.row-summary {
    font-size: 12px;
    color: #64748b;
    white-space: normal;
    line-height: 1.4;
}

.row-summary-sub {
    color: #0f172a;
    font-weight: 600;
}

.row-summary-sub-value {
    font-weight: 600;
}

.row-summary-meta {
    margin-top: 1px;
    color: #64748b;
}

.row-pagu-asistensi {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    padding: 4px 8px;
    border-color: #cbd5e1 !important;
    background-color: #f8fafc;
}

.ba-quill-static {
    height: 150px;
}

.ba-static-textarea {
    min-height: 88px;
    resize: vertical;
}

.ba-quill-sub {
    min-height: 120px;
    height: auto;
}
.ba-quill-sub.ql-container {
    min-height: 120px;
    height: auto;
    overflow-y: auto;
}
.ba-quill-sub.ql-container .ql-editor {
    min-height: 120px;
}

.ba-col-nama {
    width: 45%;
}

.ba-col-jabatan {
    width: 45%;
}

.ba-col-aksi {
    width: 10%;
}

@media (max-width: 767.98px) {
    .ba-wizard-actions .text-muted.small {
        display: none;
    }

    .ba-sub-list-wrap {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .ba-sub-list-wrap.has-many-rows {
        max-height: 50vh;
        overflow-y: auto;
        padding-right: 2px;
    }

    .ba-row-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .ba-row-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .row-summary {
        font-size: 11px;
    }
}
