/* "Pay your zakat" panel and halal-investing suggestions */

/* ---------- Pay your zakat ---------- */

.pay-zakat-panel {
    background: #fffdf5;
    border: 1px solid #f6e05e;
    border-radius: 12px;
    padding: 18px 18px 14px;
    box-shadow: 0 4px 12px rgba(183, 121, 31, 0.08);
}
.pay-zakat-panel[hidden] {
    display: none;
}
.pay-zakat-panel.zc-reveal {
    animation: zc-row-in 0.25s ease-out;
}
.pay-zakat-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: #744210;
}
.pay-zakat-amount-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-bottom: 12px;
}
.pay-zakat-amount-label {
    flex-basis: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #975a16;
}
.pay-zakat-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    font-variant-numeric: tabular-nums;
}
.pay-zakat-copy {
    margin-left: auto;
    border: 1px solid #ecc94b;
    background: #fff;
    color: #744210;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.pay-zakat-copy:hover {
    background: #fefcbf;
}
.pay-zakat-intro {
    margin: 0 0 6px;
    font-size: 0.88rem;
    color: #4a5568;
}
.pay-zakat-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}
.pay-zakat-charity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #faf089;
}
.pay-zakat-charity:last-child {
    border-bottom: none;
}
.pay-zakat-charity-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.pay-zakat-charity-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.92rem;
}
.pay-zakat-charity-meta {
    font-size: 0.76rem;
    color: #718096;
}
.pay-zakat-donate {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #ecc94b 0%, #d69e2e 100%);
    color: #3d2a05;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;
    transition: filter 0.15s ease;
}
.pay-zakat-donate:hover {
    filter: brightness(1.05);
}
.pay-zakat-more {
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 600;
    color: #5a67d8;
    text-decoration: none;
    margin-bottom: 8px;
}
.pay-zakat-more:hover {
    text-decoration: underline;
}
.pay-zakat-note {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.45;
    color: #a0aec0;
}

/* Desktop sidebar order: results, pay panel, nisab gauge, date assistant */
@media (min-width: 1280px) {
    .calculator-results.sidebar > #payZakatPanel { order: 2; }
    .calculator-results.sidebar > #nisabIndicatorContainer { order: 3; }
    .calculator-results.sidebar > #dateAssistantContainer { order: 4; }
}

/* ---------- Halal investing ---------- */

.halal-investing {
    margin: 4px 0 18px;
    padding: 14px 16px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.halal-investing-title {
    margin: 0 0 8px;
    font-size: 0.92rem;
    color: #4a5568;
}
.halal-investing-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.halal-investing-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    font-size: 0.86rem;
}
.halal-investing-list a {
    font-weight: 600;
    color: #5a67d8;
    text-decoration: none;
}
.halal-investing-list a:hover {
    text-decoration: underline;
}
.halal-investing-region {
    font-size: 0.72rem;
    font-weight: 600;
    color: #718096;
    background: #edf2f7;
    border-radius: 999px;
    padding: 1px 8px;
}
.halal-investing-blurb {
    flex-basis: 100%;
    color: #718096;
}
.halal-investing-note {
    margin: 0;
    font-size: 0.74rem;
    color: #a0aec0;
    line-height: 1.45;
}

@media print {
    .pay-zakat-panel,
    .halal-investing {
        display: none !important;
    }
}
