/* ===========================
   Mortgage Calculator – BEM Styles
   =========================== */

/* ── Page Layout ── */
.mc {
  background: white;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

.mc__top {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.mc__bottom {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  @media (max-width: 1024px) {
    display: none;
  }
}

/* ===========================
   Left Panel – Form Card
   =========================== */
.mc-form {
  width: 503px;
  flex-shrink: 0;
  background: white;
  border-radius: 12px;
  box-shadow:
    0px 4px 8px -2px rgba(0, 0, 0, 0.1),
    0px 2px 4px -2px rgba(0, 0, 0, 0.06);
  overflow: clip;
}

.mc-form__header {
  background: #133d34;
  display: flex;
  align-items: center;
  padding: 12px 32px;
  gap: 16px;
}

.mc-form__header-icon {
  width: 40px;
  height: 40px;
  background: #597770;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-form__header-icon svg {
  width: 20px;
  height: 20px;
}

.mc-form__header-title {
  font-family: "Lora", serif;
  font-weight: 500;
  font-size: 22px;
  color: white;
  letter-spacing: -0.22px;
  line-height: 1.4;
}

.mc-form__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 32px;
}

/* ── Field Groups ── */
.mc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mc-field__label {
  font-weight: 500;
  font-size: 16px;
  color: black;
  line-height: 1.5;
}

.mc-field__label--small {
  font-weight: 500;
  font-size: 14px;
  color: black;
  opacity: 0.6;
  line-height: 1.5;
}

.mc-field__hint {
  font-weight: 400;
  font-size: 14px;
  color: #597770;
  line-height: 1.5;
}

.mc-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mc-field__cols {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.mc-field__col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Input ── */
.mc-input {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: black;
  line-height: 1.5;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.mc-input:focus {
  border-color: #133d34;
  box-shadow: 0 0 0 3px rgba(19, 61, 52, 0.1);
}

/* ── Select ── */
.mc-select {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: black;
  line-height: 1.5;
  width: 100%;
  outline: none;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.2 9.6L12 14.4L16.8 9.6' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 24px;
  padding-right: 36px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.mc-select:focus {
  border-color: #133d34;
  box-shadow: 0 0 0 3px rgba(19, 61, 52, 0.1);
}

/* ── Toggle (% / HK$) ── */
.mc-toggle {
  display: flex;
  border: 1px solid #e5e2dc;
  border-radius: 6px;
  overflow: clip;
  flex-shrink: 0;
}

.mc-toggle__btn {
  padding: 4px 12px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  border: none;
  background: #fbfaf9;
  color: black;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.mc-toggle__btn--active {
  background: #133d34;
  color: white;
}

/* ── Divider ── */
.mc-divider {
  border-top: 1px solid #f2f2f2;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Action Buttons ── */
.mc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}

.mc-actions__row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.mc-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: white;
  color: black;
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
}

.mc-btn:hover {
  background: #f7f7f7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mc-btn:active {
  transform: scale(0.98);
}

.mc-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mc-btn--primary {
  background: #133d34;
  color: white;
  border-color: rgba(0, 0, 0, 0.15);
}

.mc-btn--primary:hover {
  background: #1a5247;
}

.mc-btn--ghost {
  background: transparent;
  border: none;
  font-weight: 500;
  color: #152822;
}

.mc-btn--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* ===========================
   Right Panel
   =========================== */
.mc-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* ── Backdrop & Modal Close (hidden on desktop) ── */
.mc-backdrop {
  display: none;
}

.mc-modal-close {
  display: none;
}

/* ── Panel transitions ── */
.js-tab-panel {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.mc-panel--active {
  opacity: 1;
  transform: translateY(0);
}

.mc-panel--hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(8px);
}

/* ── Tab Bar ── */
.mc-tabs {
  background: #d8d8d8;
  border-radius: 4px;
  display: flex;
  padding: 4px;
  height: 40px;
  box-sizing: border-box;
}

.mc-tabs__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;

  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  border: none;
  background: transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.mc-tabs__btn:hover:not(.mc-tabs__btn--active) {
  color: rgba(0, 0, 0, 0.8);
  background: rgba(255, 255, 255, 0.4);
}

.mc-tabs__btn--active {
  background: #fbfaf9;
  color: black;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

/* ── Valuation Links ── */
.mc-valuation {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.mc-valuation__label {
  font-weight: 400;
  font-size: 14px;
  color: black;
  line-height: 1.5;
}

.mc-valuation__link {
  font-weight: 400;
  font-size: 14px;
  color: #133d34;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}

.mc-valuation__link:hover {
  color: #1a5247;
}

/* ===========================
   Summary Card
   =========================== */
.mc-summary {
  background: #133d34;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-summary__title {
  font-weight: 500;
  font-size: 22px;
  color: #fbfaf9;
  letter-spacing: -0.22px;
  line-height: 1.4;
}

/* ── Hero Section (Monthly + Donut) ── */
.mc-summary__hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #597770;
}

.mc-summary__hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-summary__hero-right {
  flex-shrink: 0;
}

/* ── Donut Chart ── */
.mc-summary__donut-wrap {
  position: relative;
  width: 128px;
  height: 128px;
}

.mc-summary__donut {
  width: 128px;
  height: 128px;
  display: block;
}

.mc-summary__donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.mc-summary__donut-pct {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #d7c08a;
  line-height: 1.2;
}

.mc-summary__donut-sublabel {
  font-weight: 400;
  font-size: 12px;
  color: rgba(251, 250, 249, 0.6);
  line-height: 1;
}

/* ── Legend ── */
.mc-summary__legend {
  display: flex;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #597770;
}

.mc-summary__legend-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-summary__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 2px;
}

.mc-summary__legend-dot--principal {
  background: #d7c08a;
}

.mc-summary__legend-dot--interest {
  background: #597770;
}

.mc-summary__legend-text {
  font-weight: 400;
  font-size: 14px;
  color: rgba(251, 250, 249, 0.7);
  line-height: 1.5;
}

.mc-summary__legend-text strong {
  color: #fbfaf9;
  font-weight: 600;
}

.mc-summary__legend-val {
  font-weight: 700;
  font-size: 16px;
  color: #fbfaf9;
  line-height: 1.4;
}

/* ── LTV Bar ── */
.mc-summary__ltv {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.mc-summary__ltv-bar {
  height: 6px;
  background: #2a5a50;
  border-radius: 3px;
  overflow: hidden;
  width: 100%;
}

.mc-summary__ltv-fill {
  height: 100%;
  background: #d7c08a;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.mc-summary__ltv-label {
  font-weight: 500;
  font-size: 12px;
  color: rgba(251, 250, 249, 0.5);
  line-height: 1;
}

/* ── Grid rows ── */
.mc-summary__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-summary__row {
  display: flex;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid #597770;
}

.mc-summary__cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mc-summary__cell-label {
  font-weight: 400;
  font-size: 16px;
  color: rgba(251, 250, 249, 0.7);
  line-height: 1.5;
}

.mc-summary__cell-value {
  font-weight: 700;
  font-size: 22px;
  color: #fbfaf9;
  line-height: 1.5;
}

.mc-summary__cell-value--gold {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #d7c08a;
  letter-spacing: -0.36px;
  line-height: 1.3;
}

/* ── Number pop animation ── */
@keyframes mc-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.mc-anim-pop {
  animation: mc-pop 0.3s ease;
}

/* ── CTA Section ── */
.mc-summary__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-summary__cta-text {
  font-weight: 500;
  font-size: 14px;
  color: #597770;
  line-height: 1.5;
}

.mc-summary__cta-btn {
  background: #c7a659;
  border: 1px solid #133d34;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: white;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  width: 100%;
  transition:
    background 0.15s ease,
    transform 0.1s ease;
}

.mc-summary__cta-btn:hover {
  background: #b5953f;
}

.mc-summary__cta-btn:active {
  transform: scale(0.98);
}

/* ===========================
   Empty States
   =========================== */
.mc-empty__card {
  border: 2px dashed #d8d8d8;
  border-radius: 12px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: #fafaf8;
}

.mc-empty__card--dark {
  background: #133d34;
  border-color: #2a5a50;
}

.mc-empty__icon {
  margin-bottom: 4px;
  opacity: 0.8;
}

.mc-empty__title {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

.mc-empty__title--light {
  color: #fbfaf9;
}

.mc-empty__desc {
  font-weight: 400;
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  max-width: 320px;
}

.mc-empty__desc strong {
  color: #133d34;
  font-weight: 600;
}

.mc-empty__desc--light {
  color: rgba(251, 250, 249, 0.6);
}

.mc-empty__desc--light strong {
  color: #d7c08a;
}

/* Inline empty (for bottom tables) */
.mc-empty__inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  justify-content: center;
}

.mc-empty__inline-text {
  font-weight: 400;
  font-size: 14px;
  color: #999;
  line-height: 1.5;
}

.mc-empty__inline-text strong {
  color: #555;
  font-weight: 600;
}

/* ===========================
   Schedule Mini Summary Strip
   =========================== */
.mc-sched-strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 16px;
  background: #f8f8f6;
  border-bottom: 1px solid #e5e2dc;
}

.mc-sched-strip__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mc-sched-strip__label {
  font-weight: 400;
  font-size: 11px;
  color: #597770;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.mc-sched-strip__value {
  font-weight: 700;
  font-size: 13px;
  color: #133d34;
  line-height: 1.3;
}

.mc-sched-strip__divider {
  width: 1px;
  height: 28px;
  background: #e5e2dc;
  flex-shrink: 0;
}

/* ===========================
   Tables – Shared
   =========================== */
.mc-table-card {
  flex: 1;
  min-width: 0;
  background: white;
  border-radius: 12px;
  box-shadow:
    0px 4px 8px -2px rgba(0, 0, 0, 0.1),
    0px 2px 4px -2px rgba(0, 0, 0, 0.06);
  overflow: clip;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.mc-table-card--inline .mc-table-card__body {
  max-height: 480px;
}

.mc-table-card__header {
  background: #133d34;
  padding: 16px;
  border-bottom: 1px solid #7f7f7f;
}

.mc-table-card__title {
  font-weight: 500;
  font-size: 16px;
  color: white;
  line-height: 1.5;
}

.mc-table-card__subtitle {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.mc-table-card__body {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: clip;
}

/* Custom scrollbar */
.mc-table-card__body::-webkit-scrollbar {
  width: 6px;
}

.mc-table-card__body::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.mc-table-card__body::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}

.mc-table-card__body::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.mc-table {
  width: 100%;
  border-collapse: collapse;
}

.mc-table th {
  padding: 13px 16px;
  font-weight: 400;
  font-size: 16px;
  color: #597770;
  line-height: 1.5;
  text-align: left;
  border-bottom: 1px solid #e5e2dc;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
}

.mc-table th.mc-table__right {
  text-align: right;
}

.mc-table td {
  padding: 12px 16px;
  font-weight: 400;
  font-size: 16px;
  color: black;
  line-height: 1.5;
  border-bottom: 1px solid #f2f2f2;
}

.mc-table td.mc-table__right {
  text-align: right;
}

.mc-table td.mc-table__muted {
  color: #597770;
}

.mc-table td.mc-table__bold {
  font-weight: 700;
}

.mc-table td.mc-table__term {
  font-weight: 500;
  color: #152822;
}

.mc-table td.mc-table__rate {
  font-size: 18px;
}

/* ── Zebra striping ── */
.mc-table__stripe td {
  background: #fafaf8;
}

/* ── Year separator row ── */

.mc-table__year-row td {
  padding: 6px 16px;
  background: #eef3f1;
  border-bottom: 1px solid #d4ddd9;
  /* display: flex;
  align-items: center; */
}
.mc-table__year-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 8px 0px;
}
.mc-table__year-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #133d34;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mc-table__year-label svg {
  flex-shrink: 0;
}

.mc-table__year-stats {
  float: right;
}

.mc-table__year-stat {
  font-weight: 500;
  font-size: 12px;
  color: #597770;
}

/* ── Mini bar in balance column ── */
.mc-table__balance-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mc-table__mini-bar {
  width: 60px;
  height: 3px;
  background: #e5e2dc;
  border-radius: 2px;
  overflow: hidden;
}

.mc-table__mini-bar-fill {
  height: 100%;
  background: #133d34;
  border-radius: 2px;
  transition: width 0.2s ease;
}

/* ===========================
   Interest Table – Enhancements
   =========================== */

/* Active row highlight */
.mc-table__active-row td {
  background: #eef6f3;
  border-bottom-color: #c4ddd6;
}

.mc-table__active-row td:first-child {
  box-shadow: inset 3px 0 0 #133d34;
}

/* Rate cell with diff badge */
.mc-table__rate-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mc-table__rate-value {
  font-size: 18px;
  font-weight: 500;
  color: black;
}

.mc-table__diff {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
}

.mc-table__diff--current {
  background: #133d34;
  color: white;
}

.mc-table__diff--save {
  background: #e6f5ec;
  color: #1a7a3a;
}

.mc-table__diff--extra {
  background: #fef2e8;
  color: #b45309;
}

/* Monthly payment bar */
.mc-table__mp-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mc-table__bar {
  width: 80px;
  height: 4px;
  background: #e5e2dc;
  border-radius: 2px;
  overflow: hidden;
}

.mc-table__bar-fill {
  height: 100%;
  background: #597770;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.mc-table__bar-fill--active {
  background: #133d34;
}

/* ===========================
   Disclaimer
   =========================== */
.mc-disclaimer {
  background: #d8d8d8;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  max-width: 1080px;
}

.mc-disclaimer__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.mc-disclaimer__icon svg {
  width: 20px;
  height: 20px;
}

.mc-disclaimer__text {
  font-weight: 400;
  font-size: 14px;
  color: #133d34;
  line-height: 1.5;
}

/* ===========================
   Responsive
   =========================== */
@media screen and (max-width: 1024px) {
  .mc {
    padding: 40px 24px;
  }
  .mc__top {
    flex-direction: column;
  }
  .mc-form {
    width: 100%;
  }
  .mc__bottom {
    flex-direction: column;
  }

  /* Hide the right panel – it becomes a modal */
  .mc-right {
    display: none;
  }

  /* Modal open state */
  .mc-right.mc-right--modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: white;
    padding: 56px 20px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: mc-modal-slide-up 0.3s ease;
  }

  .mc-right--modal .mc-table-card--inline .mc-table-card__body {
    max-height: none;
  }

  /* Backdrop */
  .mc-backdrop--open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    animation: mc-fade-in 0.2s ease;
  }

  /* Close button – shown via JS class toggle */
  .mc-modal-close--open {
    display: flex;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1002;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e2dc;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
  }

  .mc-modal-close--open:hover {
    background: #f5f5f5;
  }

  .mc-modal-close--open svg {
    width: 16px;
    height: 16px;
  }

  @keyframes mc-modal-slide-up {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes mc-fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

@media screen and (max-width: 600px) {
  .mc {
    padding: 16px 12px;
    gap: 20px;
  }
  .mc-form__body {
    padding: 16px;
  }
  .mc-form__header {
    padding: 12px 16px;
  }
  .mc-form__header-title {
    font-size: 18px;
  }
  .mc-summary {
    padding: 20px 16px;
  }
  .mc-summary__hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .mc-summary__legend {
    flex-direction: column;
    gap: 12px;
  }

  .mc-summary__cell-value--gold {
    font-size: 28px;
  }
  .mc-summary__cell-value {
    font-size: 18px;
  }
  .mc-summary__title {
    font-size: 18px;
  }
  .mc-summary__row {
    flex-direction: column;
    gap: 12px;
  }
  .mc-sched-strip {
    flex-wrap: wrap;
    gap: 8px;
  }
  .mc-sched-strip__divider {
    display: none;
  }
  .mc-sched-strip__item {
    min-width: 45%;
  }
  .mc-tabs__btn {
    font-size: 12px;
    padding: 0 4px;
  }
  .mc-table td,
  .mc-table th {
    padding: 10px 8px;
    font-size: 13px;
  }
  .mc-table__rate-value {
    font-size: 14px;
  }
  .mc-table td.mc-table__rate {
    font-size: 13px;
  }
  .mc-table__bar {
    width: 50px;
  }
  .mc-table__mini-bar {
    width: 40px;
  }
  .mc-actions__row {
    flex-direction: column;
  }
  .mc-disclaimer {
    flex-direction: column;
    gap: 8px;
  }
  .mc-valuation {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 4px;
  }
  .mc-empty__card {
    padding: 32px 20px;
  }
}
@media screen and (max-width: 400px) {
  .mc-table td,
  .mc-table th {
    padding: 8px 4px;
    font-size: 10px;
  }
}
