/* ============================================================
   Kalkulator Zakat — stylesheet mandiri (sumber tunggal).
   Dipakai portal utama (modul kalkulator) & microsite pose.
   Meniru kalkulator app POSe: hijau #259047, aksen #005331.
   ============================================================ */

/* Lebar & latar mengikuti wadah pemanggil (.main-container 564px di portal
   utama, .pose-shell 480px di microsite pose). */
.k-wrap {
    padding: 18px 16px 28px;
    font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.k-wrap * {
    box-sizing: border-box;
}

.k-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
    color: #1f2a37;
}

.k-intro {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #4a5663;
    text-align: justify;
}

.k-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.k-selector-label {
    font-size: 15px;
    font-weight: 700;
    color: #005331;
    white-space: nowrap;
}

.k-select-wrap {
    position: relative;
    flex: 1;
}

.k-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #005331;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: 0;
    border-radius: 25px;
    padding: 12px 40px 12px 18px;
    cursor: pointer;
}

.k-select-caret {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.k-pane[hidden] {
    display: none;
}

.k-def {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #4a5663;
    text-align: justify;
}

.k-cite {
    margin: 0 0 18px;
    font-size: 11px;
    font-style: italic;
    line-height: 1.5;
    color: #76828f;
    text-align: justify;
}

.k-field {
    display: block;
    margin-bottom: 16px;
}

.k-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #38434f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.k-input {
    display: flex;
    align-items: stretch;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.k-input:focus-within {
    border-color: #005331;
}

.k-input em {
    font-style: normal;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #f5f5f5;
    color: #6b7685;
    font-weight: 700;
    font-size: 13px;
}

.k-input input {
    border: 0;
    outline: 0;
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1f2a37;
    background: transparent;
}

.k-input.is-ro,
.k-input.is-ro input {
    background: #f5f5f5;
}

.k-input.is-ro input {
    color: #46525f;
}

.k-input.is-hl input {
    color: #005331;
    font-weight: 800;
}

.k-sk {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #e4332b;
}

.k-result[hidden],
.k-under[hidden],
.k-btn-block[hidden] {
    display: none;
}

.k-result {
    margin-bottom: 16px;
}

.k-under {
    margin: 4px 0 16px;
    font-size: 14px;
    text-align: center;
    color: #46525f;
}

.k-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.k-btn-ghost,
.k-btn-green {
    flex: 1;
    text-align: center;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    cursor: pointer;
    border: 1.5px solid #259047;
    text-decoration: none;
    display: inline-block;
}

.k-btn-ghost {
    background: #fff;
    color: #259047;
}

.k-btn-green {
    background: #259047;
    color: #fff;
}

.k-btn-green:disabled {
    background: #9e9e9e;
    border-color: #9e9e9e;
    cursor: default;
}

.k-btn-block {
    display: block;
    width: 100%;
    margin-top: 12px;
}

.k-subtabs {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 18px;
}

.k-subtab {
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #9aa4b2;
    padding: 0 0 10px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.k-subtab.is-active {
    color: #005331;
    border-bottom-color: #005331;
}

.k-subpane {
    display: none;
}

.k-subpane.is-active {
    display: block;
}
