/* ===========================================
   Zakat Calculator - Tool Specific Styles (Deep Teal/Gold Theme)
   =========================================== */

/* Tool Layout */
.zc-box {
    max-width: 850px;
    margin: 0 auto;
}

/* --- Input Grouping --- */
.zc-section-container {
    background: #f0fdfa; /* Light Mint BG */
    border: 1px solid #ccfbf1;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.zc-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #047857; /* Deep Teal/Green */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #a7f3d0;
}

/* Individual Asset/Liability Row */
.zc-input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #d1fae5;
}

.zc-input-row:last-child {
    border-bottom: none;
}

.zc-label {
    font-size: 1rem;
    font-weight: 500;
    color: #065f46; /* Darker Teal */
    flex-grow: 1;
    text-align: left;
}

.zc-input-group {
    display: flex;
    align-items: center;
    width: 40%;
    min-width: 150px;
}

.zc-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
    margin-right: 8px;
}

.zc-input {
    padding: 10px;
    border: 1px solid #10b981; 
    border-radius: 6px;
    font-size: 1.1rem;
    color: #1f2937;
    width: 100%;
    text-align: right;
}

/* --- Nisab Display --- */
.zc-nisab-info {
    padding: 15px;
    background: #f0fff4; /* Pale Mint */
    border: 1px solid #34d399;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.zc-nisab-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f59e0b; /* Gold Highlight */
    margin-top: 5px;
}

/* --- Results Summary --- */
.zc-results {
    margin-top: 30px;
    text-align: center;
}

.zc-summary {
    padding: 30px;
    background: #ecfdf5; 
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.zc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #d1fae5;
}
.zc-result-row:last-of-type {
    border-bottom: none;
}

.zc-result-label {
    font-size: 1.2rem;
    color: #065f46;
    font-weight: 600;
}

.zc-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
}

/* Highlight for Zakat Obligation */
#zakatObligationValue {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f59e0b; /* Primary Gold Highlight */
}
#zakatObligationLabel {
    font-size: 1.4rem;
    color: #047857;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .zc-input-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-bottom: 15px;
    }
    .zc-input-group {
        width: 100%;
        justify-content: flex-end;
    }
    .zc-result-label {
        font-size: 1rem;
    }
    .zc-result-value {
        font-size: 1.2rem;
    }
    #zakatObligationValue {
        font-size: 2rem;
    }
}