:root {
    --primary: #0f7a4a;
    --primary-dark: #0b5e39;
    --primary-light: #e9f6ef;
    --border: #cfe8dc;
}

/* ================= FORM ================= */
.sk-form {
    max-width: 420px;
    background: var(--primary-light);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.sk-form label {
    font-weight: 600;
    color: var(--primary-dark);
}

.sk-form input,
.sk-form select {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.sk-form input:focus,
.sk-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ================= BUTTON ================= */
.sk-form button {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: none;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.sk-form button:hover {
    background: var(--primary-dark);
}

.sk-form .secondary {
    background: #6c757d;
}

.sk-form .secondary:hover {
    background: #565e64;
}

.hasil {
    margin-top: 12px;
    font-size: 16px;
    color: var(--primary-dark);
}

/* ================= ROW ================= */
.sk-row {
    display: flex;
    gap: 6px;
}

/* ================= MODAL ================= */
.sk-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
}

.sk-modal-content {
    background: #fff;
    margin: 2% auto;
    padding: 20px;
    max-width: 900px;
    border-radius: 8px;

    max-height: 90vh;
    overflow-y: auto;
}

.sk-close {
    float: right;
    font-size: 22px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ================= TABLE ================= */
.sk-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.sk-table th,
.sk-table td {
    border: 1px solid var(--border);
    padding: 6px;
    text-align: center;
}

.sk-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.sk-table tr:nth-child(even) {
    background: #f7fbf9;
}

/* ================= EXPORT BUTTON ================= */
.sk-modal-content button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.sk-modal-content button:hover {
    background: var(--primary-dark);
}

/* ================= LOCK BODY SCROLL ================= */
body.sk-modal-open {
    overflow: hidden;
}

/* ================= DISABLED OPTION ================= */
select option:disabled {
    color: #999;
}

/* ===============================
   ALIGN ANGKA SIMULASI DEPOSITO
=============================== */

/* kolom angka rata kanan */
.sk-table td:nth-child(3),
.sk-table td:nth-child(4),
.sk-table td:nth-child(5),
.sk-table th:nth-child(3),
.sk-table th:nth-child(4),
.sk-table th:nth-child(5) {
    text-align: center;
}

/* ======================================
   TOTAL DI AKHIR TABEL
====================================== */

/* label total → kanan */
.sk-table tr.total-row td:first-child {
    text-align: right;
    font-weight: 600;
}

/* nominal total → center */
.sk-table tr.total-row td:last-child {
    text-align: center;
    font-weight: 600;
}
