/* ==========================================================================
   Estate Tax Calculator - Stylesheet (Exact Clone of Reference Images 1 & 2)
   Matches Calculator Archive Classic Blue & Green Table Theme
   ========================================================================== */

:root {
  --et-blue-header: #2b5b84;
  --et-blue-nav: #003366;
  --et-blue-hover: #002277;
  --et-green-btn: #4a8b2c;
  --et-green-btn-hover: #3d7324;
  --et-gray-btn: #8a8a8a;
  --et-gray-btn-hover: #757575;
  --et-table-border: #7f9db9;
  --et-table-bg: #f4f4f4;
  --et-text: #222222;
  --et-link-blue: #0844a4;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--et-text);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background-color: var(--header-bg, #003366) !important;
  height: 48px;
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.site-header .header-container {
  max-width: 1040px;
  height: 100%;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.site-header .header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo {
  text-decoration: none !important;
  display: inline-flex;
  align-items: baseline;
  user-select: none;
  line-height: 1;
}

.site-header .logo-white {
  color: #ffffff !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header .logo-green {
  color: var(--logo-green, #82c341) !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header .header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   PAGE CONTAINER & LAYOUT
   ========================================================================== */
.k-page-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 14px 40px;
  box-sizing: border-box;
}

.k-breadcrumbs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.k-breadcrumbs {
  font-size: 12px;
  color: #555555;
}

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

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

.k-breadcrumbs span {
  margin: 0 3px;
  color: #777777;
}

.k-breadcrumbs .crumb-current {
  color: #333333;
  font-weight: normal;
}

.k-top-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.k-top-link-btn {
  background: none;
  border: none;
  color: var(--et-link-blue);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.k-top-link-btn:hover {
  color: var(--et-blue-hover);
}

.k-page-title {
  font-size: 22px;
  font-weight: bold;
  color: #1a5695;
  margin: 0 0 10px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.k-page-intro {
  font-size: 12px;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 16px 0;
  max-width: 700px;
}

.k-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 275px;
  gap: 24px;
  align-items: start;
}

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

/* ==========================================================================
   ESTATE TAX CALCULATOR FORM TABLE (EXACT CLONE OF IMAGE 2)
   ========================================================================== */
.et-table-wrap {
  margin-bottom: 24px;
  border: 1px solid var(--et-table-border);
  background-color: var(--et-table-bg);
  max-width: 480px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.et-calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.et-section-header {
  background-color: var(--et-blue-header);
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  text-align: left;
  padding: 5px 10px;
  letter-spacing: 0.2px;
}

.et-calc-table td {
  border-bottom: 1px solid #d4dbe1;
  padding: 4px 8px;
  vertical-align: middle;
}

.et-label-col {
  width: 68%;
  color: #1f2937;
  font-size: 12px;
  background-color: var(--et-table-bg);
}

.et-input-col {
  width: 32%;
  background-color: var(--et-table-bg);
  text-align: right;
}

.et-input {
  width: 100%;
  height: 24px;
  padding: 2px 6px;
  font-size: 12px;
  border: 1px solid #7f9db9;
  border-radius: 1px;
  background-color: #ffffff;
  color: #000000;
  box-sizing: border-box;
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
}

.et-input:focus {
  outline: none;
  border-color: #1a5695;
  box-shadow: 0 0 2px rgba(26, 86, 149, 0.4);
}

.et-table-actions {
  padding: 8px 10px;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #d4dbe1;
}

.btn-calculate {
  background-color: var(--et-green-btn);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #3d7324;
  border-radius: 2px;
  padding: 4px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.btn-clear {
  background-color: var(--et-gray-btn);
  color: #ffffff;
  font-size: 12px;
  font-weight: normal;
  border: 1px solid #757575;
  border-radius: 2px;
  padding: 4px 12px;
  cursor: pointer;
}

.btn-clear:hover {
  background-color: var(--et-gray-btn-hover);
}

.et-config-row {
  background-color: #e8eef4;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  border-bottom: 1px solid #cbd5e1;
}

.et-config-select {
  font-size: 11px;
  height: 22px;
  padding: 1px 4px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  background: #ffffff;
}

/* ==========================================================================
   RESULTS SUMMARY CARD
   ========================================================================== */
.et-results-card {
  border: 1px solid var(--et-table-border);
  background-color: #ffffff;
  margin-bottom: 24px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.et-results-header {
  background-color: var(--et-blue-header);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.et-banner-impact {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  gap: 16px;
}

.et-banner-safe {
  background: linear-gradient(to right, #f0fdf4, #e8f5e9);
  border-left: 4px solid #2e7d32;
}

.et-banner-taxable {
  background: linear-gradient(to right, #fff7ed, #fff1f2);
  border-left: 4px solid #c2410c;
}

.et-banner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
  margin-bottom: 3px;
}

.badge-safe {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.badge-taxable {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.et-banner-title {
  font-size: 15px;
  font-weight: bold;
  color: #0f172a;
}

.et-banner-desc {
  font-size: 11px;
  color: #475569;
  margin: 3px 0 0 0;
  max-width: 440px;
  line-height: 1.4;
}

.et-banner-amount {
  text-align: right;
  flex-shrink: 0;
}

.et-banner-big {
  font-size: 24px;
  font-weight: bold;
  color: #1e3a8a;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.1;
}

.et-banner-sub {
  font-size: 10px;
  color: #64748b;
  margin-top: 2px;
}

.et-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 600px) {
  .et-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.et-metric-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  padding: 6px 8px;
}

.et-metric-lbl {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.et-metric-val {
  font-size: 14px;
  font-weight: bold;
  color: #1e293b;
  margin-top: 2px;
}

.et-res-table-wrap {
  padding: 10px 12px;
  overflow-x: auto;
}

.et-res-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.et-res-table th {
  background-color: #2b5b84;
  color: #ffffff;
  font-weight: bold;
  padding: 5px 8px;
  text-align: left;
  border: 1px solid #2b5b84;
}

.et-res-table th:last-child,
.et-res-table td:last-child {
  text-align: right;
}

.et-res-table td {
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  color: #334155;
}

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

.et-highlight-row {
  background-color: #e0f2fe !important;
  font-weight: bold;
  color: #0369a1 !important;
}

.et-tax-row {
  background-color: #fee2e2 !important;
  font-weight: bold;
  color: #991b1b !important;
}

.et-final-row {
  background-color: #dcfce7 !important;
  font-weight: bold;
  color: #166534 !important;
}

/* ==========================================================================
   CHARTS & GRAPHS SECTION (Requirement 5)
   ========================================================================== */
.et-charts-section {
  border: 1px solid var(--et-table-border);
  background-color: #ffffff;
  margin-bottom: 24px;
  border-radius: 2px;
}

.et-charts-header {
  background-color: var(--et-blue-header);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
}

.et-charts-body {
  padding: 12px;
}

.et-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

@media (max-width: 640px) {
  .et-chart-grid {
    grid-template-columns: 1fr;
  }
}

.et-chart-card {
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  padding: 10px;
  background-color: #fafbfc;
}

.et-chart-title {
  font-size: 11px;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Exemption Number Line Scale */
.et-gauge-wrap {
  margin: 10px 0;
}

.et-gauge-bar {
  height: 18px;
  background-color: #e2e8f0;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  display: flex;
}

.et-gauge-fill-safe {
  height: 100%;
  background: linear-gradient(to right, #22c55e, #16a34a);
  transition: width 0.3s ease;
}

.et-gauge-fill-tax {
  height: 100%;
  background: linear-gradient(to right, #f97316, #ef4444);
  transition: width 0.3s ease;
}

.et-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  margin-top: 4px;
}

/* Asset Donut Chart SVG Container */
.et-donut-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.et-donut-svg {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.et-legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: #334155;
}

.et-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

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

/* ==========================================================================
   HISTORICAL EXEMPTIONS TABLE (EXACT CLONE OF IMAGE 2)
   ========================================================================== */
.et-history-table-section {
  margin-bottom: 24px;
}

.et-history-title {
  font-size: 16px;
  font-weight: bold;
  color: #1a5695;
  margin: 0 0 8px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.et-history-table-wrap {
  border: 1px solid #7f9db9;
  max-width: 480px;
  overflow-x: auto;
  background: #ffffff;
}

.et-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.et-history-table th {
  background-color: var(--et-blue-header);
  color: #ffffff;
  font-weight: bold;
  padding: 4px 8px;
  border: 1px solid #7f9db9;
  text-align: left;
}

.et-history-table th:first-child {
  width: 18%;
}

.et-history-table th:nth-child(2) {
  width: 52%;
}

.et-history-table th:last-child {
  width: 30%;
}

.et-history-table td {
  padding: 3px 8px;
  border: 1px solid #d4dbe1;
  color: #222222;
}

.et-history-table tr:nth-child(even) {
  background-color: #f7f9fa;
}

.et-history-table tr:hover {
  background-color: #eaf2fb;
}

.et-history-active-row {
  background-color: #e0f2fe !important;
  font-weight: bold;
  color: #0369a1;
}

/* ==========================================================================
   FRACTION ARITHMETIC & ESTATE HEIR ALLOCATION SOLVER (Requirement 1 & 6)
   ========================================================================== */
.et-fraction-card {
  border: 1px solid var(--et-table-border);
  background-color: #ffffff;
  margin-bottom: 24px;
  border-radius: 2px;
}

.et-fraction-header {
  background-color: var(--et-blue-header);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
}

.et-fraction-body {
  padding: 12px;
}

.et-frac-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.et-frac-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
}

.et-frac-input {
  width: 44px;
  height: 22px;
  font-size: 12px;
  text-align: center;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  padding: 0;
  box-sizing: border-box;
}

.et-frac-divider {
  width: 44px;
  height: 2px;
  background-color: #1e3a8a;
  margin: 3px 0;
}

.et-frac-op-select {
  font-size: 14px;
  height: 26px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  padding: 0 4px;
  font-weight: bold;
  background: #ffffff;
}

.et-frac-res-box {
  margin-top: 10px;
  padding: 8px 10px;
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 2px;
  font-size: 12px;
  color: #166534;
  line-height: 1.5;
}

/* ==========================================================================
   SEO / AEO / GEO CONTENT ARTICLE & FAQ ACCORDION (Requirements 7 & 9)
   ========================================================================== */
.et-article-card {
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.65;
  color: #334155;
}

.et-article-card h2 {
  font-size: 16px;
  color: #1a5695;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 4px;
  margin: 18px 0 10px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.et-article-card h2:first-child {
  margin-top: 0;
}

.et-article-card h3 {
  font-size: 13px;
  color: #1e3a8a;
  margin: 14px 0 6px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.et-article-card p {
  margin: 0 0 10px 0;
}

.et-article-card ul,
.et-article-card ol {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.et-article-card li {
  margin-bottom: 4px;
}

/* FAQ Accordion */
.et-faq-item {
  border: 1px solid #cbd5e1;
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.et-faq-question {
  background-color: #f8fafc;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: bold;
  color: #1a5695;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.et-faq-question:hover {
  background-color: #f1f5f9;
}

.et-faq-answer {
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.55;
  color: #334155;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: none;
}

.et-faq-item.active .et-faq-answer {
  display: block;
}

/* ==========================================================================
   RIGHT SIDEBAR (EXACT CLONE OF IMAGE 2)
   ========================================================================== */
.k-sidebar {
  width: 275px;
  flex-shrink: 0;
}

.k-side-search-box {
  display: flex;
  margin-bottom: 14px;
  position: relative;
}

.k-side-search-input {
  flex: 1;
  height: 28px;
  padding: 2px 8px;
  font-size: 12px;
  border: 1px solid #7f9db9;
  border-right: none;
  border-radius: 0;
  background-color: #ffffff;
  color: #000000;
  box-sizing: border-box;
}

.k-side-search-input:focus {
  outline: none;
  border-color: #1a5695;
}

.k-side-search-btn {
  background-color: #2b5b84;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #2b5b84;
  border-radius: 0;
  padding: 0 14px;
  height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}

.k-side-search-btn:hover {
  background-color: #1e426a;
}

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

.k-side-search-item {
  padding: 6px 10px;
  font-size: 11px;
  color: #0844a4;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.k-side-search-item:hover,
.k-side-search-item.selected {
  background-color: #eaf2fb;
}

.k-side-card {
  border: 1px solid #7f9db9;
  background-color: #ffffff;
  border-radius: 2px;
  overflow: hidden;
}

.k-side-card-header {
  background-color: #2b5b84;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 6px 10px;
  letter-spacing: 0.1px;
}

.k-side-links-container {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  gap: 12px;
  background-color: #ffffff;
}

.k-side-col {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.k-side-col li {
  margin-bottom: 4px;
  line-height: 1.45;
}

.k-side-col li a {
  font-size: 12px;
  color: var(--et-link-blue);
  text-decoration: underline;
  display: inline-block;
  white-space: nowrap;
}

.k-side-col li a:hover {
  color: var(--et-blue-hover);
}

.k-side-more-item {
  margin-top: 5px;
}

.k-side-more-item a {
  font-weight: bold !important;
  color: var(--et-link-blue) !important;
}

.k-side-card-footer {
  border-top: 1px solid #cbd5e1;
  background-color: #f1f5f9;
  padding: 6px 8px;
  font-size: 11px;
  text-align: center;
  color: #475569;
}

.k-side-card-footer a {
  color: var(--et-link-blue);
  text-decoration: underline;
  margin: 0 3px;
}

.k-side-card-footer a:hover {
  color: var(--et-blue-hover);
}

/* ==========================================================================
   MODAL DIALOGS (INSTANT TOOL IMAGE 1, HISTORY, PRINT)
   ========================================================================== */
.k-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  box-sizing: border-box;
}

.k-modal-card {
  background-color: #ffffff;
  border-radius: 3px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #7f9db9;
  animation: kModalFadeIn 0.2s ease-out;
}

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

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

.k-modal-title {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

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

.k-modal-body {
  padding: 14px;
  font-size: 12px;
}

.k-modal-desc {
  margin: 0 0 14px 0;
  color: #475569;
  font-size: 12px;
}

.k-modal-row {
  margin-bottom: 12px;
}

.k-modal-row label {
  display: block;
  font-size: 12px;
  color: #1e293b;
  margin-bottom: 4px;
  font-weight: bold;
}

.k-modal-row input {
  width: 100%;
  height: 28px;
  padding: 3px 8px;
  font-size: 12px;
  border: 1px solid #7f9db9;
  border-radius: 2px;
  box-sizing: border-box;
}

.k-modal-primary-btn {
  background-color: #23527c;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #1a3d5e;
  border-radius: 2px;
  padding: 6px 14px;
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
}

.k-modal-primary-btn:hover {
  background-color: #1a3d5e;
}

.k-modal-instant-res {
  margin-top: 14px;
  padding: 10px;
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: #166534;
}

/* History Table in Modal */
.k-hist-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.k-hist-table th,
.k-hist-table td {
  border: 1px solid #e2e8f0;
  padding: 4px 6px;
  text-align: left;
}

.k-hist-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: bold;
}

/* ==========================================================================
   PRINT MEDIA QUERY (Requirement 3)
   ========================================================================== */
@media print {
  .site-header,
  .k-breadcrumbs-row,
  .k-sidebar,
  .site-footer,
  .et-table-actions,
  .k-modal-overlay,
  .et-fraction-card,
  .et-article-card {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

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

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

  .et-table-wrap,
  .et-results-card,
  .et-history-table-section {
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #000000 !important;
    page-break-inside: avoid;
  }

  .et-results-header,
  .et-section-header,
  .et-history-table th {
    background: #e2e8f0 !important;
    color: #000000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* RTL Support for Arabic */
[dir="rtl"] {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .k-breadcrumbs span {
  transform: scaleX(-1);
  display: inline-block;
}

[dir="rtl"] .et-input {
  text-align: left;
}

[dir="rtl"] .et-section-header,
[dir="rtl"] .et-history-table th,
[dir="rtl"] .et-res-table th {
  text-align: right;
}

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