/* ==========================================================================
   Student Loan Calculator - Stylesheet
   Exact Clone Matching Reference Images 1 & 2
   Supports 8 Languages, RTL layout for Arabic, and Clean Print Styling
   ========================================================================== */

:root {
  --sl-primary: #003366;
  --sl-link: #0844a4;
  --sl-link-hover: #002277;
  --sl-green-header: #4c7a2d;
  --sl-green-btn: #2e7d32;
  --sl-green-btn-hover: #256b29;
  --sl-green-highlight: #166534;
  --sl-text-dark: #333333;
  --sl-text-muted: #555555;
  --sl-border-light: #d1d5db;
  --sl-card-bg: #f9f9f9;
  --sl-input-border: #7f9db9;
  --sl-pie-principal: #2b5a88;
  --sl-pie-interest: #8bc34a;
}

.sl-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 15px 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--sl-text-dark);
}

/* --------------------------------------------------------------------------
   Breadcrumbs & Top Bar
   -------------------------------------------------------------------------- */
.sl-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 10px;
}

.sl-breadcrumbs {
  color: var(--sl-link);
}

.sl-breadcrumbs a {
  color: var(--sl-link);
  text-decoration: none;
}

.sl-breadcrumbs a:hover {
  text-decoration: underline;
}

.sl-breadcrumbs .sep {
  color: #777777;
  margin: 0 4px;
}

.sl-breadcrumbs .current {
  color: var(--sl-text-dark);
}

.sl-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sl-top-btn {
  background: none;
  border: none;
  color: var(--sl-link);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 2px;
}

.sl-top-btn:hover {
  color: var(--sl-link-hover);
  background-color: #f1f5f9;
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.sl-page-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--sl-primary);
  margin: 4px 0 16px 0;
}

/* --------------------------------------------------------------------------
   Two-Column Main Grid (Calculators on Left, Sidebar on Right)
   -------------------------------------------------------------------------- */
.sl-main-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 25px;
  align-items: start;
  margin-bottom: 30px;
}

.sl-content-col {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Calculator Block / Section
   -------------------------------------------------------------------------- */
.sl-section-block {
  margin-bottom: 32px;
}

.sl-section-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--sl-primary);
  margin: 0 0 6px 0;
}

.sl-section-subtitle {
  font-size: 13px;
  line-height: 1.45;
  color: var(--sl-text-dark);
  margin: 0 0 12px 0;
}

.sl-section-subtitle a {
  color: var(--sl-link);
  text-decoration: underline;
}

/* Flex Row: Form (Left) & Results (Right) */
.sl-calc-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 12px;
}

/* Form Container Card */
.sl-form-box {
  background-color: #f6f6f6;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  padding: 12px 14px;
  flex: 0 0 310px;
  box-sizing: border-box;
}

.sl-form-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sl-form-table td {
  padding: 4px 2px;
  vertical-align: middle;
}

.sl-form-table td:first-child {
  width: 50%;
  color: var(--sl-text-dark);
  font-size: 13px;
}

.sl-form-table td:last-child {
  width: 50%;
}

.sl-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #333;
}

.sl-input {
  height: 24px;
  padding: 2px 6px;
  border: 1px solid var(--sl-input-border);
  border-radius: 2px;
  font-size: 13px;
  font-family: inherit;
  color: #111827;
  background-color: #ffffff;
  text-align: right;
  width: 95px;
  box-sizing: border-box;
}

.sl-input-wide {
  width: 105px;
}

.sl-input-unit {
  font-size: 13px;
  color: #333333;
  white-space: nowrap;
}

.sl-unit-prefix {
  font-size: 13px;
  color: #333333;
  margin-right: 2px;
}

.sl-radio-group {
  margin-top: 4px;
}

.sl-radio-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 4px;
  color: var(--sl-text-dark);
}

.sl-radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 12px;
  cursor: pointer;
}

.sl-extra-inputs-indent {
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.sl-extra-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12.5px;
}

.sl-extra-row .sl-input {
  width: 70px;
}

/* Button Row */
.sl-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 6px;
}

.sl-btn-calculate {
  background: var(--sl-green-btn);
  color: #ffffff;
  border: 1px solid #1b5e20;
  font-weight: bold;
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.sl-btn-calculate:hover {
  background: var(--sl-green-btn-hover);
}

.sl-btn-clear {
  background: #8e99a4;
  color: #ffffff;
  border: 1px solid #75818d;
  font-weight: bold;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 3px;
  cursor: pointer;
}

.sl-btn-clear:hover {
  background: #7a8692;
}

/* --------------------------------------------------------------------------
   Result Box (Green Header with Save Icon)
   -------------------------------------------------------------------------- */
.sl-results-box {
  background-color: #f6f6f6;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  flex: 1;
  min-width: 260px;
  box-sizing: border-box;
  overflow: hidden;
}

.sl-results-header {
  background-color: var(--sl-green-header);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sl-save-icon-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.sl-save-icon-btn:hover {
  opacity: 1;
}

.sl-results-body {
  padding: 12px 14px;
  font-size: 13px;
}

.sl-repay-highlight {
  font-size: 14px;
  color: #333333;
  margin-bottom: 6px;
}

.sl-repay-amount {
  font-size: 15px;
  font-weight: bold;
  color: #2e7d32;
}

.sl-result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: #333333;
  font-size: 13px;
}

.sl-result-item-bold {
  font-weight: bold;
}

/* Chart & Legend */
.sl-chart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #dcdcdc;
}

.sl-pie-wrap {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.sl-pie-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sl-legend-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: #333333;
}

.sl-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sl-legend-sq {
  width: 12px;
  height: 12px;
  border-radius: 1px;
  display: inline-block;
  flex-shrink: 0;
}

.sl-sq-principal {
  background-color: var(--sl-pie-principal);
}

.sl-sq-interest {
  background-color: var(--sl-pie-interest);
}

.sl-schedule-link-wrap {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
}

.sl-action-link {
  color: var(--sl-link);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.sl-action-link:hover {
  color: var(--sl-link-hover);
}

/* Repayment Comparison Text & Tables */
.sl-repay-narrative {
  font-size: 13px;
  line-height: 1.5;
  color: #333333;
  margin-bottom: 12px;
}

.sl-repay-narrative strong {
  font-weight: bold;
}

.sl-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
}

.sl-schedule-table th {
  background-color: #eaeaea;
  color: #111827;
  text-align: left;
  padding: 5px 8px;
  font-weight: bold;
  border-bottom: 1px solid #dcdcdc;
  font-size: 12.5px;
}

.sl-schedule-table td {
  padding: 4px 8px;
  border-bottom: 1px solid #efefef;
  color: #333333;
}

.sl-schedule-table td:last-child {
  text-align: right;
  font-weight: 500;
}

.sl-footnote {
  font-size: 11.5px;
  color: #555555;
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Debt Ratio & Fraction Arithmetic Component
   -------------------------------------------------------------------------- */
.sl-fraction-section {
  background-color: #fbfbfb;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 16px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.sl-frac-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.sl-frac-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
}

.sl-frac-input {
  width: 80px;
  height: 26px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--sl-input-border);
  border-radius: 2px;
  padding: 2px;
}

.sl-frac-bar {
  width: 100%;
  height: 2px;
  background-color: #333333;
  margin: 4px 0;
}

.sl-op-select {
  height: 32px;
  font-size: 16px;
  font-weight: bold;
  padding: 2px 8px;
  border: 1px solid var(--sl-input-border);
  border-radius: 3px;
  background-color: #ffffff;
  cursor: pointer;
}

.sl-frac-equals {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
}

.sl-frac-result-box {
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  padding: 10px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.sl-frac-display {
  font-size: 16px;
  font-weight: bold;
  color: var(--sl-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sl-frac-vertical {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
}

.sl-frac-decimal {
  font-size: 12px;
  color: #666666;
  margin-top: 4px;
}

/* Number Line & Bar Visualizer */
.sl-number-line-wrap {
  margin-top: 14px;
  background: #ffffff;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
}

.sl-bar-visual {
  height: 22px;
  width: 100%;
  background-color: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  position: relative;
}

.sl-bar-fill-principal {
  background-color: var(--sl-pie-principal);
  height: 100%;
  transition: width 0.3s ease;
}

.sl-bar-fill-interest {
  background-color: var(--sl-pie-interest);
  height: 100%;
  transition: width 0.3s ease;
}

/* --------------------------------------------------------------------------
   Right Sidebar (Clone of Image 2)
   -------------------------------------------------------------------------- */
.sl-sidebar-col {
  min-width: 0;
}

.sl-side-search-form {
  margin-bottom: 16px;
}

.sl-side-search-wrap {
  display: flex;
  align-items: stretch;
  position: relative;
}

.sl-side-search-input {
  width: 100%;
  height: 30px;
  padding: 4px 8px;
  border: 1px solid #7f9db9;
  border-right: none;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
}

.sl-side-search-input:focus {
  outline: none;
  border-color: #2b619e;
}

.sl-side-search-btn {
  background: #2b619e;
  color: #ffffff;
  border: 1px solid #2b619e;
  font-size: 13px;
  font-weight: bold;
  padding: 0 12px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.sl-side-search-btn:hover {
  background: #204b7c;
}

.sl-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #7f9db9;
  border-top: none;
  z-index: 1000;
  max-height: 280px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.sl-search-dropdown.active {
  display: block;
}

.sl-search-item {
  padding: 6px 10px;
  font-size: 12.5px;
  color: #333333;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.sl-search-item:hover,
.sl-search-item.focused {
  background-color: #eaf1f8;
  color: #0844a4;
}

.sl-search-no-results {
  padding: 8px 10px;
  font-size: 12px;
  color: #777777;
  font-style: italic;
}

/* Sidebar Financial Calculators Box */
.sl-side-card {
  border: 1px solid #9bb5cf;
  border-radius: 2px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 20px;
}

.sl-side-card-title {
  background: #2b619e;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 10px;
  text-align: center;
}

.sl-side-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 6px;
  row-gap: 4px;
  column-gap: 8px;
  font-size: 12.5px;
}

.sl-side-card-grid a {
  color: #0844a4;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 4px;
}

.sl-side-card-grid a:hover {
  text-decoration: underline;
}

.sl-side-card-footer {
  border-top: 1px solid #e0e0e0;
  padding: 6px 8px;
  font-size: 12px;
  text-align: center;
  color: #555555;
  background-color: #f9f9f9;
}

.sl-side-card-footer a {
  color: #0844a4;
  text-decoration: none;
  margin: 0 2px;
}

.sl-side-card-footer a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Instant Calculation Tool Modal (Clone of Image 1)
   -------------------------------------------------------------------------- */
.sl-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.sl-modal-card {
  background: #ffffff;
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: slFadeIn 0.2s ease-out;
}

@keyframes slFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sl-modal-header {
  background: #2b619e;
  color: #ffffff;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 15px;
}

.sl-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.sl-modal-close:hover {
  color: #f1f5f9;
}

.sl-modal-body {
  padding: 16px 20px;
  font-size: 13px;
  color: #333333;
}

.sl-modal-subtitle {
  font-size: 13px;
  color: #555555;
  margin-bottom: 16px;
}

.sl-modal-field {
  margin-bottom: 14px;
}

.sl-modal-field label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 5px;
}

.sl-modal-field input {
  width: 100%;
  height: 32px;
  padding: 4px 8px;
  border: 1px solid #7f9db9;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}

.sl-modal-field input:focus {
  outline: none;
  border-color: #2b619e;
}

.sl-btn-compute {
  background: #2b619e;
  color: #ffffff;
  border: 1px solid #1a4473;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.sl-btn-compute:hover {
  background: #204b7c;
}

.sl-instant-result-box {
  margin-top: 16px;
  padding: 12px;
  background-color: #f4f8fc;
  border: 1px solid #c8dcf0;
  border-radius: 3px;
}

.sl-instant-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 13px;
}

.sl-instant-row strong {
  color: #1b5e20;
  font-size: 14px;
}

/* Amortization & Saved Modals */
.sl-large-modal-card {
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.sl-modal-scroll-body {
  overflow-y: auto;
  padding: 16px;
  flex: 1;
}

.sl-table-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.sl-table-data th {
  background: #f1f5f9;
  color: #1e293b;
  padding: 7px 10px;
  text-align: right;
  border-bottom: 2px solid #cbd5e1;
}

.sl-table-data th:first-child {
  text-align: left;
}

.sl-table-data td {
  padding: 6px 10px;
  text-align: right;
  border-bottom: 1px solid #e2e8f0;
}

.sl-table-data td:first-child {
  text-align: left;
}

.sl-table-data tr:nth-child(even) {
  background-color: #fbfbfb;
}

.sl-modal-footer {
  padding: 10px 16px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sl-btn-modal-action {
  background: #2e7d32;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.sl-btn-modal-secondary {
  background: #64748b;
  color: #ffffff;
  border: none;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
}

/* Toast */
.sl-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  z-index: 100000;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: slToastIn 0.25s ease-out;
}

@keyframes slToastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   SEO / AEO / GEO Section Styling
   -------------------------------------------------------------------------- */
.sl-seo-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 24px 28px;
  margin-top: 36px;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.sl-seo-section h2 {
  font-size: 22px;
  font-weight: bold;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.sl-seo-section h3 {
  font-size: 17px;
  font-weight: bold;
  color: #1e293b;
  margin: 20px 0 8px 0;
}

.sl-seo-section p {
  margin-bottom: 14px;
}

.sl-seo-section ul,
.sl-seo-section ol {
  margin: 0 0 16px 24px;
}

.sl-seo-section li {
  margin-bottom: 6px;
}

.sl-formula-card {
  background: #f8fafc;
  border-left: 4px solid #2b619e;
  padding: 12px 16px;
  margin: 16px 0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13.5px;
  color: #0f172a;
  border-radius: 0 4px 4px 0;
}

.sl-aeo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.sl-aeo-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 14px;
}

.sl-aeo-card h4 {
  font-size: 14.5px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 6px 0;
}

.sl-aeo-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.sl-geo-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  padding: 16px;
  margin: 20px 0;
}

.sl-geo-box h4 {
  font-size: 15px;
  font-weight: bold;
  color: #1e40af;
  margin: 0 0 10px 0;
}

.sl-geo-box p {
  font-size: 13px;
  margin-bottom: 8px;
  color: #1e3a8a;
}

/* --------------------------------------------------------------------------
   RTL (Arabic) Layout Rules
   -------------------------------------------------------------------------- */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .sl-breadcrumbs .sep {
  transform: rotate(180deg);
}

[dir="rtl"] .sl-side-search-input {
  border-right: 1px solid #7f9db9;
  border-left: none;
}

[dir="rtl"] .sl-schedule-table th,
[dir="rtl"] .sl-schedule-table td {
  text-align: right;
}

[dir="rtl"] .sl-schedule-table td:last-child {
  text-align: left;
}

[dir="rtl"] .sl-table-data th,
[dir="rtl"] .sl-table-data td {
  text-align: left;
}

[dir="rtl"] .sl-table-data th:first-child,
[dir="rtl"] .sl-table-data td:first-child {
  text-align: right;
}

[dir="rtl"] .sl-formula-card {
  border-left: none;
  border-right: 4px solid #2b619e;
  border-radius: 4px 0 0 4px;
}

/* --------------------------------------------------------------------------
   Responsive Layout (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .sl-main-grid {
    grid-template-columns: 1fr;
  }

  .sl-calc-flex {
    flex-direction: column;
  }

  .sl-form-box {
    flex: 1 1 100%;
    width: 100%;
  }

  .sl-results-box {
    width: 100%;
  }

  .sl-aeo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sl-page-title {
    font-size: 22px;
  }

  .sl-section-title {
    font-size: 16px;
  }

  .sl-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .sl-frac-row {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Print Stylesheet (@media print)
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .site-header,
  .site-footer,
  .sl-sidebar-col,
  .sl-top-actions,
  .sl-btn-row,
  .sl-schedule-link-wrap,
  .sl-modal-overlay,
  .sl-toast {
    display: none !important;
  }

  .sl-page-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .sl-main-grid {
    display: block !important;
  }

  .sl-calc-flex {
    page-break-inside: avoid;
    margin-bottom: 20px;
  }

  .sl-form-box,
  .sl-results-box {
    border: 1px solid #888888 !important;
    background: #ffffff !important;
  }

  .sl-results-header {
    background: #2e7d32 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
