/* CSS styles for Blue Bird Setoran Calculator */
.setoran-calc-container {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    margin: 20px auto;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.setoran-calc-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.4), 0 10px 15px -5px rgba(0, 0, 0, 0.4);
}

.setoran-calc-header {
    border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.setoran-calc-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #38bdf8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.setoran-calc-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin: 4px 0 0 0;
}

.setoran-calc-group {
    margin-bottom: 16px;
}

.setoran-calc-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #e2e8f0;
}

.setoran-calc-input-wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    background-color: #0f172a !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.2s ease !important;
}

.setoran-calc-input-wrapper:focus-within {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

.setoran-calc-prefix {
    display: flex !important;
    align-items: center !important;
    padding: 0 0 0 12px !important;
    color: #38bdf8 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    line-height: 42px !important;
    user-select: none !important;
}

.setoran-calc-input {
    flex: 1 !important;
    width: 100% !important;
    padding: 10px 12px 10px 8px !important;
    background: transparent !important;
    border: none !important;
    color: #f8fafc !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    height: 42px !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

.setoran-calc-input:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #f8fafc !important;
    border: none !important;
}

/* Percentage and Checkbox style */
.setoran-calc-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.setoran-calc-row .setoran-calc-group {
    flex: 1;
    margin-bottom: 0;
}

.setoran-calc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    cursor: pointer;
    user-select: none;
    height: 100%;
}

.setoran-calc-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #38bdf8;
    cursor: pointer;
}

/* Dynamic Non-Tunai Items Area */
.setoran-nontunai-section {
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.setoran-nontunai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.setoran-nontunai-title {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.setoran-btn-add {
    background-color: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1.5px solid rgba(56, 189, 248, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.setoran-btn-add:hover {
    background-color: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
}

.setoran-nontunai-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.setoran-nontunai-item {
    display: flex;
    gap: 8px;
    align-items: center;
    animation: fadeIn 0.25s ease-out;
}

.setoran-nontunai-label-input {
    flex: 2 !important;
    padding: 8px 10px !important;
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    color: #f8fafc !important;
    font-size: 13px !important;
    height: 36px !important;
    box-sizing: border-box !important;
}

.setoran-nontunai-value-input {
    flex: 3 !important;
    padding: 8px 10px !important;
    background-color: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    color: #f8fafc !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    height: 36px !important;
    box-sizing: border-box !important;
}

.setoran-btn-delete {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setoran-btn-delete:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Results Area */
.setoran-results {
    background-color: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.setoran-result-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.setoran-section-title {
    margin: 0 0 8px 0 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #38bdf8;
    font-weight: 700 !important;
}

.setoran-result-section.additional-info-section {
    background: rgba(56, 189, 248, 0.02);
    border-color: rgba(56, 189, 248, 0.1);
}

.setoran-result-section.additional-info-section .setoran-section-title {
    color: #94a3b8;
}

.setoran-result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.setoran-result-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.setoran-result-row.main-result {
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
    padding-top: 12px;
    margin-top: 8px;
    font-weight: 700;
    font-size: 16px;
}

.setoran-result-label {
    color: #94a3b8;
}

.setoran-result-row.result-row-minus .setoran-result-label,
.setoran-result-row.result-row-minus .setoran-result-value {
    color: #f87171 !important;
}

.setoran-result-row.result-row-plus .setoran-result-label,
.setoran-result-row.result-row-plus .setoran-result-value {
    color: #4ade80 !important;
}

.setoran-result-row.main-result .setoran-result-label {
    color: #38bdf8;
}

.setoran-result-value {
    font-weight: 700;
    color: #f8fafc;
}

.setoran-result-row.main-result .setoran-result-value {
    color: #22c55e;
    font-size: 18px;
}

.setoran-result-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    font-weight: normal;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admin Styles */
.setoran-admin-meta-table {
    width: 100%;
    border-collapse: collapse;
}

.setoran-admin-meta-table td {
    padding: 10px;
    vertical-align: middle;
}

.setoran-admin-meta-table label {
    font-weight: 600;
}

/* Formula Container styling */
.setoran-result-formula-container {
    margin-top: 10px;
    padding: 12px;
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.setoran-result-formula-container div {
    margin-bottom: 2px;
}
