/* Bank Statement Converter — style.css (v20261128a) */
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1c2130; background: #f4f6fb; line-height: 1.55;
}
.hero { background: #1f3864; color: #fff; padding: 28px 20px 24px; text-align: center; position: relative; }
.hero h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; }
.hero .tagline { font-size: 17px; margin: 0 0 12px; opacity: .95; }
.hero .privacy, .hero .nopdf { max-width: 760px; margin: 10px auto 0; font-size: 14px; line-height: 1.55; text-align: left; background: rgba(255,255,255,.1); border-radius: 10px; padding: 10px 14px; }
.hero .nopdf { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.4); }
.lang-switch { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.lang-switch button { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.lang-switch button.active { background: #fff; color: #1f3864; font-weight: 700; }
main { max-width: 1020px; margin: 0 auto; padding: 20px 16px 40px; }
section { background: #fff; border-radius: 14px; padding: 20px 22px; margin: 0 0 18px; box-shadow: 0 1px 4px rgba(20,30,60,.08); }
h2 { margin: 0 0 12px; font-size: 21px; }
h3 { margin: 0 0 8px; font-size: 16px; }
.steps ol { margin: 0; padding-left: 22px; }
.steps li { margin: 6px 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.btn { display: inline-block; padding: 9px 15px; border-radius: 9px; border: 1.5px solid #c6cad6; background: #fff; color: #1c2130; font-size: 14px; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn:hover { border-color: #2f6df6; }
.btn.primary { background: #2f6df6; border-color: #2f6df6; color: #fff; font-weight: 600; }
.btn.primary:hover { background: #2458cc; }
.btn.big { padding: 12px 22px; font-size: 16px; }
.btn.small { padding: 7px 11px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.drop-zone { border: 2px dashed #c6cad6; border-radius: 12px; padding: 26px 18px; text-align: center; background: #fbfcfe; margin-bottom: 12px; }
.drop-zone.dragging { outline: 3px dashed #2f6df6; outline-offset: 4px; border-color: #2f6df6; background: #eef4ff; }
.drop-zone .drop-icon { font-size: 34px; line-height: 1; margin-bottom: 8px; }
.drop-zone p { margin: 6px 0; }
.drop-hint { font-size: 13px; color: #5a6070; }
.status { font-size: 14px; margin: 8px 0 0; min-height: 21px; }
.status.error { color: #8c2f1b; font-weight: 600; }
/* File summary cards */
.file-card { border: 1px solid #e3e6ee; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; background: #fbfcfe; }
.file-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.file-head strong { font-size: 15px; word-break: break-all; }
.fmt-badge { display: inline-block; background: #1f3864; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; border-radius: 999px; padding: 2px 9px; }
.file-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: #5a6070; }
.warn { background: #fff7e0; border: 1px dashed #d9a400; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: #6b5200; margin: 10px 0 0; }
/* Totals */
.totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 14px; }
.stat { background: #f4f6fb; border-radius: 10px; padding: 10px 12px; }
.stat-label { font-size: 12.5px; color: #5a6070; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.stat-value { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat.in .stat-value { color: #157347; }
.stat.out .stat-value { color: #b3261e; }
/* Preview table */
.table-wrap { overflow-x: auto; border: 1px solid #e3e6ee; border-radius: 10px; max-height: 480px; overflow-y: auto; }
table.preview { border-collapse: collapse; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
table.preview th, table.preview td { border-bottom: 1px solid #eef0f5; padding: 8px 10px; text-align: left; }
table.preview th { background: #1f3864; color: #fff; position: sticky; top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
table.preview tr:last-child td { border-bottom: 0; }
table.preview td.num { text-align: right; white-space: nowrap; }
table.preview th.num { text-align: right; }
td.pos { color: #157347; font-weight: 600; }
td.neg { color: #b3261e; font-weight: 600; }
.limit-note { background: #fff7e0; border: 1px dashed #d9a400; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: #6b5200; margin: 10px 0 0; }
.download-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.fine { font-size: 13px; color: #5a6070; margin: 8px 0 0; }
/* Pro */
.pro { border: 2px solid #f0b429; }
.pro-badge { background: #e6f7ec; border: 1px solid #9ed6ae; color: #157347; border-radius: 8px; padding: 9px 12px; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.pro ul { margin: 0 0 14px; padding-left: 22px; }
.pro li { margin: 5px 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.faq h3 { margin: 16px 0 4px; }
.faq p { margin: 0 0 6px; }
footer { max-width: 1020px; margin: 0 auto; padding: 0 16px 32px; font-size: 13.5px; color: #5a6070; }
footer a { color: #2f6df6; }
@media (max-width: 640px) {
  .hero h1 { font-size: 24px; }
  .lang-switch { position: static; justify-content: center; margin-bottom: 10px; }
  section { padding: 16px; }
  .totals { grid-template-columns: repeat(2, 1fr); }
  table.preview { font-size: 13px; }
  table.preview th, table.preview td { padding: 7px 8px; }
}
