/*
 * swmf_storage_estimator.css
 *
 * All classes prefixed with sse- to avoid conflicts
 * with the existing SWMF form styles.
 */

/* ── Main container ── */
.sse-box {
  background: #f0f4f8;
  border: 1px solid #b7ddf2;
  border-radius: 4px;
  padding: 10px 14px;
  margin: 10px 0;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  clear: both;
}

/* ── Pending state (no dates yet) ── */
.sse-box.sse-pending {
  background: #f7fafc;
  border-style: dashed;
  border-color: #cbd5e0;
  text-align: center;
  padding: 12px;
}

.sse-box.sse-pending span {
  color: #999;
  font-style: italic;
  font-size: 11px;
}

/* ── Header ── */
.sse-header {
  font-weight: bold;
  font-size: 12px;
  color: #0b77b7;
  margin: 0 0 4px 0;
}

/* ── Big number ── */
.sse-value {
  font-size: 22px;
  font-weight: bold;
  color: #2c5282;
  line-height: 1.2;
}

/* ── Range ── */
.sse-range {
  font-size: 11px;
  color: #718096;
  margin: 2px 0 0 0;
}

/* ── Summary line ── */
.sse-summary {
  font-size: 11px;
  color: #4a5568;
  margin: 6px 0 0 0;
  padding: 4px 8px;
  background: #e8edf2;
  border-radius: 3px;
  display: inline-block;
}

/* ── Defaults banner (registration page) ── */
.sse-defaults {
  background: #ebf4fb;
  border: 1px solid #b7ddf2;
  border-left: 3px solid #0b77b7;
  border-radius: 3px;
  padding: 6px 10px;
  margin: 0 0 8px 0;
  font-size: 11px;
  color: #4a5568;
  line-height: 1.4;
}

.sse-defaults strong {
  color: #0b77b7;
}

/* ── Warnings ── */
.sse-warn {
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 11px;
  margin: 6px 0 0 0;
  line-height: 1.4;
}

.sse-warn-critical {
  background: #fff5f5;
  border-left: 3px solid #e53e3e;
  color: #742a2a;
}

.sse-warn-warning {
  background: #fffff0;
  border-left: 3px solid #d69e2e;
  color: #744210;
}

.sse-warn-info {
  background: #ebf8ff;
  border-left: 3px solid #3182ce;
  color: #2a4365;
}

/* ── Disclaimer ── */
.sse-note {
  margin: 8px 0 0 0;
  padding: 4px 0 0 0;
  border-top: 1px solid #dde4ea;
  font-size: 10px;
  color: #a0aec0;
}

/* ── Submission gate ── */
.sse-gate {
  padding: 8px 12px;
  border-radius: 4px;
  margin: 10px 0;
  font-size: 12px;
  display: none;
}

.sse-gate-info {
  background: #ebf8ff;
  border: 1px solid #90cdf4;
}

.sse-gate-warning {
  background: #fffff0;
  border: 1px solid #ecc94b;
}

.sse-gate-critical {
  background: #fff5f5;
  border: 1px solid #fc8181;
}

.sse-gate-msg {
  margin: 0 0 6px 0;
}

.sse-gate-cb {
  display: block;
  font-size: 11px;
  cursor: pointer;
  font-weight: normal;
  width: auto;
  float: none;
}

.sse-gate-cb input {
  width: auto !important;
  float: none !important;
  margin: 0 4px 0 0 !important;
  border: none !important;
  padding: 0 !important;
}