/* Inspired by Inspiro theme aesthetic: clean, spacious, readable. */
.ct3fv-wrap { margin: 24px 0; }
.ct3fv-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.ct3fv-head { margin-bottom: 18px; }
.ct3fv-title { margin: 0 0 6px 0; font-size: 1.5rem; line-height: 1.25; }
.ct3fv-subtitle { margin: 0; opacity: .75; }

.ct3fv-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px) { .ct3fv-grid { grid-template-columns: 1fr; } }

.ct3fv-field label { display:block; font-weight: 600; margin-bottom: 6px; }
.ct3fv-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  outline: none;
}
.ct3fv-field input:focus { border-color: rgba(0,0,0,.32); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.ct3fv-field small { display:block; margin-top: 6px; opacity: .70; font-size: .9rem; }

.ct3fv-actions { margin-top: 16px; display:flex; gap: 10px; flex-wrap: wrap; }
.ct3fv-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,.14);
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
.ct3fv-btn:hover { opacity: .92; }
.ct3fv-btn-ghost { background: #fff; color: #111; }

.ct3fv-alert {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(220, 53, 69, .25);
  background: rgba(220, 53, 69, .08);
  color: #7a1b28;
}

.ct3fv-results { margin-top: 18px; border-top: 1px solid rgba(0,0,0,.08); padding-top: 18px; }
.ct3fv-results h3 { margin: 0 0 12px 0; }
.ct3fv-results-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 820px) { .ct3fv-results-grid { grid-template-columns: 1fr; } }

.ct3fv-result {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0,0,0,.02);
}
.ct3fv-result-strong { background: rgba(0,0,0,.04); }
.ct3fv-result-label { font-weight: 700; font-size: .95rem; opacity: .85; }
.ct3fv-result-value { margin-top: 6px; font-size: 1.25rem; font-weight: 800; }
.ct3fv-result-note { margin-top: 6px; opacity: .75; font-size: .92rem; }
.ct3fv-footnote { margin-top: 12px; opacity: .75; font-size: .92rem; }

@media print {
  body * { visibility: hidden !important; }
  .ct3fv-wrap, .ct3fv-wrap * { visibility: visible !important; }
  .ct3fv-wrap { position: absolute; left: 0; top: 0; width: 100%; }
  .ct3fv-actions, .ct3fv-alert { display: none !important; }
  .ct3fv-field input { border: none !important; padding: 0 !important; }
  .ct3fv-card { box-shadow: none !important; }
}

.ct3fv-print-header{
  display:none;
  margin-bottom:12px;
  font-size:1rem;
  font-weight:600;
}
@media print{
  .ct3fv-print-header{
    display:flex !important;
    justify-content:space-between;
    border-bottom:1px solid #000;
    padding-bottom:6px;
    margin-bottom:12px;
  }
}
