/* ACCA Exemption Calculator Pakistan - CSS */
/* Theme & layout */
:root{
  --pink: #F43676;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #222;
  --muted: #666;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(15,15,15,0.08);
  --gap: 14px;
}

.acco-calculator {
  max-width: 920px;
  margin: 28px auto;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial;
  color: var(--text);
  padding: 18px;
}

.acca-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.acca-header h2{
  font-size:20px;
  margin:0;
  color:var(--pink);
}
.theme-switch button{
  background:transparent;
  border:1px solid rgba(0,0,0,0.06);
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
}

/* Card */
.calc-card{
  background:var(--card);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  border: 1px solid rgba(244,54,118,0.06);
}

/* Steps: responsive grid */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:var(--gap);
  margin-bottom:18px;
}
.step label{display:block;font-weight:600;margin-bottom:6px;}
.step input[type="search"], .step select{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e6e6e6;
  font-size:14px;
}

/* Horizontal buttons */
.actions.horizontal{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  margin-bottom:14px;
}
button.primary{
  background:var(--pink);
  color:#fff;
  padding:10px 16px;
  border-radius:12px;
  border:none;
  cursor:pointer;
  font-weight:700;
}
button.ghost{
  background:transparent;
  border:1px solid rgba(0,0,0,0.08);
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
}

/* Result card */
.result-card{
  margin-top:12px;
  background: linear-gradient(180deg, rgba(244,54,118,0.03), rgba(0,0,0,0.01));
  border-radius:12px;
  padding:14px;
  border:1px solid rgba(244,54,118,0.06);
}
.result-card h2{color:var(--pink);margin-top:0;}

.paper-list{ margin-left:18px; margin-bottom:12px; color:var(--muted);}

/* tooltips hint */
.hint{ font-size:12px; color:var(--pink); margin-left:6px; cursor:help; }

/* Notes */
.notes{ background:#fff; padding:10px; border-radius:10px; margin-top:12px; border:1px solid rgba(0,0,0,0.03); }

/* Mobile responsiveness */
@media (max-width:880px){
  .steps{ grid-template-columns: 1fr; }
  .actions.horizontal{ justify-content:stretch; }
  .actions.horizontal button{ flex:1; }
}

/* Dark mode */
.dark {
  --bg: #0f1720;
  --card: #0b1220;
  --text: #e6eef6;
  --muted: #a8b3bf;
  --shadow: none;
}
.dark .calc-card{
  border:1px solid rgba(244,54,118,0.12);
  box-shadow: none;
}