/* ConvertDepot: a circa-2004 utility site. Fixed 760px, system fonts, boxed panels. */

body {
  margin: 0;
  padding: 12px 0 24px;
  background: #d4d8dc;
  color: #000;
  font: 12px/1.45 Verdana, Arial, Helvetica, sans-serif;
}

a { color: #0033cc; }
a:visited { color: #663399; }
a:hover { color: #cc3300; }

#page {
  width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #8a96a3;
}

/* ---------- Header ---------- */

#header {
  background: #2b5a8a;
  border-bottom: 3px solid #f0a020;
  padding: 10px 12px 8px;
}
#logo {
  font: bold 24px "Trebuchet MS", Verdana, sans-serif;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
#logo span { color: #ffd47a; }
#logo:visited { color: #fff; }

/* ---------- Two columns ---------- */

#cols { display: flex; align-items: stretch; }

#sidebar {
  width: 175px;
  flex: none;
  background: #eef0f2;
  border-right: 1px solid #c3c9cf;
  padding: 10px 8px 16px;
  font-size: 11px;
}
.navbox { margin-bottom: 14px; }
.navhead {
  background: #c9d5e1;
  border: 1px solid #a7b6c5;
  color: #1d3c5c;
  font-weight: bold;
  padding: 2px 5px;
  margin-bottom: 4px;
}
.navbox ul { list-style: none; margin: 0; padding: 0 0 0 5px; }
.navbox li { margin: 3px 0; }
.navbox li.here a { color: #000; font-weight: bold; text-decoration: none; }
.navbox p { margin: 4px 5px; }

.tipbox { border-top: 1px dotted #a7b6c5; padding-top: 10px; }
a.tipbutton, a.tipbutton:visited {
  display: inline-block;
  background: #ffd47a;
  border: 1px solid #b8860b;
  border-bottom-width: 2px;
  color: #3b2a00;
  font-weight: bold;
  padding: 3px 8px;
  text-decoration: none;
}
a.tipbutton:hover { background: #ffe1a1; }

#content { flex: 1; min-width: 0; padding: 12px 14px 18px; }

/* ---------- Content ---------- */

h1 {
  font: bold 18px "Trebuchet MS", Verdana, sans-serif;
  color: #1d3c5c;
  margin: 0 0 6px;
}
h2 {
  font: bold 14px "Trebuchet MS", Verdana, sans-serif;
  color: #1d3c5c;
  border-bottom: 1px solid #c3c9cf;
  padding-bottom: 2px;
  margin: 20px 0 8px;
}
h3 { font-size: 12px; margin: 14px 0 4px; }
p { margin: 0 0 9px; }
ul, ol { margin: 0 0 9px; padding-left: 22px; }
li { margin-bottom: 3px; }
code { font: 11px "Courier New", monospace; background: #f2f2f2; padding: 0 2px; }
pre {
  font: 11px/1.35 "Courier New", monospace;
  background: #f6f6f6;
  border: 1px solid #ddd;
  padding: 6px 8px;
  overflow-x: auto;
}
.intro { color: #333; }
.small { font-size: 11px; color: #555; }

.privacy-note {
  background: #eef7e8;
  border: 1px solid #9cc28a;
  color: #2c4a1e;
  padding: 5px 8px;
  margin: 0 0 12px;
  font-size: 11px;
}

/* Boxed panel with a title strip, the core 2004 utility look. */
.panel {
  border: 1px solid #a7b6c5;
  margin: 0 0 12px;
}
.panel-title {
  background: #dde6ee;
  border-bottom: 1px solid #a7b6c5;
  color: #1d3c5c;
  font-weight: bold;
  padding: 3px 7px;
}
.panel-title .step {
  display: inline-block;
  background: #2b5a8a;
  color: #fff;
  width: 15px;
  text-align: center;
  margin-right: 5px;
}
.panel-body { padding: 8px 9px; }

table.data { border-collapse: collapse; width: 100%; font-size: 11px; }
table.data th, table.data td {
  border: 1px solid #cfd5db;
  padding: 2px 5px;
  text-align: left;
  white-space: nowrap;
}
table.data th { background: #eef0f2; }
table.data td.num { text-align: right; font-family: "Courier New", monospace; }
table.data td.neg { color: #b00000; }

/* FAQ */
dl.faq dt { font-weight: bold; margin-top: 10px; }
dl.faq dd { margin: 2px 0 0 0; }

/* ---------- Converter tool ---------- */

.dropzone {
  border: 2px dashed #8a96a3;
  background: #fafbfc;
  padding: 22px 10px;
  text-align: center;
  cursor: pointer;
  color: #555;
}
.dropzone b { color: #000; }
.dropzone.over { border-color: #2b5a8a; background: #eaf1f8; color: #2b5a8a; }

.fields { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.fields .field { width: 160px; }
.fields .field.wide { width: 350px; }
.field label { display: block; font-size: 11px; color: #333; margin-bottom: 1px; }
.field select, .field input[type=text], .field input[type=date], .field textarea { width: 100%; box-sizing: border-box; font: 11px Verdana, sans-serif; }
.check { display: block; margin-top: 8px; font-size: 11px; }

.tablewrap { overflow-x: auto; }
.summary { color: #1d6b1d; font-weight: bold; margin: 6px 0 0; }
.error {
  background: #fff1f0;
  border: 1px solid #d99a95;
  color: #8a1c13;
  padding: 5px 8px;
  margin-top: 8px;
  font-size: 11px;
}
.thanks { margin-top: 8px; font-size: 11px; }

button.go {
  font: bold 12px Verdana, sans-serif;
  padding: 4px 14px;
  cursor: pointer;
}

.hidden { display: none; }

/* ---------- Footer ---------- */

#footer {
  border-top: 1px solid #c3c9cf;
  background: #eef0f2;
  font-size: 10px;
  color: #555;
  text-align: center;
  padding: 7px 0 8px;
  line-height: 1.7;
}

/* Small spacing helpers (no inline styles, so the CSP can stay strict). */
.samplelink { margin: 6px 0 0; }
.fields-gap { margin-top: 8px; }

/* Let text columns wrap so the preview fits the fixed width; keep numbers on one line. */
table.data td { white-space: normal; }
table.data td.num { white-space: nowrap; }
table.data th { white-space: normal; }

/* Transcript preview */
pre.transcript { white-space: pre-wrap; max-height: 320px; overflow-y: auto; font: 11px/1.5 Verdana, sans-serif; background: #fafbfc; }
table.data input[type=text] { font: 11px Verdana, sans-serif; width: 100%; box-sizing: border-box; }
