.license-container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1;
}

/*--- Step Navigation ---*/
.license-step-nav {
    position: fixed;
    top: 10% !important;
    right: 0px;
    background: #fff;
    border-radius: 20px 0 0 20px;
    box-shadow: -2px 4px 20px rgba(0, 0, 0, 0.15);
    padding: 10px;
    transition: width 0.5s ease;
    overflow: hidden;
    width: 60px;
    z-index: 1000;
}

.license-step-nav:hover {
    width: 180px;
}

.license-step-item {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #666;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    white-space: nowrap;
    width: 200px;
}

.license-step-item:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.license-step-item.active {
    background: #667eea;
    color: #fff;
    border-left-color: #764ba2;
}

.license-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.license-step-item.active .license-step-number {
    background: #fff;
    color: #667eea;
}

.license-item.completed .license-step-number {
    background: #4caf50;
    color: #fff;
    content: "✓";
}

.license-step-btn {
    display: flex;
    align-items: center;
    padding: 12px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    white-space: nowrap;
    width: 200px;
    background-color: #ffca28;
}

.license-step-btn:hover {
    background: #ffb300;
}

.license-step-number-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

/*--- form content ---*/
.license-main-content {
    margin-right: 80px;
    border-radius: 12px;
    overflow: hidden;
}

.license-content {
    padding: 15px;
}

.license-header {
    /*background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-transform: uppercase;*/
    padding: 20px;
    margin-bottom: 10px;
}

.license-section-header {
    background: linear-gradient(270deg, #666, #999);
    color: #fff;
    margin-top: 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-section-content {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}

.license-section-content.collapsed {
    display: none;
}

.license-btn-submit {
    background: #fff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    border: 2px solid #667eea;
    transition: 0.3s;
}

.license-btn-submit:hover {
    background: #667eea;
    color: #fff;
}

.license-h2 {
    font-size: 1.5em;
}

.license-line {
    width: 100%;
    /* full width */
    height: 3px;
    /* thickness of line */
    background-color: #667eea;
    /* line color */
    margin: 10px 0;
}

.title-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.title-equal {
    margin: 0 10px;
}

.title-data {
    text-transform: uppercase;
}

.license-section-card {
    margin-bottom: 50px;
}

.license-section-card-verify {
    border: 2px solid;
    display: flex;
    border-radius: 10px;
    padding: 10px;
    border-color: limegreen;
    background-color: rgba(0, 255, 0, 0.3);
    font-weight: bold;
}


.collapse {
    transition: all 0.3s ease;
}

.collapse.show {
    transition: all 0.3s ease-in;
}

/* ===== Manpower Table (Struktur Pekerja) ===== */
.manpower-table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

.manpower-table th,
.manpower-table td {
    border: 1px solid #b8b7b7;
    padding: 6px 10px;
    vertical-align: middle;
}

/* Header rows */
.manpower-table thead th {
    background-color: #dae0f3;
    color: #000;
    text-align: center;
    font-weight: 600;
    border-color: #b8b7b7;
}

/* Kategori Kerja (first column) — left-align */
.manpower-table thead th:first-child {
    text-align: left;
}

/* Body data rows */
.manpower-table tbody tr td:first-child {
    background-color: #f8f9fa;
    font-weight: 500;
}

/* Sambilan section divider (black vertical line) */
.manpower-table thead tr:first-child th:nth-child(3),
.manpower-table thead tr:nth-child(2) th:nth-child(4),
.manpower-table tbody td:nth-child(5) {
    border-left: 2px solid #b8b7b7 !important;
}

/* Jumlah (totals) row */
.manpower-table tbody tr.fw-bold td {
    background-color: #e9ecef;
    border-top: 2px solid #b8b7b7;
    font-weight: 700;
}

/* Small pop-up dialog. modal_fullscreen.css forces every .modal-dialog to width:99%/max-width:none,
   which turns a one-field modal into a full-width slab - these override it for opted-in modals only. */
.modal .modal-dialog.modal-popup-sm {
    width: 560px;
    max-width: 92%;
}

/* A pop-up opened on top of another modal: dim the modal behind it instead of sitting under it. */
.modal:has(.modal-popup-sm) + .modal-backdrop {
    /* app.css puts every .modal at --bs-modal-zindex: 99999999 - this sits just under the pop-up
       (100000010) and above the modal it covers. */
    z-index: 100000005;
}
