/* Template-based modern UI for director calculator */
:root {
  --primary: #0095d5;
  --primary-light: rgba(0, 149, 213, 0.10);
  --primary-dark: #007aad;
  --dark: #0b0b0b;
  --mid: rgba(11, 11, 11, 0.62);
  --light: #ffffff;
  --border: rgba(0, 149, 213, 0.18);
  --white: #ffffff;
  --danger: #b21f3d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 149, 213, 0.12), transparent 55%),
    radial-gradient(900px 500px at 95% 20%, rgba(0, 149, 213, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 35%, #f5f9fc 100%);
  min-height: 100vh;
  padding: 24px;
}

@font-face {
  font-family: canada-type-Gibson, sans-serif;
  src: url(fonts/fonnts.com-Gibson_Thin.otf);
}

.page {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page .sec_heading {
  text-align: center;
  margin-bottom: 16px;
  max-width: 80%;
}

.page .sec_heading h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #212529;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: sans-serif;
}

.page .sec_heading p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #212529;
  margin-bottom: 10px;
  font-family: sans-serif;
  max-width: 65%;
  margin: 11px auto;
}

@media(max-width:991px) {
  .page .sec_heading h1 {
    font-size: 30px;
  }
}

@media(max-width:767px) {
  .page .sec_heading h1 {
    font-size: 25px;
  }

  .page .sec_heading p {
    font-size: 14px;
    line-height: 1.2;
  }
}

@media(max-width:575px) {
  .page .sec_heading h1 {
    font-size: 20px;
  }
}

/* custom-select-wrapper */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  max-width: 350px;
  margin: 0 auto;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid #FF7F27;
  border-radius: 7px;
  background-color: #ffffff;
}

.select-trigger {
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.select-trigger span {
  font-size: 18px;
  font-weight: 700;
}

/* The Options Container */
.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 2px solid #FF7F27;
  border-top: none;
  border-radius: 12px;
  background: #fff;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 14;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Styling the Options & Background Colors */
.custom-option {
  padding: 10px;
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: 700;
  font-family: sans-serif;
}

/* Hover effect with custom color */
.custom-option:hover {
  background-color: green;
  /* Change this to any color you like */
  color: white;
}

/* Selected state color */
.custom-option.selected {
  color: #FFFFFF;
  background-color: brown;
}

@media(max-width:575px) {
  .custom-select-wrapper {
    max-width: 280px;
  }

  .select-trigger {
    padding: 6px 10px;
  }

  .select-trigger span {
    font-size: 14px;
  }

  .custom-option {
    padding: 6px 8px;
  }
}

.arrow {
  width: 10px;
  height: 10px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
  transition: transform 0.3s;
}

.custom-select.open .arrow {
  transform: rotate(135deg);
}

.layout {
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.assumptions-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.assumptions-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: sans-serif;
}

.assumptions-head p {
  font-size: 12px;
  font-weight: 700;
  color: var(--mid);
  margin-bottom: 10px;
  font-family: sans-serif;
}

.assumptions-list {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.assumptions-list li {
  font-size: 12px;
  font-weight: 700;
  color: #24303a;
  line-height: 1.45;
  font-family: sans-serif;
}

.saved-panel {
  border-radius: 22px;
  overflow: hidden;
}

.saved-wrap--standalone {
  padding: 20px 24px 22px;
  border-top: none;
}

.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(0, 149, 213, 0.10), 0 1px 8px rgba(0, 0, 0, 0.04);
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
}

.calc-card {
  border-radius: 22px;
}


.graph-card>.card-header {
  flex-shrink: 0;
}

.graph-header .header-icon {
  background: rgba(0, 149, 213, 0.08);
}

.graph-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 14px;
}

.card-header {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icon {
  height: 40px;
  width: 40px;
  min-width: 40px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.header-text h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
  font-family: sans-serif;
}

.header-text p {
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  margin-top: 2px;
  font-family: sans-serif;
}

.card-body {
  padding: 28px 32px;
  display: grid;
  gap: 22px;
}

@media(max-width:1199px) {
  .card-body {
    padding: 20px 16px;
    display: grid;
    gap: 14px;
  }

  .card-header {
    padding: 20px 20px 20px;
  }

  .header-text p {
    font-size: 12px;
  }

  .header-text h2 {
    font-size: 16px;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--mid);
  font-family: sans-serif;
}

.muted-inline {
  font-size: 13px;
}

.field-value {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media(max-width:1365px) {
  .field-label-row {
    gap: 6px;
  }
}

@media(max-width:1199px) {
  .muted-inline {
    font-size: 11px;
  }

  .field-label {
    font-size: 12px;
  }
}

.currency-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  background: var(--primary-light);
  padding: 5px 10px;
  border-radius: 10px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.2px;
  min-width: 120px;
  text-align: center;
}

.money-input {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 8px;
}

.money-output {
  min-width: 130px;
  justify-content: flex-end;
}

.money-output span {
  font-family: canada-type-Gibson, sans-serif;
  font-weight: 700;
}

.money-prefix {
  font-family: canada-type-Gibson, sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
}

.money-field {
  width: 140px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: canada-type-Gibson, sans-serif;
  font-weight: 700;
  color: var(--dark);
  text-align: right;
  padding: 2px 0;
}

.money-field::-webkit-outer-spin-button,
.money-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.money-field[type=number] {
  -moz-appearance: textfield;
}

@media(max-width:1365px) {
  .money-field {
    width: 95px;
  }
}

@media(max-width:1365px) {
  .money-field {
    width: 85px;
  }
}

.slider-wrap {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  background: transparent;
  position: relative;
  z-index: 2;
}

input[type="range"].primary-slider {
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--val, 0%), rgba(0, 149, 213, 0.18) var(--val, 0%), rgba(0, 149, 213, 0.18) 100%);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 149, 213, 0.35), 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid rgba(0, 149, 213, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

@media(max-width:991px) {
  input[type="range"]::-webkit-slider-thumb {
    height: 15px;
    width: 15px;
  }
}

.sr-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.radio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-group label.group-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--mid);
  font-family: sans-serif;
}

.radio-options {
  display: flex;
  gap: 8px;
}

.radio-option {
  flex: 1;
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  font-family: sans-serif;
}

.radio-option label:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--dark);
}

.radio-option input[type="radio"]:checked+label {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--dark);
  font-weight: 700;
}

.radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: none;
}

.radio-option input[type="radio"]:checked+label .radio-dot {
  display: block;
}

.inline-link {
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: underline;
  margin-top: 2px;
}

.auto-lines {
  margin-top: 6px;
  border: 1px dashed rgba(0, 149, 213, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(0, 149, 213, 0.04);
  display: grid;
  gap: 5px;
}

.auto-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #24303a;
  font-family: sans-serif;
}

.auto-line strong {
  color: #005a8a;
  font-family: canada-type-Gibson, sans-serif;
}

.warn {
  font-size: 12px;
  font-weight: 700;
  color: #ff7f27;
  font-family: sans-serif;
}

#dividend-warning {
  margin-top: 2px;
}

@media(max-width:1365px) {
  .radio-option label {
    padding: 7px 8px;
  }
}

@media(max-width:1199px) {
  .radio-group label.group-label {
    font-size: 12px;
  }
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

.result-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
}

.result-section--stack {
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.result-card {
  padding: 20px 24px;
  position: relative;
}

.result-card:first-child {
  border-right: 1px solid var(--border);
}

.result-section--stack .result-card:first-child {
  border-right: none;
  border-bottom: 1px solid var(--border);
}

.result-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-family: sans-serif;
}

.result-value {
  font-size: 22px;
  font-weight: 700;
  font-family: canada-type-Gibson, sans-serif;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.result-value.green {
  color: var(--primary);
}

.result-value.blue {
  color: var(--dark);
}

.result-sub {
  font-size: 11px;
  font-weight: 700;
  color: rgba(11, 11, 11, 0.45);
  margin-top: 3px;
  font-family: sans-serif;
}

@media(max-width:575px) {
  .result-card {
    padding: 15px;
  }

  .result-value {
    font-size: 14px;
  }
}

.donut-section {
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.donut-section--card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

/* Breakdown + saved runs (restored) */
.breakdown {
  padding: 22px 32px;
  border-top: 1px solid var(--border);
}

.breakdown-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.35px;
  line-height: 1.25;
}

.breakdown-head p {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(11, 11, 11, 0.72);
  font-family: sans-serif;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.breakdown-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px 10px;
  background: #fff;
}

.breakdown-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: -2px -2px 12px -2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 2px 8px rgba(0, 149, 213, 0.25);
  font-family: sans-serif;
}

.breakdown-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.breakdown-card li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 149, 213, 0.14);
  padding: 8px 2px 10px;
}

.breakdown-card li:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.breakdown-card .row-label {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: #1a1d21;
  line-height: 1.4;
  font-size: 13px;
}

.breakdown-card .row-value {
  flex-shrink: 0;
  text-align: right;
  font-weight: 700;
  font-family: canada-type-Gibson, sans-serif;
  font-size: 13px;
  color: #0a2540;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Breakdown in right sidebar: stacked cards, compact */
.breakdown--sidebar {
  padding: 0;
  border-top: none;
  margin-top: 2px;
}

.breakdown--sidebar .breakdown-head {
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 149, 213, 0.35);
  margin-bottom: 8px;
}

.breakdown--sidebar .breakdown-head h3 {
  font-size: 18px;
  font-family: sans-serif;
}

.breakdown-grid--sidebar {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.breakdown--sidebar .breakdown-card {
  background: #ffffff;
  border: 1px solid rgba(0, 149, 213, 0.22);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 4px 18px rgba(0, 149, 213, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.breakdown--sidebar .breakdown-card h4 {
  margin: -4px -4px 14px -4px;
}

.breakdown--sidebar .breakdown-card ul {
  gap: 0;
}

.breakdown--sidebar .breakdown-card .row-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #24303a;
  font-family: sans-serif;
}

.breakdown--sidebar .breakdown-card .row-value {
  font-size: 13px;
  font-weight: 700;
  color: #005a8a;
}

.breakdown--sidebar .breakdown-card li.combined-emphasis-row {
  background: rgb(252 106 3 / 10%);
  border: 1px solid rgba(0, 149, 213, 0.2);
  border-radius: 10px;
  padding: 9px 10px;
  margin: 6px 0;
}

.breakdown--sidebar .breakdown-card li.combined-total-row {
  /* background: rgba(0, 149, 213, 0.1); */
  border: 1px solid rgba(0, 149, 213, 0.3);
  border-radius: 10px;
  padding: 10px;
  margin: 8px 0 6px;
}

.breakdown--sidebar .breakdown-card .row-value.row-value-gap {
  margin-right: 120px;
}

@media (max-width: 980px) {
  .breakdown--sidebar .breakdown-card .row-value.row-value-gap {
    margin-right: 40px;
  }
}

@media (max-width: 520px) {
  .breakdown--sidebar .breakdown-card .row-value.row-value-gap {
    margin-right: 10px;
  }
}

.row-total-arrow-img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
}

.saved-wrap {
  padding: 18px 32px 22px;
}

.saved-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.saved-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  font-family: sans-serif;
}

.saved-runs {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

@media(max-width:480px) {
  .saved-head {
    gap: 5px;
  }

  .saved-head h3 {
    font-size: 12px;
  }
}

.run-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.run-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.run-card ul {
  list-style: none;
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.run-card li {
  font-size: 12px;
  color: var(--mid);
}

.run-card button {
  width: 100%;
}

.donut-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.donut-wrap svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.donut-bg {
  fill: none;
  stroke: rgba(0, 149, 213, 0.12);
  stroke-width: 14;
}

.donut-fg {
  fill: none;
  stroke: var(--primary);
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(.4, 0, .2, 1);
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mid);
  font-family: sans-serif;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.blue {
  background: var(--primary);
}

.legend-dot.light {
  background: rgba(0, 149, 213, 0.12);
  border: 1px solid rgba(0, 149, 213, 0.18);
}

.legend-val {
  font-weight: 700;
  color: var(--dark);
  font-family: canada-type-Gibson, sans-serif;
  margin-left: auto;
  font-size: 13px;
}

.card-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-calculate {
  flex: 1;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  font-family: sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.btn-calculate:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 149, 213, 0.22);
}

.btn-calculate:active {
  transform: translateY(0);
}

.btn-reset {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reset:hover {
  background: var(--primary-dark);
}

@media(max-width:575px) {
  .btn-calculate {
    padding: 11px 14px;
  }

  .btn-reset {
    padding: 11px 14px;
  }
}

.note {
  background: var(--primary-light);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  font-family: sans-serif;
}

.errors {
  margin-top: -4px;
}

.errors p {
  font-size: 13px;
  margin: 6px 0;
  color: #FF7F27;
  font-weight: 700;
  position: relative;
  padding-left: 19px;
  font-family: sans-serif;
}

.errors p:before {
  content: '\f06a';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0%;
  transform: translateY(-0%);
  z-index: 1;
  color: #FF7F27;
}

.hidden {
  display: none !important;
}

@media (max-width: 520px) {
  .card-body {
    padding: 20px;
  }

  .card-footer {
    padding: 16px 20px;
  }

  .radio-section {
    grid-template-columns: 1fr;
  }

  .result-section {
    grid-template-columns: 1fr;
  }

  .result-card:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .donut-section {
    flex-direction: column;
    padding: 15px;
  }

  .breakdown {
    padding: 0px;
  }

  .breakdown-grid {
    grid-template-columns: 1fr;
  }

  .saved-wrap {
    padding: 16px 18px 18px;
  }

  .saved-runs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .graph-card {
    position: static;
    max-height: none;
  }

  .graph-body--scroll {
    max-height: none;
    overflow: visible;
  }
}


/* table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #c8d8e7;
}

.table_wrapper {
  width: 100% !important;
}

@media(max-width:1199px) {
  .pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #c8d8e7;
    white-space: nowrap;
  }

  .table_wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* --- Header Section (TH) --- */
.pricing-table th {
  vertical-align: top;
  font-weight: 700;
  padding: 5px;
  border-right: 1px solid #c8d8e7;
}

.company-info {
  width: 30%;
  text-align: left;
}

.company-info h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.company-info p {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #555;
  margin-bottom: 15px;
  text-align: center;
}

/* The Responsive Magic */
@media(max-width: 767px) {
  .saved-panel .pricing-table {
    width: 500px;
  }
}

.package-col {
  width: 10%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
}

.package-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  font-family: sans-serif;
}

@media(max-width:1280px) {
  .package-col h3 {
    font-size: 12px;
  }

  .package-col {
    padding: 5px;
  }
}

@media(max-width:767px) {
  .package-col h3 {
    font-size: 11px;
  }
}


/* Buttons */
.btn-buy {
  background-color: #0d638f;
  color: white;
  border: none;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  display: block;
  min-width: 130px;
  font-family: sans-serif;
  margin: 0 auto;
}

@media(max-width:1280px) {
  .btn-buy {
    padding: 6px 5px;
  }
}

.feature-label {
  font-family: sans-serif;
  width: 30%;
}

/* --- Body Section (TD) --- */
.pricing-table td {
  padding: 8px 5px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  font-weight: 700;
}

@media(max-width:1280px) {
  .pricing-table td {
    font-size: 11px;
    padding: 6px 5px;
  }
}

/* Alternating Row Colors */
.pricing-table tbody tr:nth-child(even) {
  background-color: #f9fbfd;
}

@media(max-width:767px) {
  .pricing-table td {
    font-size: 12px;
    padding: 5px;
  }
}

.fa-circle-info {
  color: #00acee;
  font-size: 18px;
}

.check {
  text-align: center;
  color: #00acee;
  font-size: 22px;
  font-family: canada-type-Gibson, sans-serif;
  width: 10%;
}