/* Iran Solar Calculator - Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

.isc-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

.isc-wrap {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  direction: rtl;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
  color: #1a1a1a;
  text-align: right;
  overflow-x: hidden;
}

.isc-wrap button,
.isc-wrap input,
.isc-wrap select,
.isc-wrap textarea {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  letter-spacing: 0;
}

.isc-wrap button {
  line-height: 1.6;
}

/* ===== PROGRESS BAR ===== */
.isc-progress-wrap {
  margin-bottom: 32px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  z-index: 10;
  overflow: hidden;
}
.isc-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  direction: rtl;
  margin-bottom: 10px;
}
.isc-progress-step {
  width: 100%;
  min-width: 0;
  height: 4px;
  border-radius: 2px;
  background: #e8e8e8;
  transition: background .4s;
}
.isc-progress-step.done    { background: #2e7d32; }
.isc-progress-step.current { background: #81c784; }
.isc-progress-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  direction: rtl;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: #aaa;
}
.isc-progress-labels span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.isc-progress-labels span.active { color: #2e7d32; font-weight: 500; }

/* ===== START SCREEN ===== */
.isc-start-screen {
  padding: 30px;
  text-align: right;
}
.isc-start-hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.isc-start-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.isc-start-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f8e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.isc-start-title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.45;
  color: #1b5e20;
}
.isc-start-copy {
  margin: 0 0 18px;
  color: #555;
  font-size: 14px;
  line-height: 2;
}
.isc-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
}
.isc-start-card {
  border: 1px solid #e4eee5;
  border-radius: 8px;
  background: #fbfdfb;
  padding: 14px;
}
.isc-start-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1b5e20;
  font-size: 13px;
}
.isc-start-card span {
  color: #666;
  font-size: 12px;
  line-height: 1.8;
}
.isc-start-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: #f7faf7;
  border: 1px solid #e4eee5;
  margin-top: 2px;
}
.isc-start-proof-item {
  text-align: center;
  padding: 8px 6px;
}
.isc-start-proof-item strong {
  display: block;
  color: #1b5e20;
  font-size: 17px;
  margin-bottom: 4px;
}
.isc-start-proof-item span {
  color: #666;
  font-size: 11px;
  line-height: 1.6;
}
.isc-start-actions {
  gap: 14px;
}
.isc-start-btn {
  white-space: nowrap;
}

/* ===== FORM STEPS ===== */
.isc-step {
  display: none;
  animation: isc-fadein .3s ease;
}
.isc-step.active { display: block; }

.isc-inline-loading {
  padding: 44px 0;
  animation: isc-fadein .25s ease;
}
.isc-inline-loading-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 22px;
  border: 1px solid #e4eee5;
  border-radius: 16px;
  background: #fbfdfb;
  text-align: center;
  box-shadow: 0 8px 28px rgba(46,125,50,.08);
}

@keyframes isc-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.isc-step-header {
  margin-bottom: 24px;
}
.isc-step-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.isc-step-header p {
  font-size: 14px;
  color: #666;
}

/* ===== FIELDS ===== */
.isc-field { margin-bottom: 16px; }
.isc-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
}
.isc-input-el {
  width: 100%;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  direction: rtl;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.isc-input-el:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}

.isc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .isc-grid-2 { grid-template-columns: 1fr; } }

/* ===== CHIPS (multi/single select) ===== */
.isc-chips { display: flex; flex-wrap: wrap; gap: 8px; direction: rtl; }
.isc-chip {
  padding: 9px 18px;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 13px;
  cursor: pointer;
  background: #fff;
  color: #444;
  transition: all .18s;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: right;
  gap: 6px;
}
.isc-chip[data-group="bill_range"] {
  direction: rtl;
  justify-content: flex-start !important;
  text-align: right;
}
.isc-step[data-step="4"] .isc-chips,
.isc-step[data-step="5"] .isc-chips {
  justify-content: flex-start;
}
.isc-step[data-step="4"] .isc-chip,
.isc-step[data-step="5"] .isc-chip {
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}
.isc-chip:hover { border-color: #a5d6a7; background: #f1f8e9; }
.isc-chip.selected {
  border-color: #2e7d32;
  background: #2e7d32;
  color: #fff;
}
.isc-chip-icon { font-size: 16px; }

/* Goal cards */
.isc-goal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .isc-goal-cards { grid-template-columns: 1fr; } }

.isc-goal-card {
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  padding: 20px 16px;
  cursor: pointer;
  text-align: center;
  background: #fff;
  transition: all .2s;
}
.isc-goal-card:hover { border-color: #a5d6a7; background: #f9fbe7; }
.isc-goal-card.selected { border-color: #2e7d32; background: #f1f8e9; }
.isc-goal-card .icon { font-size: 32px; margin-bottom: 10px; }
.isc-goal-card .title { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.isc-goal-card .sub   { font-size: 12px; color: #888; margin-top: 4px; }

/* ===== NAVIGATION BUTTONS ===== */
.isc-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}
.isc-btn-next, .isc-btn-prev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .18s;
}
.isc-btn-next {
  background: #2e7d32;
  color: #fff;
}
.isc-btn-next:hover { background: #1b5e20; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,125,50,.3); }
.isc-btn-next:disabled { background: #bdbdbd; cursor: not-allowed; transform: none; box-shadow: none; }
.isc-btn-prev {
  background: transparent;
  color: #666;
  border: 1.5px solid #e0e0e0;
}
.isc-btn-prev:hover { border-color: #bbb; background: #f5f5f5; }

/* ===== REPORT ===== */
.isc-report { display: none; }
.isc-report.active { display: block; animation: isc-fadein .4s ease; }

.isc-report-hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 60%, #388e3c 100%);
  border-radius: 20px;
  padding: 36px 32px;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}
.isc-report-hero h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.isc-report-hero p  { font-size: 14px; opacity: .85; margin-bottom: 24px; }
.isc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  justify-content: center;
}
.isc-hero-stat {
  background: rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 14px 24px;
  min-width: 0;
}
.isc-hero-stat .val { font-size: 24px; font-weight: 800; }
.isc-hero-stat .lbl { font-size: 11px; opacity: .8; margin-top: 2px; }

/* Report blocks */
.isc-rblock {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.isc-rblock-head {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.isc-rblock-icon { font-size: 20px; }
.isc-rblock-title { font-size: 15px; font-weight: 700; color: #1b5e20; }
.isc-rblock-badge {
  margin-right: auto;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 500;
}
.isc-rblock-body { padding: 20px; }

/* Stats row */
.isc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}
.isc-stat-row:last-child { border-bottom: none; }
.isc-stat-row .k { color: #666; }
.isc-stat-row .v { font-weight: 600; color: #1b5e20; text-align: left; }

/* Bill comparison chart */
.isc-bill-chart {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e4eee5;
  border-radius: 10px;
  background: #fbfdfb;
}
.isc-bill-chart-title {
  margin-bottom: 12px;
  color: #1b5e20;
  font-size: 13px;
  font-weight: 700;
}
.isc-bill-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 116px;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  color: #555;
}
.isc-bill-bar-track {
  height: 12px;
  border-radius: 999px;
  background: #e8e8e8;
  overflow: hidden;
}
.isc-bill-bar {
  height: 100%;
  border-radius: 999px;
  transition: width .8s ease;
}
.isc-bill-bar.current { background: #9e9e9e; }
.isc-bill-bar.solar { background: #2e7d32; }
.isc-bill-bar-value {
  color: #1a1a1a;
  font-weight: 700;
  text-align: left;
  direction: rtl;
}

/* Mini stat cards */
.isc-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 480px) { .isc-mini-stats { grid-template-columns: 1fr 1fr; } }
.isc-mini-card {
  background: #f9fbe7;
  border: 1px solid #dcedc8;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.isc-mini-card .val { font-size: 20px; font-weight: 700; color: #2e7d32; }
.isc-mini-card .lbl { font-size: 11px; color: #777; margin-top: 4px; }

/* Progress bar */
.isc-pbar-wrap { margin-top: 12px; }
.isc-pbar-label { font-size: 12px; color: #666; margin-bottom: 5px; display: flex; justify-content: space-between; }
.isc-pbar { height: 10px; background: #e8e8e8; border-radius: 5px; overflow: hidden; }
.isc-pbar-fill { height: 100%; background: linear-gradient(90deg, #2e7d32, #66bb6a); border-radius: 5px; transition: width 1s ease; }

/* Device table */
.isc-device-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.isc-device-table th { text-align: right; padding: 8px 12px; color: #555; font-weight: 600; border-bottom: 2px solid #f0f0f0; background: #fafafa; }
.isc-device-table td { padding: 9px 12px; border-bottom: 1px solid #f5f5f5; }
.isc-device-table tr:last-child td { border-bottom: none; }
.d-ok   { color: #2e7d32; font-weight: 600; }
.d-warn { color: #f57f17; font-weight: 600; }
.d-off  { color: #c62828; font-weight: 600; }

/* Scenario rows */
.isc-scenario-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.isc-scenario-row:last-child { border-bottom: none; }
.isc-scenario-hours { font-weight: 700; color: #1b5e20; font-size: 15px; }

/* Environment cards */
.isc-env-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.isc-env-card {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
}
.isc-env-co2 { background: #e0f2f1; }
.isc-env-trees { background: #e8f5e9; }
.isc-env-value {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: #00695c;
  direction: rtl;
  overflow-wrap: anywhere;
}
.isc-env-trees .isc-env-value { color: #2e7d32; }
.isc-env-label {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
  line-height: 1.7;
}

/* Cost cards */
.isc-cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .isc-cost-grid { grid-template-columns: 1fr; } }
.isc-cost-card {
  border: 2px solid #e0e0e0;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.isc-cost-card.recommended {
  border-color: #2e7d32;
  background: #f1f8e9;
}
.isc-cost-card .type { font-size: 12px; color: #888; margin-bottom: 8px; }
.isc-cost-card .amount { font-size: 20px; font-weight: 700; color: #1b5e20; line-height: 1.3; }
.isc-cost-card .note { font-size: 11px; color: #999; margin-top: 6px; }

/* CTA block */
.isc-cta-block {
  background: linear-gradient(135deg, #1b5e20, #388e3c);
  border-radius: 20px;
  padding: 32px;
  color: #fff;
  text-align: center;
  margin-top: 24px;
}
.isc-cta-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.isc-cta-block p  { font-size: 14px; opacity: .85; margin-bottom: 24px; }
.isc-cta-form {
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 10px;
}
.isc-cta-block .isc-cta-input,
.isc-cta-block input.isc-cta-input,
.isc-cta-block textarea.isc-cta-input {
  appearance: none;
  width: 100%;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 14px;
  padding: 11px 14px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  color: #fff;
  direction: rtl;
  text-align: right;
  outline: none;
  margin: 0;
  min-height: 46px;
  line-height: 1.8;
  box-shadow: none;
}
.isc-cta-block textarea.isc-cta-input {
  min-height: 92px;
  resize: vertical;
}
.isc-cta-input::placeholder { color: rgba(255,255,255,.65); opacity: 1; }
.isc-cta-input:focus {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.isc-btn-cta {
  width: 100%;
  padding: 13px;
  background: #fff;
  color: #2e7d32;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 4px;
  transition: all .18s;
}
.isc-btn-cta:hover { background: #f1f8e9; transform: translateY(-1px); }
.isc-btn-cta:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.isc-cta-note { font-size: 12px; opacity: .7; margin-top: 10px; }
.isc-cta-error {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  background: rgba(198,40,40,.24);
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
  padding: 10px 12px;
  text-align: right;
}
.isc-cta-success { display: none; text-align: center; padding: 20px; }
.isc-cta-success .icon { font-size: 48px; margin-bottom: 12px; }
.isc-cta-success h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.isc-cta-success p { font-size: 13px; opacity: .85; }
.consult-time-field {
  margin-bottom: 0;
  padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  text-align: right;
}
.consult-time-label {
  margin-bottom: 10px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 700;
}
.consult-time-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.consult-time-chip {
  appearance: none;
  min-height: 52px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: all .18s;
  padding: 7px 8px;
  text-align: center;
}
.consult-time-chip span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  opacity: .8;
}
.consult-time-chip.selected {
  background: #fff;
  color: #2e7d32;
  border-color: #fff;
}
@media (max-width: 560px) {
  .isc-wrap {
    max-width: 100%;
    padding: 0 12px;
  }
  .isc-step-header h2 {
    font-size: 19px;
    line-height: 1.7;
  }
  .isc-step-header p {
    font-size: 13px;
    line-height: 1.9;
  }
  .isc-chip {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
  }
  .isc-nav-row {
    gap: 10px;
    align-items: stretch;
  }
  .isc-start-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .isc-start-actions > div {
    order: 2;
  }
  .isc-start-btn {
    width: 100%;
    order: 1;
  }
  .isc-btn-next,
  .isc-btn-prev {
    justify-content: center;
    padding: 11px 16px;
    min-height: 46px;
  }
  .isc-step[data-step="4"] .isc-chip,
  .isc-step[data-step="5"] .isc-chip {
    min-height: 46px;
    padding: 10px 14px;
  }
  .consult-time-options { grid-template-columns: repeat(2, 1fr); }
  .isc-start-screen { padding: 22px; }
  .isc-start-grid,
  .isc-start-proof { grid-template-columns: 1fr; }
  .isc-progress-wrap {
    margin: 0 -8px 24px;
    padding: 10px 8px;
  }
  .isc-progress-steps,
  .isc-progress-labels { gap: 4px; }
  .isc-progress-labels { font-size: 10px; }
  .isc-report-hero {
    border-radius: 16px;
    padding: 24px 16px;
  }
  .isc-report-hero h2 {
    font-size: 19px;
    line-height: 1.7;
  }
  .isc-report-hero p {
    font-size: 13px;
    line-height: 1.9;
  }
  .isc-hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .isc-hero-stat {
    padding: 12px 14px;
  }
  .isc-hero-stat .val {
    font-size: 22px;
  }
  .isc-rblock {
    border-radius: 14px;
  }
  .isc-rblock-head {
    padding: 14px;
    align-items: flex-start;
  }
  .isc-rblock-title {
    flex: 1;
    min-width: 160px;
    line-height: 1.7;
  }
  .isc-rblock-badge {
    margin-right: 0;
    margin-left: auto;
  }
  .isc-rblock-body {
    padding: 14px;
  }
  .isc-mini-stats {
    grid-template-columns: 1fr;
  }
  .isc-stat-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    line-height: 1.8;
  }
  .isc-stat-row .v {
    text-align: right;
  }
  .isc-bill-chart {
    padding: 12px;
  }
  .isc-bill-bar-row { grid-template-columns: 76px 1fr; gap: 8px; }
  .isc-bill-bar-value {
    grid-column: 2;
    text-align: right;
    font-size: 11px;
    line-height: 1.7;
  }
  .isc-device-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .isc-device-table th,
  .isc-device-table td {
    padding: 8px 10px;
    font-size: 12px;
  }
  .isc-scenario-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    line-height: 1.8;
  }
  .isc-cost-grid {
    grid-template-columns: 1fr;
  }
  .isc-cost-card {
    padding: 16px;
  }
  .isc-cost-card .amount {
    font-size: 18px;
  }
  .isc-cost-card .note {
    font-size: 12px;
    line-height: 1.8;
  }
  .isc-env-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .isc-env-card {
    padding: 14px;
  }
  .isc-env-value {
    font-size: 18px;
  }
  .isc-cta-block {
    border-radius: 16px;
    padding: 24px 14px;
  }
  .isc-cta-block h3 {
    font-size: 18px;
    line-height: 1.7;
  }
  .isc-cta-block p {
    font-size: 13px;
    line-height: 1.9;
  }
  .isc-cta-form {
    padding: 14px;
  }
  .consult-time-chip {
    min-height: 50px;
  }
}

/* Loading overlay */
.isc-loading {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,32,12,.72);
  z-index: 2147483000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  text-align: center;
  padding: 24px;
}
.isc-loading.active { display: flex !important; }
.isc-loading-panel {
  width: min(360px, calc(100vw - 40px));
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  color: #1a1a1a;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.isc-spinner {
  width: 48px; height: 48px;
  border: 4px solid rgba(46,125,50,.18);
  border-top-color: #2e7d32;
  border-radius: 50%;
  animation: isc-spin .8s linear infinite;
  margin: 0 auto 16px;
}
.isc-loading-title {
  font-size: 15px;
  font-weight: 800;
  color: #1b5e20;
  line-height: 1.8;
}
.isc-loading-subtitle {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin-top: 6px;
}
@keyframes isc-spin { to { transform: rotate(360deg); } }

/* Error message */
.isc-error {
  background: #fce4ec;
  border: 1px solid #f8bbd0;
  color: #c62828;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.isc-error.active { display: block; }
