/* Ashok Singhal & Co. free tools — shared calculator styling.
   Matches the site's light finance palette; each tool plugin ships its
   own copy of this file so every plugin stays fully independent. */
.asc-tool {
  --asc-bg: #FAFAF8;
  --asc-bg-alt: #F2F5F7;
  --asc-text: #1A2B3C;
  --asc-accent: #1F5C99;
  --asc-border: #E3E5E2;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--asc-text);
  background: var(--asc-bg-alt);
  border: 1px solid var(--asc-border);
  border-radius: 8px;
  padding: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.asc-tool h3 { font-family: "Lora", Georgia, serif; margin-top: 0; }
.asc-tool label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; }
.asc-tool input[type=number],
.asc-tool input[type=text],
.asc-tool select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--asc-border);
  border-radius: 4px; font-size: 15px; background: #fff; color: var(--asc-text);
  box-sizing: border-box;
}
.asc-tool .asc-row { display: flex; gap: 16px; flex-wrap: wrap; }
.asc-tool .asc-row > div { flex: 1; min-width: 140px; }
.asc-tool__btn, .asc-tool button.asc-tool__btn {
  background: var(--asc-accent); color: #fff; border: 0; padding: 11px 24px;
  border-radius: 4px; font-weight: 600; font-size: 15px; cursor: pointer; margin-top: 16px;
}
.asc-tool__btn:hover { background: #17456f; }
.asc-tool__result {
  margin-top: 20px; padding: 16px; background: #fff; border: 1px solid var(--asc-border);
  border-radius: 6px; display: none;
}
.asc-tool__result.is-visible { display: block; }
.asc-tool__result table { width: 100%; border-collapse: collapse; }
.asc-tool__result td, .asc-tool__result th { padding: 6px 4px; border-bottom: 1px solid var(--asc-border); text-align: left; }
.asc-tool__result .asc-highlight { font-size: 20px; font-weight: 700; color: var(--asc-accent); }
.asc-tool__disclaimer { font-size: 12px; color: #6b7684; margin-top: 18px; }
.asc-tool__feedback { margin-top: 14px; }
.asc-tool__feedback-toggle {
  background: none; border: none; color: var(--asc-accent); text-decoration: underline;
  font-size: 13px; cursor: pointer; padding: 0;
}
.asc-tool__feedback-form { margin-top: 10px; }
.asc-tool__feedback-form textarea { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid var(--asc-border); border-radius: 4px; }
.asc-tool .asc-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.asc-tool .asc-tab-btn {
  background: #fff; border: 1px solid var(--asc-border); padding: 8px 16px; border-radius: 4px;
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--asc-text);
}
.asc-tool .asc-tab-btn.is-active { background: var(--asc-accent); color: #fff; border-color: var(--asc-accent); }
.asc-tool .asc-tab-panel { display: none; }
.asc-tool .asc-tab-panel.is-active { display: block; }
