.nt-zakat { max-width: 760px; margin: 0 auto; }
.nt-zakat__notice { padding: 14px 16px; background: #fff5dd; border-left: 4px solid #b77a00; }
.nt-zakat__form { margin: 0 0 40px; }
.nt-zakat__calculator { padding: 20px; border: 1px solid #dce5e4; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(28, 126, 122, .10); }
.nt-zakat__settings { margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid #e2e9e8; }
.nt-zakat__settings--open { margin-right: -8px; margin-left: -8px; padding: 16px 8px; background: #f7faf9; }
.nt-zakat__settings-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nt-zakat__settings-title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1.2rem; line-height: 1.35; }
.nt-zakat__settings-title i,
.nt-zakat__field-row label i { width: 1.15em; color: #286e6b; text-align: center; }
.nt-zakat__settings-change,
.nt-zakat__text-button { padding: 0; border: 0; background: transparent; color: #1c7e7a; font: inherit; text-decoration: underline; cursor: pointer; }
.nt-zakat__settings-change { flex: 0 0 auto; font-size: .9rem; font-weight: 400; }
.nt-zakat__settings-content { padding-top: 18px; }
.nt-zakat__settings-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 145px; gap: 12px; align-items: stretch; }
.nt-zakat__setting-card { min-width: 0; margin: 0; padding: 13px; border: 1px solid #dce5e4; border-radius: 5px; background: #fff; }
.nt-zakat__setting-card h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.nt-zakat__setting-card { text-align: center; }
.nt-zakat__currency-card { display: flex; flex-direction: column; justify-content: flex-start; }
.nt-zakat__currency-card small { display: block; margin-top: 5px; color: #63706e; font-size: .82rem; font-weight: 400; }
.nt-zakat__currency-select { position: relative; box-sizing: border-box; height: 42px; margin-top: 6px; border: 1px solid #dce5e4; border-radius: 4px; background: #f7faf9; }
.nt-zakat__currency-select:focus-within { outline: 1px solid #1c7e7a; outline-offset: 3px; }
.nt-zakat__currency-select select { position: relative; z-index: 3; height: 100%; min-height: 0; margin-top: 0; background: transparent; opacity: 0; cursor: pointer; }
.nt-zakat__currency-select span { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #222; pointer-events: none; }
.nt-zakat__currency-select::after { position: absolute; z-index: 1; top: 50%; right: 12px; width: 0; height: 0; border-top: 5px solid #456461; border-right: 4px solid transparent; border-left: 4px solid transparent; content: ''; transform: translateY(-30%); pointer-events: none; }
.nt-zakat label { display: block; font-weight: 600; }
.nt-zakat input,
.nt-zakat select { box-sizing: border-box; width: 100%; min-height: 42px; margin: 6px 0 0; padding: 8px 10px; border: 0; border-radius: 4px; background: #f7faf9; color: #222; }
.nt-zakat input[aria-invalid="true"] { background: #fff5dd; }
.nt-zakat input:focus-visible,
.nt-zakat select:focus-visible,
.nt-zakat button:focus-visible,
.nt-zakat a:focus-visible { outline: 1px solid #1c7e7a; outline-offset: 3px; }
.nt-zakat__nisab-buttons { display: grid; gap: 7px; margin-top: 8px; }
.nt-zakat__nisab label,
.nt-zakat__mode-buttons label { position: relative; font-weight: 400; }
.nt-zakat__nisab input,
.nt-zakat__mode-buttons input { position: absolute; opacity: 0; pointer-events: none; }
.nt-zakat__nisab span,
.nt-zakat__mode-buttons span { display: block; padding: 8px 11px; border: 1px solid #e2e9e8; border-radius: 4px; cursor: pointer; }
.nt-zakat__nisab input:checked + span,
.nt-zakat__mode-buttons input:checked + span { border-color: #1c7e7a; background: #dcefeb; color: #155a57; }
.nt-zakat__nisab input:focus-visible + span,
.nt-zakat__mode-buttons input:focus-visible + span { outline: 1px solid #1c7e7a; outline-offset: 3px; }
.nt-zakat__automatic-price { margin: 7px 0 0; }
.nt-zakat__automatic-price strong { font-size: 1.05rem; }
.nt-zakat__automatic-price span { margin-left: 4px; color: #63706e; font-size: .86rem; }
.nt-zakat__price-card > small { display: block; margin-top: 5px; color: #63706e; font-size: .82rem; font-weight: 400; }
.nt-zakat__price-mode { display: grid; width: max-content; gap: 5px; margin: 10px auto 0; text-align: left; justify-items: start; }
.nt-zakat__price-mode label { font-size: .86rem; font-weight: 400; white-space: nowrap; }
.nt-zakat__price-mode input { width: auto; min-height: 0; margin: 0 5px 0 0; }
.nt-zakat__input-with-unit { position: relative; }
.nt-zakat__input-with-unit input { padding-right: 68px; }
.nt-zakat__input-with-unit span { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); color: #63706e; font-size: .86rem; white-space: nowrap; pointer-events: none; }
.nt-zakat__price-message,
.nt-zakat__currency-warning,
.nt-zakat__input-warning { margin: 12px 0 0; padding: 10px 12px; background: #fff5dd; border-left: 3px solid #b77a00; font-size: .9rem; }
.nt-zakat__currency-warning p { margin: 0; }
.nt-zakat__currency-warning .button { margin: 9px 10px 0 0; }
.nt-zakat__section { margin-top: 24px; }
.nt-zakat__section h2 { margin: 0; padding: 10px 13px; background: #edf7f6; color: #286e6b; font-size: 1.1rem; }
.nt-zakat__field-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; align-items: end; padding: 12px 0; border-bottom: 1px solid #e2e9e8; }
.nt-zakat__metal-row { align-items: center; }
.nt-zakat__field-row > div { min-width: 0; }
.nt-zakat__field-row a { display: inline-block; margin-top: 3px; font-size: .87rem; }
.nt-zakat__metal-control { display: grid; gap: 8px; }
.nt-zakat__mode-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.nt-zakat__mode-buttons span { padding: 5px 8px; border: 0; font-size: .84rem; }
.nt-zakat__metal-total { margin: 0; color: #63706e; font-size: .88rem; }
.nt-zakat__totals { margin-top: 18px; border-top: 1px solid #dce5e4; }
.nt-zakat__totals p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid #e2e9e8; }
.nt-zakat__totals p:last-child { font-weight: 600; }
.nt-zakat__totals strong { font-weight: 600; text-align: right; }
.nt-zakat__debts-total { color: #b3261e; }
.nt-zakat__result { margin-top: 18px; padding: 16px; border: 0; border-radius: 6px; background: #f4fbfa; }
.nt-zakat__result-label { margin: 0; color: #456461; font-size: .9rem; }
.nt-zakat__result strong { display: block; margin: 2px 0; font-size: 1.45rem; line-height: 1.2; }
.nt-zakat__result p:last-child { margin: 4px 0 0; font-size: .92rem; }
.nt-zakat__result--warning { background: #fff5dd; }
.nt-zakat__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.nt-zakat__actions .button { margin: 0; border: 0; box-shadow: none; }
.nt-zakat__copy { border: 1px solid #1c7e7a !important; background: transparent !important; color: #1c7e7a !important; }
.nt-zakat__copy:disabled { opacity: .5; cursor: not-allowed; }
.nt-zakat__actions .fal { display: inline-block !important; margin-right: 5px; color: currentColor !important; font-family: "Font Awesome 6 Pro" !important; font-weight: 300 !important; }
.nt-zakat__copy-status { font-size: .88rem; color: #456461; }
.nt-zakat__screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 760px) { .nt-zakat__settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nt-zakat__nisab { grid-column: 1; grid-row: 1; } .nt-zakat__currency-card { grid-column: 2; grid-row: 1; max-width: none; } .nt-zakat__price-card[data-price-card="gold"] { grid-column: 1; grid-row: 2; } .nt-zakat__price-card[data-price-card="silver"] { grid-column: 2; grid-row: 2; } }
@media (max-width: 600px) { .nt-zakat__calculator { padding: 16px; } .nt-zakat__settings-summary { align-items: flex-start; flex-direction: column; gap: 6px; } .nt-zakat__settings-title { width: 100%; justify-content: center; text-align: center; } .nt-zakat__settings-change { align-self: center; } .nt-zakat__settings-grid, .nt-zakat__field-row { grid-template-columns: 1fr; gap: 10px; } .nt-zakat__nisab, .nt-zakat__currency-card, .nt-zakat__price-card[data-price-card="gold"], .nt-zakat__price-card[data-price-card="silver"] { grid-column: auto; grid-row: auto; max-width: none; } .nt-zakat__field-row { padding: 13px 0; } .nt-zakat__field-row .nt-zakat__input-with-unit { max-width: none; } .nt-zakat__totals p { align-items: flex-start; flex-direction: column; gap: 2px; } .nt-zakat__totals strong { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .nt-zakat * { scroll-behavior: auto; transition: none !important; } }
