/* ======================================================
   KALKULATOR-HARGA.CSS - khusus halaman Kalkulator Harga
   di App (port dari gaya kf-* yang sudah ada di Dashboard)
   ====================================================== */

.kf-tab-bar{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:8px;
    margin-bottom:14px;
    -webkit-overflow-scrolling:touch;
}

.kf-tab-bar::-webkit-scrollbar{
    display:none;
}

.kf-tab{
    flex:0 0 auto;
    background:#F3F4F6;
    color:#6B7280;
    border:none;
    border-radius:999px;
    padding:9px 16px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
}

.kf-tab.aktif{
    background:#111827;
    color:#FFFFFF;
}

.kf-tab-tambah{
    background:#F0FDF4 !important;
    color:#16A34A !important;
    padding:9px 12px !important;
    display:flex;
    align-items:center;
    justify-content:center;
}

.kf-tab-tambah .material-symbols-rounded{
    font-size:18px;
}

.kalkulator-card{
    margin-bottom:12px;
    padding:12px !important;
}

.kf-header{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin-bottom:2px;
}

.kf-section-label{
    font-size:11px;
    font-weight:600;
    color:#9CA3AF;
    margin:8px 0 2px;
    text-transform:uppercase;
    letter-spacing:.02em;
}

.kf-field-list{
    display:flex;
    flex-direction:column;
    margin-bottom:4px;
}

.kf-field-kosong{
    font-size:12px;
    color:#9CA3AF;
    padding:6px 0;
}

.kf-field-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:transparent;
    border:none;
    border-bottom:1px solid #F3F4F6;
    border-radius:0;
    padding:7px 0;
    gap:6px;
    flex-wrap:wrap;
}

.kf-field-list .kf-field-row:last-child,
.kf-modal-wrap .kf-field-row:last-child{
    border-bottom:none;
}

.kf-field-label{
    font-size:12.5px;
    color:#374151;
    font-weight:600;
    flex:1 1 auto;
}

.kf-field-value-area{
    display:flex;
    align-items:center;
    gap:6px;
}

.kf-field-display{
    font-size:12.5px;
    color:#111827;
    font-weight:700;
}

.kf-btn-icon{
    width:24px;
    height:24px;
    border:none;
    background:transparent;
    color:#6B7280;
    border-radius:7px;
    cursor:pointer;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

.kf-btn-icon .material-symbols-rounded{
    font-size:16px;
}

.kf-btn-icon:active{
    background:#F3F4F6;
}

.kf-btn-x{
    width:24px;
    height:24px;
    border:none;
    background:transparent;
    color:#DC2626;
    font-size:11px;
    border-radius:7px;
    cursor:pointer;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

.kf-btn-x-besar{
    width:26px;
    height:26px;
    font-size:12px;
    background:#FEE2E2;
}

.kf-input-wrap-edit{
    display:flex;
    align-items:center;
    gap:5px;
    background:#FFFFFF;
    border:1px solid #D1D5DB;
    border-radius:8px;
    padding:0 8px;
    height:30px;
}

.kf-input-edit,
.kf-input-modal-edit,
.kf-input-harga-jual-manual-edit{
    border:none;
    outline:none;
    width:80px;
    font-size:12.5px;
    font-family:inherit;
}

.kf-unit{
    font-size:11.5px;
    color:#9CA3AF;
    flex-shrink:0;
}

.kf-btn-terapkan,
.kf-btn-batal{
    padding:5px 10px !important;
    font-size:11.5px !important;
    height:auto !important;
    width:auto !important;
}

.kf-btn-tambah-fee{
    width:100%;
    background:#FFFFFF;
    border:1px dashed #D1D5DB;
    color:#374151;
    border-radius:8px;
    padding:6px;
    font-size:11.5px;
    font-weight:600;
    cursor:pointer;
    margin-bottom:6px;
}

.kf-btn-ubah-mode{
    width:100%;
    background:#F0FDF4;
    border:1px solid #86EFAC;
    color:#166534;
    border-radius:8px;
    padding:6px;
    font-size:11.5px;
    font-weight:700;
    cursor:pointer;
    margin:6px 0;
}

.kf-hasil-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#111827;
    color:#FFFFFF;
    border-radius:9px;
    padding:10px 12px;
    margin-top:2px;
}

.kf-hasil-box span{
    font-size:12.5px;
    color:#D1D5DB;
}

.kf-hasil-box strong{
    font-size:17px;
    font-weight:700;
}

.kf-radio-tipe{
    display:flex;
    gap:16px;
    margin-top:10px;
}

.kf-radio-tipe label{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    color:#374151;
}
