/* ==========================================================================
   Rent Calculator - Exact Clone Stylesheet
   Matching Reference Images 1 & 2 Pixel-Perfectly
   ========================================================================== */

.rc-page-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 15px 40px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

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

.rc-breadcrumbs {
  color: #0844a4;
}

.rc-breadcrumbs a {
  color: #0844a4;
  text-decoration: none;
}

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

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

.rc-breadcrumbs .current {
  color: #333333;
}

.rc-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-top-btn {
  background: none;
  border: none;
  color: #0844a4;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
}

.rc-top-btn:hover {
  color: #002277;
}

/* Page Titles */
.rc-page-title {
  font-size: 26px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 6px 0;
}

.rc-sec-heading {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 8px 0;
}

.rc-intro-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #333333;
  margin: 0 0 16px 0;
}

/* Two-Column Layout: Left Content & Right Sidebar (Matching Screenshot) */
.rc-main-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 25px;
  align-items: start;
  margin-bottom: 30px;
}

@media (max-width: 880px) {
  .rc-main-grid {
    grid-template-columns: 1fr;
  }
}

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

/* Form Container matching reference image 2 */
.rc-form-box {
  background-color: #f2f2f2;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  padding: 14px 18px;
  margin-bottom: 20px;
  max-width: 540px;
}

.rc-form-table {
  width: 100%;
  border-collapse: collapse;
}

.rc-form-table td {
  padding: 6px 4px;
  vertical-align: middle;
  font-size: 13px;
}

.rc-form-table .rc-lbl-td {
  width: 190px;
  color: #333333;
  white-space: nowrap;
}

.rc-form-table .rc-input-td {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rc-input-wrap {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  padding: 2px 5px;
}

.rc-input-wrap:focus-within {
  border-color: #003366;
  box-shadow: 0 0 3px rgba(0, 51, 102, 0.3);
}

.rc-input-wrap span.rc-currency-sym {
  color: #555555;
  font-size: 13px;
  margin-right: 2px;
}

.rc-input {
  border: none;
  outline: none;
  font-size: 13px;
  font-family: inherit;
  color: #000000;
  background: transparent;
}

.rc-input-currency {
  width: 90px;
  text-align: left;
}

.rc-select {
  border: 1px solid #7f9db9;
  border-radius: 2px;
  padding: 3px 5px;
  font-size: 12.5px;
  background-color: #ffffff;
  color: #000000;
  outline: none;
  cursor: pointer;
}

.rc-select:focus {
  border-color: #003366;
}

.rc-field-hint {
  font-size: 11.5px;
  color: #555555;
  white-space: nowrap;
}

/* Tooltip / Info Icon (?) */
.rc-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #8faec9;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  cursor: help;
  user-select: none;
  margin-left: 2px;
  position: relative;
}

.rc-info-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 20px;
  top: -6px;
  background-color: #2b5a88;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: normal;
  white-space: nowrap;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  pointer-events: none;
}

/* Form Buttons: Olive Green Calculate & Gray Clear */
.rc-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-left: 2px;
}

.rc-btn-calculate {
  background-color: #4e8020;
  color: #ffffff;
  border: 1px solid #3d6618;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rc-btn-calculate:hover {
  background-color: #416b1b;
}

.rc-btn-calculate svg {
  fill: #ffffff;
}

.rc-btn-clear {
  background-color: #8c8c8c;
  color: #ffffff;
  border: 1px solid #777777;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: normal;
  border-radius: 2px;
  cursor: pointer;
}

.rc-btn-clear:hover {
  background-color: #777777;
}

/* Quick Instant Tool Banner in Main Area */
.rc-quick-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  background: #e9f2fb;
  border: 1px solid #bdd7ee;
  border-radius: 3px;
  font-size: 12.5px;
  color: #1e3a8a;
}

.rc-quick-banner button {
  background: #2b5a88;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  padding: 3px 8px;
  font-size: 11.5px;
  cursor: pointer;
}

.rc-quick-banner button:hover {
  background: #1c3c5d;
}

/* ==========================================================================
   RESULTS SECTION & VISUAL CHARTS
   ========================================================================== */
.rc-results-box {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.rc-results-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.rc-results-title {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 4px 0;
}

.rc-results-subtitle {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

/* Hero Highlight Card */
.rc-hero-card {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
  border-radius: 3px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.rc-hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #166534;
  font-weight: bold;
  margin-bottom: 4px;
}

.rc-hero-val {
  font-size: 28px;
  font-weight: bold;
  color: #14532d;
  line-height: 1.1;
  margin-bottom: 4px;
}

.rc-hero-sub {
  font-size: 12.5px;
  color: #15803d;
}

/* Metric Cards Grid */
.rc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.rc-metric-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 10px 12px;
}

.rc-metric-tile-title {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 4px;
}

.rc-metric-tile-val {
  font-size: 18px;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 2px;
}

.rc-metric-tile-sub {
  font-size: 11px;
  color: #94a3b8;
}

/* Visualization Split: Donut Chart & Bar Chart */
.rc-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

@media (max-width: 720px) {
  .rc-charts-grid {
    grid-template-columns: 1fr;
  }
}

.rc-chart-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 12px 14px;
}

.rc-chart-title {
  font-size: 13.5px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 3px 0;
}

.rc-chart-subtitle {
  font-size: 11px;
  color: #64748b;
  margin: 0 0 10px 0;
}

.rc-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rc-donut-svg-box {
  width: 140px;
  height: 140px;
  position: relative;
}

.rc-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
}

.rc-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #334155;
}

.rc-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}

/* Horizontal Comparison Bar Chart */
.rc-bar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-bar-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #334155;
}

.rc-bar-meta strong {
  color: #0f172a;
}

.rc-bar-track {
  background: #e2e8f0;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.rc-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Safety Spectrum Meter */
.rc-spectrum-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.rc-spectrum-bar-wrap {
  position: relative;
  margin: 18px 0 10px;
}

.rc-spectrum-bar {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, #10b981 0%, #34d399 25%, #38bdf8 45%, #f59e0b 65%, #ef4444 100%);
  position: relative;
}

.rc-spectrum-marker {
  position: absolute;
  top: -8px;
  width: 2px;
  height: 28px;
  background: #0f172a;
  transform: translateX(-50%);
  transition: left 0.4s ease;
}

.rc-spectrum-marker::after {
  content: attr(data-label);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

.rc-spectrum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: #64748b;
  margin-top: 6px;
}

/* Itemized Table */
.rc-table-card {
  overflow-x: auto;
  margin-top: 14px;
}

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

.rc-table th {
  background-color: #2b5a88;
  color: #ffffff;
  font-weight: bold;
  text-align: left;
  padding: 6px 10px;
  border: 1px solid #23496d;
}

.rc-table th:last-child {
  text-align: right;
}

.rc-table td {
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  color: #1e293b;
}

.rc-table td:last-child {
  text-align: right;
  font-weight: bold;
}

.rc-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* ==========================================================================
   FRACTION ARITHMETIC TOOL SECTION (CORE REQUIREMENT 1)
   ========================================================================== */
.rc-fraction-tool {
  background-color: #f0f7fc;
  border: 1px solid #bce1f5;
  border-radius: 3px;
  padding: 16px 20px;
  margin-bottom: 25px;
}

.rc-fraction-title {
  font-size: 16px;
  font-weight: bold;
  color: #003366;
  margin: 0 0 6px 0;
}

.rc-fraction-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #334155;
  margin: 0 0 14px 0;
}

.rc-fraction-calc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rc-fraction-input-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rc-fraction-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.rc-fraction-stack input {
  width: 38px;
  height: 22px;
  text-align: center;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  font-size: 12.5px;
  font-family: inherit;
  outline: none;
}

.rc-fraction-stack input:focus {
  border-color: #003366;
}

.rc-fraction-divider {
  width: 100%;
  height: 1.5px;
  background-color: #333333;
  margin: 2px 0;
}

.rc-fraction-op-select {
  border: 1px solid #7f9db9;
  border-radius: 2px;
  padding: 3px 6px;
  font-size: 15px;
  font-weight: bold;
  background: #ffffff;
  outline: none;
}

.rc-fraction-result-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .rc-fraction-result-box {
    grid-template-columns: 1fr;
  }
}

.rc-fraction-res-display {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rc-frac-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: #003366;
  line-height: 1;
}

.rc-frac-badge-hr {
  width: 100%;
  height: 1.5px;
  background-color: #003366;
  margin: 2px 0;
}

/* ==========================================================================
   SEO / AEO / GEO CONTENT & FAQ SECTION (500+ WORDS)
   ========================================================================== */
.rc-seo-section {
  font-size: 13px;
  line-height: 1.6;
  color: #333333;
  margin-top: 25px;
  border-top: 1px solid #cbd5e1;
  padding-top: 20px;
}

.rc-seo-section h2 {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
  margin: 18px 0 8px 0;
}

.rc-seo-section h3 {
  font-size: 15px;
  font-weight: bold;
  color: #2b5a88;
  margin: 14px 0 6px 0;
}

.rc-seo-section p {
  margin: 0 0 12px 0;
}

.rc-seo-section ul,
.rc-seo-section ol {
  margin: 0 0 14px 20px;
  padding: 0;
}

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

/* FAQ Accordion */
.rc-faq-section {
  margin-top: 25px;
}

.rc-faq-card {
  border: 1px solid #d5e3ef;
  border-radius: 3px;
  margin-bottom: 8px;
  background-color: #ffffff;
}

.rc-faq-question {
  background-color: #f1f6fb;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 13px;
  color: #0844a4;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.rc-faq-question:hover {
  background-color: #e5eff9;
}

.rc-faq-answer {
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #333333;
  display: none;
}

.rc-faq-card.active .rc-faq-answer {
  display: block;
}

/* ==========================================================================
   RIGHT SIDEBAR: SEARCH & FINANCIAL CALCULATORS (IMAGE 2 CLONE)
   ========================================================================== */
.rc-sidebar-col {
  width: 100%;
}

.rc-side-search-form {
  display: flex;
  margin-bottom: 15px;
  position: relative;
}

.rc-side-search-wrap {
  flex: 1;
  position: relative;
}

.rc-side-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 4px 6px;
  font-size: 13px;
  border: 1px solid #7f9db9;
  border-right: none;
  border-radius: 2px 0 0 2px;
  outline: none;
}

.rc-side-search-input:focus {
  border-color: #2b5a88;
}

.rc-side-search-btn {
  background-color: #2b5a88;
  color: #ffffff;
  border: 1px solid #2b5a88;
  border-radius: 0 2px 2px 0;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: normal;
  cursor: pointer;
  white-space: nowrap;
}

.rc-side-search-btn:hover {
  background-color: #1e3f60;
}

/* Live Search Autocomplete Dropdown */
.rc-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: -60px;
  background: #ffffff;
  border: 1px solid #2b5a88;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.rc-search-item {
  padding: 7px 10px;
  font-size: 12px;
  color: #1e293b;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.rc-search-item:hover,
.rc-search-item.highlighted {
  background-color: #e2e8f0;
}

.rc-search-item .rc-search-cat {
  font-size: 10px;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 4px;
  border-radius: 2px;
}

/* Financial Calculators Card (Matching Image 2) */
.rc-side-card {
  border: 1px solid #2b5a88;
  border-radius: 2px;
  background: #ffffff;
  margin-bottom: 15px;
}

.rc-side-card-title {
  background-color: #2b5a88;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: bold;
  padding: 5px 10px;
}

.rc-side-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 10px;
  gap: 5px 10px;
}

.rc-side-card-grid a {
  color: #0844a4;
  text-decoration: none;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.rc-side-card-more {
  padding: 6px 10px 8px;
  font-size: 12px;
}

.rc-side-card-more a {
  color: #0844a4;
  text-decoration: none;
}

.rc-side-card-more a:hover {
  text-decoration: underline;
}

.rc-side-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #777777;
  padding: 0 4px;
}

.rc-side-footer-links a {
  color: #0844a4;
  text-decoration: none;
}

.rc-side-footer-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MODAL DIALOGS: INSTANT TOOL (IMAGE 1), SAVE/HISTORY, PRINT
   ========================================================================== */
.rc-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 15px;
}

.rc-modal-card {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  animation: rcFadeIn 0.15s ease-out;
}

@keyframes rcFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.rc-modal-header {
  background-color: #2b5a88;
  color: #ffffff;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rc-modal-title {
  font-size: 14.5px;
  font-weight: bold;
}

.rc-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 4px;
}

.rc-modal-body {
  padding: 14px 18px;
  font-size: 13px;
  max-height: 80vh;
  overflow-y: auto;
}

.rc-modal-footer {
  padding: 8px 18px 12px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e2e8f0;
}

/* Instant Modal specific styling matching Reference Image 1 */
.rc-instant-subtext {
  font-size: 12.5px;
  color: #4b5563;
  margin-bottom: 12px;
}

.rc-instant-form-group {
  margin-bottom: 10px;
}

.rc-instant-label {
  display: block;
  font-size: 12.5px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 3px;
}

.rc-instant-input {
  width: 100%;
  box-sizing: border-box;
  padding: 5px 8px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  font-size: 13px;
  outline: none;
}

.rc-instant-input:focus {
  border-color: #2b5a88;
  box-shadow: 0 0 3px rgba(43, 90, 136, 0.3);
}

.rc-btn-instant-compute {
  background-color: #2b5a88;
  color: #ffffff;
  border: 1px solid #1e3f60;
  border-radius: 2px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 6px;
}

.rc-btn-instant-compute:hover {
  background-color: #1e3f60;
}

.rc-instant-output {
  margin-top: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  font-size: 12.5px;
  line-height: 1.5;
}

/* ==========================================================================
   PRINT STYLES & PRINT MODAL
   ========================================================================== */
.rc-print-sheet {
  background: #ffffff;
  color: #0f172a;
  font-family: Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* If printing from print modal */
  body.rc-print-active .site-header,
  body.rc-print-active .site-footer,
  body.rc-print-active .rc-page-container,
  body.rc-print-active .rc-quick-banner,
  body.rc-print-active #rc-instant-modal,
  body.rc-print-active #rc-history-modal,
  body.rc-print-active .rc-modal-header,
  body.rc-print-active .rc-modal-footer,
  body.rc-print-active .rc-print-actions-bar,
  body.rc-print-active #rc-print-feedback-banner {
    display: none !important;
  }

  body.rc-print-active #rc-print-modal {
    display: block !important;
    position: static !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
  }

  body.rc-print-active #rc-print-modal .rc-modal-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.rc-print-active #rc-print-modal .rc-modal-body {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* If printing main page directly (Ctrl+P without modal) */
  body:not(.rc-print-active) .site-header,
  body:not(.rc-print-active) .rc-top-actions,
  body:not(.rc-print-active) .rc-btn-row,
  body:not(.rc-print-active) .rc-sidebar-col,
  body:not(.rc-print-active) .site-footer,
  body:not(.rc-print-active) .rc-fraction-tool,
  body:not(.rc-print-active) .rc-modal-overlay,
  body:not(.rc-print-active) .rc-quick-banner {
    display: none !important;
  }

  body:not(.rc-print-active) .rc-main-grid {
    display: block !important;
  }

  body:not(.rc-print-active) .rc-page-container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  body:not(.rc-print-active) .rc-results-box {
    border: none !important;
    padding: 0 !important;
  }
}

/* RTL Layout for Arabic */
[dir="rtl"] .rc-form-table .rc-lbl-td {
  text-align: right;
}

[dir="rtl"] .rc-top-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .rc-breadcrumbs {
  direction: rtl;
}

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

[dir="rtl"] .rc-side-search-btn {
  border-radius: 2px 0 0 2px;
}

[dir="rtl"] .rc-hero-card {
  border-left: 1px solid #86efac;
  border-right: 4px solid #16a34a;
}
