/* ═══════════════════════════════════════════════════════════
   JADWAL SHOLAT
═══════════════════════════════════════════════════════════ */

.sholat-location-card {
  background: linear-gradient(135deg, #ff0080 0%, #c30061 100%);
  color: white;
  border-radius: 16px;
  padding: 12px 15px;
  margin: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sholat-location-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sholat-location-info i {
  font-size: 20px;
  opacity: 0.9;
}

.sholat-location-info span {
  font-size: 16px;
  font-weight: 600;
  display: block;
}

.sholat-location-info small {
  font-size: 12px;
  opacity: 0.85;
  display: block;
  margin-top: 2px;
}

/* Countdown card */
.sholat-next-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f3460 100%);
  color: white;
  border-radius: 16px;
  padding: 20px;
  margin: 0 16px 12px;
  text-align: center;
}

.sholat-next-label {
  font-size: 12px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.sholat-next-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.sholat-next-time {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.sholat-countdown {
  font-size: 13px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
}

/* Grid sholat */
.sholat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
  margin-bottom: 16px;
}

.sholat-item {
  background: var(--card-bg, #fff);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sholat-item.sholat-active {
  border-color: #0ea5e9;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.sholat-item.sholat-passed {
  opacity: 0.5;
}

.dark-mode .sholat-item.sholat-active {
  background: linear-gradient(135deg, #0c4a6e 0%, #082f49 100%);
}

.sholat-item-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
}

.sholat-item.sholat-passed .sholat-item-icon {
  background: #9ca3af;
}

.sholat-item-info {
  display: flex;
  flex-direction: column;
}

.sholat-item-name {
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  font-weight: 500;
}

.sholat-item-time {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #111827);
}

/* Manual input */
.sholat-manual-section {
  padding: 0 16px;
  margin-bottom: 16px;
}

.sholat-manual-section p {
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  margin-bottom: 8px;
}

.sholat-manual-input {
  display: flex;
  gap: 8px;
}

.sholat-manual-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: var(--card-bg, #fff);
  color: var(--text-primary, #111827);
}

.sholat-manual-input button {
  padding: 10px 16px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.sholat-city-results {
  margin-top: 8px;
}

.sholat-city-item {
  padding: 10px 14px;
  background: var(--card-bg, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-primary, #111827);
  transition: background 0.2s;
}

.sholat-city-item:hover {
  background: #e0f2fe;
}

/* Sholat sunnah */
.sholat-sunnah-section {
  padding: 0 16px 24px;
}

.sholat-sunnah-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary, #111827);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sholat-sunnah-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sholat-sunnah-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg, #fff);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.sunnah-icon-fa {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  flex-shrink: 0;
}

.sholat-sunnah-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary, #111827);
}

.sholat-sunnah-item small {
  font-size: 12px;
  color: var(--text-secondary, #6b7280);
}

/* ═══════════════════════════════════════════════════════════
   KALKULATOR ZAKAT
═══════════════════════════════════════════════════════════ */

.zakat-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.zakat-tabs::-webkit-scrollbar {
  display: none;
}

.zakat-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  background: var(--card-bg, #fff);
  color: var(--text-secondary, #6b7280);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zakat-tab.active {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: white;
  border-color: transparent;
}

.zakat-panel {
  display: none;
  padding: 0 16px 24px;
}

.zakat-panel.active {
  display: block;
}

.zakat-info-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.dark-mode .zakat-info-card {
  background: #052e16;
  border-color: #166534;
}

.zakat-info-card i {
  color: #16a34a;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.zakat-info-card p {
  font-size: 13px;
  color: var(--text-primary, #111827);
  line-height: 1.5;
  margin: 0;
}

.zakat-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.zakat-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zakat-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #111827);
}

.zakat-form input {
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  background: var(--card-bg, #fff);
  color: var(--text-primary, #111827);
  transition: border-color 0.2s;
}

.zakat-form input:focus {
  outline: none;
  border-color: #16a34a;
}

.zakat-form small {
  font-size: 12px;
  color: var(--text-secondary, #6b7280);
}

/* Counter jiwa */
.zakat-counter {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
}

.zakat-counter button {
  width: 44px;
  height: 44px;
  background: #f9fafb;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #374151;
  transition: background 0.2s;
}

.zakat-counter button:hover {
  background: #e5e7eb;
}

.zakat-counter span {
  width: 56px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary, #111827);
  background: var(--card-bg, #fff);
  height: 44px;
  line-height: 44px;
  border-left: 1.5px solid #e5e7eb;
  border-right: 1.5px solid #e5e7eb;
}

/* Hasil kalkulasi */
.zakat-result {
  background: var(--card-bg, #fff);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  margin-bottom: 12px;
}

.zakat-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}

.zakat-result-row:last-child {
  border-bottom: none;
}

.zakat-result-row span {
  color: var(--text-secondary, #6b7280);
}

.zakat-result-row strong {
  color: var(--text-primary, #111827);
  font-weight: 600;
}

.zakat-result-row.highlight {
  background: #f0fdf4;
  margin: 4px -16px -16px;
  padding: 12px 16px;
  border-radius: 0 0 14px 14px;
}

.zakat-result-row.highlight strong {
  color: #16a34a;
  font-size: 16px;
}

.dark-mode .zakat-result-row.highlight {
  background: #052e16;
}

/* Belum wajib */
.zakat-not-wajib {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.zakat-not-wajib i {
  color: #16a34a;
  font-size: 18px;
}

.zakat-not-wajib span {
  font-size: 13px;
  color: #15803d;
  font-weight: 500;
}

/* Footer note */
.zakat-footer-note {
  text-align: center;
  padding: 12px 16px 8px;
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Amil info */
.zakat-amil-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #1d4ed8;
}

.dark-mode .zakat-amil-info {
  background: #1e3a5f;
  color: #93c5fd;
}
/*=========== */
.quick-actions-extra {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease;
  opacity: 0;
}
.quick-actions-extra.expanded {
  max-height: 300px;
  opacity: 1;
}
.quick-actions-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 32px);
  margin: 4px 16px 8px;
  padding: 10px;
  background: none;
  border: 1.5px dashed #d1d5db;
  border-radius: 12px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.quick-actions-toggle:hover {
  border-color: #9ca3af;
  color: #374151;
  background: #f9fafb;
}
.dark-mode .quick-actions-toggle {
  border-color: #374151;
  color: #9ca3af;
}
.dark-mode .quick-actions-toggle:hover {
  border-color: #6b7280;
  background: #1f2937;
}
#quickActionsToggleIcon {
  transition: transform 0.3s ease;
}
#quickActionsToggleIcon.rotated {
  transform: rotate(180deg);
}
/* Header Sholat & Zakat */
.sholat-header,
.zakat-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
  background: var(--bg-primary, #fff);
}

.sholat-header .back-button,
.zakat-header .back-button {
  width: 40px;
  height: 40px;
  border: none;
  background: #f3f4f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sholat-header .back-button:hover,
.zakat-header .back-button:hover {
  background: #e5e7eb;
}

.sholat-header .back-button i,
.zakat-header .back-button i {
  color: #374151;
  font-size: 16px;
}

.sholat-header .header-title,
.zakat-header .header-title {
  flex: 1;
}

.sholat-header .header-title h2,
.zakat-header .header-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary, #111827);
  line-height: 1.2;
}

.sholat-header .header-date,
.zakat-header .header-subtitle {
  font-size: 13px;
  color: var(--text-secondary, #6b7280);
  margin-top: 2px;
}

/* Spacer untuk balance kanan */
.header-spacer {
  width: 40px;
  flex-shrink: 0;
}
