/* =========================================
ADMIN PEKERJA
========================================= */

.adminPekerjaWrapper{
    padding:20px;
}

.adminPekerjaCard{
    background:#fff;
    border-radius:24px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    border:1px solid #e9ecef;
}

.adminPekerjaHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.adminPekerjaTitle{
    font-size:1.7rem;
    font-weight:700;
    margin-bottom:5px;
    color:#1f2937;
}

.adminPekerjaSubtitle{
    margin:0;
    color:#6b7280;
    font-size:0.95rem;
}

.adminBtnTambah{
    border-radius:50px;
    padding:10px 22px;
    font-weight:600;
    box-shadow:0 5px 15px rgba(25,135,84,0.25);
}

.adminPekerjaTable{
    margin-bottom:0;
}

.adminPekerjaTable thead th{
    background:#f8fafc;
    border-bottom:2px solid #e5e7eb;
    color:#374151;
    font-weight:700;
    font-size:0.95rem;
    vertical-align:middle;
    white-space:nowrap;
}

.adminPekerjaTable tbody td{
    vertical-align:middle;
    border-color:#f1f5f9;
}

.adminPekerjaTable tbody tr{
    transition:all .25s ease;
}

.adminPekerjaTable tbody tr:hover{
    background:#f8fbff;
}

.adminFotoWrapper{
    width:80px;
    height:80px;
    overflow:hidden;
    border-radius:14px;
    border:2px solid #e5e7eb;
    background:#fff;
}

.adminFotoPekerja{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .3s ease;
}

.adminFotoWrapper:hover .adminFotoPekerja{
    transform:scale(1.08);
}

.adminNamaPekerja{
    font-weight:700;
    color:#111827;
}

.adminTanggal{
    color:#6b7280;
    font-size:0.95rem;
}

.adminDeskripsi{
    max-width:260px;
    line-height:1.5;
    color:#4b5563;
}

.adminActionGroup{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.adminActionBtn{
    width:38px;
    height:38px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:all .25s ease;
    font-size:15px;
}

.editBtn{
    background:#e0f2fe;
    color:#0284c7;
}

.editBtn:hover{
    background:#0284c7;
    color:#fff;
    transform:translateY(-2px);
}

.deleteBtn{
    background:#fee2e2;
    color:#dc2626;
}

.deleteBtn:hover{
    background:#dc2626;
    color:#fff;
    transform:translateY(-2px);
}

@media (max-width: 768px){

    .adminPekerjaWrapper{
        padding:10px;
    }

    .adminPekerjaCard{
        padding:18px;
        border-radius:18px;
    }

    .adminPekerjaTitle{
        font-size:1.3rem;
    }

    .adminBtnTambah{
        width:100%;
        justify-content:center;
    }

    .adminDeskripsi{
        min-width:180px;
    }

}

/* =========================================
FORM TAMBAH PEKERJA
========================================= */

.adminBackWrapper{
    position:fixed;
    top:100px;
    right:20px;
    z-index:99;
}

.adminBtnBack{
    border-radius:50px;
    padding:10px 22px;
    font-weight:700;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.adminFormCard{
    background:#fff;
    border-radius:28px;
    padding:35px;
    box-shadow:0 10px 35px rgba(0,0,0,0.07);
    border:1px solid #edf2f7;
    margin:20px 0;
}

.adminFormHeader{
    margin-bottom:35px;
    border-bottom:1px solid #e5e7eb;
    padding-bottom:20px;
}

.adminFormTitle{
    font-size:2rem;
    font-weight:800;
    color:#111827;
    margin-bottom:8px;
}

.adminFormSubtitle{
    color:#6b7280;
    margin:0;
    font-size:0.96rem;
}

.adminFormLabel{
    font-weight:700;
    color:#374151;
    margin-bottom:10px;
}

.adminFormCard .form-control,
.adminFormCard .form-select{
    min-height:48px;
    border-radius:14px;
    border:1px solid #d1d5db;
    box-shadow:none;
    transition:all .25s ease;
}

.adminFormCard textarea.form-control{
    min-height:140px;
}

.adminFormCard .form-control:focus,
.adminFormCard .form-select:focus{
    border-color:#0dcaf0;
    box-shadow:0 0 0 .20rem rgba(13,202,240,.15);
}

.adminFormCard .input-group-text{
    border-radius:0 14px 14px 0;
    background:#f8fafc;
    border:1px solid #d1d5db;
    font-weight:600;
}

.adminFormButtonGroup{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.adminBtnForm{
    min-width:150px;
    min-height:48px;
    border-radius:14px;
    font-weight:700;
}

#provinsi_list{
    border-radius:18px;
    background:#f8fafc;
    border:1px solid #dee2e6 !important;
    padding:20px !important;
}

#provinsi_list .card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(0,0,0,0.06);
}

#provinsi_list .card-header{
    background:#0dcaf0;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.form-check-input{
    cursor:pointer;
}

.form-check-label{
    cursor:pointer;
}

@media (max-width: 768px){

    .adminBackWrapper{
        position:relative;
        top:auto;
        right:auto;
        margin-bottom:20px;
    }

    .adminBtnBack{
        width:100%;
    }

    .adminFormCard{
        padding:20px;
        border-radius:22px;
    }

    .adminFormTitle{
        font-size:1.5rem;
    }

    .adminFormButtonGroup{
        flex-direction:column;
    }

    .adminBtnForm{
        width:100%;
    }

}
/* =========================================
SECTION DETAIL PEKERJA
========================================= */

.adminSectionCard{
    background:#fff;
    border-radius:24px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    border:1px solid #e5e7eb;
}

.adminSectionHeader{
    margin-bottom:25px;
    padding-bottom:15px;
    border-bottom:1px solid #e5e7eb;
}

.adminSectionTitle{
    font-size:1.25rem;
    font-weight:700;
    color:#111827;
    margin:0;
}

.adminInputCard{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:18px;
    margin-bottom:18px;
    transition:all .25s ease;
}

.adminInputCard:hover{
    border-color:#0dcaf0;
    background:#fff;
}

.adminRadioGroup{
    display:flex;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
}

.adminCheckboxGrid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
}

.adminCheckboxGrid .form-check{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:10px 14px;
}

.adminProvinsiWrapper{
    max-height:500px;
    overflow:auto;
    padding:10px;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid #dee2e6;
}

.adminSelectAll{
    background:#ecfdf5;
    border:1px solid #bbf7d0;
    padding:15px;
    border-radius:14px;
    margin-bottom:15px;
}

.adminProvinsiCard{
    border:none;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(0,0,0,0.06);
}

.adminProvinsiHeader{
    background:linear-gradient(135deg,#06b6d4,#0ea5e9);
    color:#fff;
    font-weight:700;
    cursor:pointer;
    padding:14px 16px;
    transition:all .25s ease;
}

.adminProvinsiHeader:hover{
    filter:brightness(1.05);
}

.adminProvinsiBody{
    background:#fff;
    max-height:300px;
    overflow:auto;
}

@media (max-width: 768px){

    .adminSectionCard{
        padding:18px;
        border-radius:20px;
    }

    .adminCheckboxGrid{
        grid-template-columns:1fr;
    }

    .adminRadioGroup{
        gap:15px;
    }

}

/*/////===== Edit Pekerja Form ===// */
/* =========================
ADMIN EDIT PEKERJA
========================= */

.admin_editpekerja{
    background: #f8fafc;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* FORM */

.admin_editpekerja .form-control,
.admin_editpekerja .bootstrap-select .dropdown-toggle{
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #dbe3ea;
    font-size: 14px;
    box-shadow: none !important;
}

.admin_editpekerja .form-control:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12) !important;
}

.admin_editpekerja label{
    font-weight: 700;
    margin-bottom: 10px;
    color: #334155;
    display:block;
    font-size:14px;
}

/* =========================
SELECTPICKER MODERN BS5
========================= */
/* FIX SELECTPICKER BS5 */
.admin_editpekerja .bootstrap-select{
    width:100% !important;
    display:block !important;
}

.admin_editpekerja .bootstrap-select .dropdown-toggle{
    min-height:52px !important;
    border-radius:16px !important;
    border:1px solid #d7dee7 !important;
    background:#fff !important;
    padding:12px 18px !important;
    font-size:14px;
    font-weight:600;
    color:#334155 !important;
    box-shadow:none !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
}

.admin_editpekerja .bootstrap-select .filter-option{
    display:flex;
    align-items:center;
    overflow:hidden;
}

.admin_editpekerja .bootstrap-select .dropdown-menu{
    border:none;
    border-radius:18px;
    overflow:hidden;
    margin-top:10px !important;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    padding:10px;
}

.admin_editpekerja .bootstrap-select > .dropdown-toggle:hover,
.admin_editpekerja .bootstrap-select > .dropdown-toggle:focus,
.admin_editpekerja .bootstrap-select.show > .dropdown-toggle{
    border-color:#2563eb !important;
    box-shadow:0 0 0 5px rgba(37,99,235,.13) !important;
    background:#fff !important;
}

/* isi text select */
.admin_editpekerja .bootstrap-select .filter-option{
    display:flex;
    align-items:center;
    overflow:hidden;
    width:100%;
}

.admin_editpekerja .bootstrap-select .filter-option-inner-inner{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#0f172a;
    font-weight:600;
}

/* ICON ARROW */
.admin_editpekerja .bootstrap-select .dropdown-toggle::after{
    border:none !important;
    content:"\f107";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    font-size:14px;
    color:#64748b;
    margin-left:12px;
}

/* DROPDOWN MENU */
.admin_editpekerja .bootstrap-select .dropdown-menu{
    border:none;
    border-radius:20px;
    overflow:hidden;
    margin-top:10px !important;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
    padding:10px;
    background:#fff;
}

.admin_editpekerja .bootstrap-select .dropdown-menu .inner{
    max-height:260px !important;
}

/* ITEM */
.admin_editpekerja .bootstrap-select .dropdown-menu li a{
    border-radius:14px;
    padding:12px 15px;
    font-size:14px;
    font-weight:500;
    transition:.25s;
    color:#334155;
}

.admin_editpekerja .bootstrap-select .dropdown-menu li a:hover{
    background:linear-gradient(135deg,#0ea5e9,#2563eb);
    color:#fff !important;
}

.admin_editpekerja .bootstrap-select .dropdown-menu li.selected a{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff !important;
}

/* SEARCH */
.admin_editpekerja .bootstrap-select .bs-searchbox{
    padding:10px;
    border-bottom:1px solid #eef2f7;
    margin-bottom:8px;
}

.admin_editpekerja .bootstrap-select .bs-searchbox input{
    border-radius:14px;
    border:1px solid #d7dee7;
    min-height:46px;
    padding:10px 15px;
    box-shadow:none !important;
    font-size:14px;
}

.admin_editpekerja .bootstrap-select .bs-searchbox input:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12) !important;
}

/* placeholder */
.admin_editpekerja .bootstrap-select .bs-placeholder{
    color:#94a3b8 !important;
    font-weight:500 !important;
}

/* NAV TAB */

.admin_editpekerja .nav-tabs{
    border: none;
    gap: 10px;
    margin-bottom: 25px;
}

.admin_editpekerja .nav-tabs .nav-link{
    border: none;
    border-radius: 14px;
    background: #edf2f7;
    color: #334155;
    font-weight: 600;
    padding: 12px 20px;
}

.admin_editpekerja .nav-tabs .nav-link.active{
    background: linear-gradient(135deg,#0ea5e9,#2563eb);
    color: #fff;
}

/* KOTA BERSEDIA */

#provinsi_list{
    background: #fff;
    border-radius: 18px;
    padding: 15px;
    border: 1px solid #dbe3ea;
}

.provinsi-card{
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dbe3ea;
    margin-bottom: 15px;
    background: #fff;
}

.provinsi-header{
    background: linear-gradient(135deg,#0ea5e9,#2563eb);
    color: #fff;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 700;
}

.provinsi-body{
    padding: 15px;
    background: #f8fafc;
}

.provinsi-body label{
    display: block;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    transition: .3s;
    cursor: pointer;
}

.provinsi-body label:hover{
    background: #eff6ff;
    border-color: #3b82f6;
}

.provinsi-body input[type=checkbox]{
    margin-right: 10px;
}

/* RADIO */

.admin_editpekerja .form-check{
    margin-bottom: 10px;
}

/* BUTTON */

.admin_editpekerja .btn{
    border-radius: 14px;
    padding: 10px 22px;
    font-weight: 600;
}

/* DROP AREA */

#drop-box,
#polisi,
#dokter,
#referensi{
    border: 2px dashed #94a3b8;
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    background: #fff;
    transition: .3s;
    cursor: pointer;
}

#drop-box:hover,
#polisi:hover,
#dokter:hover,
#referensi:hover{
    background: #eff6ff;
    border-color: #2563eb;
}
/* =========================
LABEL
========================= */

.admin_editpekerja-label{
    font-size:15px;
    font-weight:700;
    color:#334155;
    margin-bottom:10px;
    display:block;
}

/* =========================
RADIO STYLE
========================= */

.admin_editpekerja-radio{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    background:#fff;
    border:1px solid #dbe3ea;
    border-radius:16px;
    padding:14px 18px;
    min-height:54px;
    align-items:center;
}

.admin_editpekerja-radio .form-check{
    margin-bottom:0;
}

/* =========================
INPUT GROUP
========================= */

.admin_editpekerja .input-group-text{
    border-radius:0 14px 14px 0;
    border:1px solid #dbe3ea;
    background:#f1f5f9;
    font-weight:600;
    color:#475569;
}

/* =========================
CHECKBOX GRID
========================= */

.admin_editpekerja-checkgrid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:14px;
    margin-top:12px;
}

.admin_editpekerja-checkitem{
    display:flex;
    align-items:center;
    gap:10px;
    background:#fff;
    border:1px solid #dbe3ea;
    border-radius:16px;
    padding:14px 16px;
    transition:.3s;
    cursor:pointer;
    font-weight:600;
    color:#334155;
}

.admin_editpekerja-checkitem:hover{
    border-color:#2563eb;
    background:#eff6ff;
}

.admin_editpekerja-checkitem input[type=checkbox]{
    width:18px;
    height:18px;
}
/* =========================
FORM GROUP
========================= */

.admin-form-group{
    margin-bottom: 18px;
}

.admin-label{
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
    display: inline-block;
}

/* =========================
INPUT & TEXTAREA
========================= */

.admin-input,
.admin-textarea{
    border-radius: 16px !important;
    border: 1px solid #d7dee7 !important;
    min-height: 52px;
    padding: 14px 16px;
    font-size: 14px;
    box-shadow: none !important;
    transition: .3s;
}

.admin-textarea{
    min-height: 160px;
    resize: vertical;
}

.admin-input:focus,
.admin-textarea:focus{
    border-color:#2563eb !important;
    box-shadow:0 0 0 4px rgba(37,99,235,.12) !important;
}

/* =========================
RADIO GROUP
========================= */

.admin-radio-group{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.admin-radio-card{
    position:relative;
    cursor:pointer;
}

.admin-radio-card input{
    display:none;
}

.admin-radio-card span{
    min-width:110px;
    padding:14px 20px;
    border-radius:16px;
    background:#fff;
    border:1px solid #d7dee7;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    transition:.3s;
    color:#334155;
}

.admin-radio-card input:checked + span{
    background:linear-gradient(135deg,#0ea5e9,#2563eb);
    color:#fff;
    border-color:transparent;
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

/* =========================
CHECKBOX STYLE
========================= */

.admin-checkbox-wrapper{
    background:#fff;
    border-radius:20px;
    border:1px solid #dbe3ea;
    padding:20px;
}

.admin-check-card{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:14px 16px;
    cursor:pointer;
    transition:.3s;
    height:100%;
    font-size:14px;
    font-weight:600;
    color:#334155;
}

.admin-check-card:hover{
    background:#eff6ff;
    border-color:#3b82f6;
    transform:translateY(-2px);
}

.admin-check-card input[type=checkbox]{
    width:18px;
    height:18px;
    accent-color:#2563eb;
    flex-shrink:0;
}
/* =========================
MODERN SELECT BS5
========================= */

.admin_editpekerja .admin-select{
    min-height: 54px;
    border-radius: 18px;
    border: 1px solid #d7dee7;
    background-color: #fff;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    box-shadow: none !important;
    transition: all .3s ease;
}

.admin_editpekerja .admin-select:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12) !important;
}

/* supaya panah select lebih modern */

.admin_editpekerja .admin-select{
    background-position: right 16px center;
    background-size: 14px;
}

/* OPTION */

.admin_editpekerja .admin-select option{
    padding: 10px;
}

/* =========================
GRID PERSONAL DATA
========================= */

.admin_editpekerja-grid{
    margin-bottom: 10px;
}

.admin_editpekerja-card{
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    height: 100%;
    transition: .3s;
    box-shadow: 0 4px 14px rgba(15,23,42,.04);
}

.admin_editpekerja-card:hover{
    border-color: #93c5fd;
    box-shadow: 0 10px 30px rgba(37,99,235,.10);
}

.admin_editpekerja-label{
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.admin_editpekerja-select{
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #d7dee7;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    padding-left: 14px;
    box-shadow: none !important;
    transition: .3s;
}

.admin_editpekerja-select:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12) !important;
}

.admin_editpekerja-select option{
    padding: 10px;
}

/* =========================
PHOTO CARD
========================= */

.admin_editpekerja-photo-card{
    border-radius:20px;
    overflow:hidden;
    transition:.3s;
    background:#fff;
}

.admin_editpekerja-photo-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(0,0,0,.12) !important;
}

.admin_editpekerja-photo-wrap{
    position:relative;
    overflow:hidden;
    background:#f1f5f9;
}

.admin_editpekerja-photo{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.4s;
}

.admin_editpekerja-photo-card:hover .admin_editpekerja-photo{
    transform:scale(1.05);
}

.admin_editpekerja-photo-card .btn{
    min-width:120px;
    font-weight:600;
}
/* =========================
MOBILE
========================= */

@media(max-width:768px){

    .admin-radio-group{
        flex-direction:column;
    }

    .admin-radio-card span{
        width:100%;
    }

}
/* MOBILE */

@media(max-width:768px){

    .admin_editpekerja{
        padding: 15px;
    }

    .provinsi-header{
        font-size: 14px;
    }

    .admin_editpekerja .bootstrap-select > .dropdown-toggle{
        min-height:52px;
        border-radius:15px !important;
        padding:12px 15px !important;
        font-size:14px;
    }

}