@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

.cmcp-card {
  display: flex;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto 2rem auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  font-family: 'Lato', sans-serif;
}

/* ── LEFT WHITE PANEL ── */
.cmcp-left {
  flex: 1 1 57%;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 48px 52px 52px 52px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cmcp-row1 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cmcp-field { display: flex; flex-direction: column; gap: 10px; }
.cmcp-lbl   { font-size: 13px; font-weight: 400; color: #777; letter-spacing: 0.01em; }

.cmcp-price-wrap {
  display: flex; align-items: center;
  background: #efefef; border-radius: 7px; height: 50px; padding: 0 16px; gap: 10px;
}
.cmcp-aed-tag { font-size: 13px; color: #bbb; font-weight: 400; flex-shrink: 0; letter-spacing: 0.03em; }
.cmcp-price-wrap input[type="number"] {
  border: none; background: transparent; font-size: 16px;
  font-family: 'Lato', sans-serif; font-weight: 400; color: #222;
  width: 100%; outline: none; -moz-appearance: textfield;
}
.cmcp-price-wrap input[type="number"]::-webkit-outer-spin-button,
.cmcp-price-wrap input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

.cmcp-card select.cmcp-select {
  height: 50px; width: 100%;
  border: 1px solid #ccc; border-radius: 7px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M0 0l5.5 7L11 0z' fill='%23777'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding: 0 40px 0 16px; font-size: 15px; font-family: 'Lato', sans-serif;
  font-weight: 400; color: #222; -webkit-appearance: none; appearance: none; cursor: pointer; outline: none;
}

/* .cmcp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; } */
.cmcp-inline-field { display: flex; flex-direction: column; }
.cmcp-inline-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.cmcp-inline-top .cmcp-lbl { white-space: nowrap; flex-shrink: 0; }
.cmcp-val-box {
  background: #efefef; border-radius: 7px; height: 44px;
  min-width: 105px; display: flex; align-items: center;
  justify-content: flex-end; padding: 0 14px;
}
.cmcp-val-box span { font-size: 15px; font-weight: 400; color: #222; letter-spacing: 0.01em; }

.cmcp-slider-area { display: flex; flex-direction: column; gap: 5px; }
.cmcp-sub-lbl     { font-size: 12px; color: #999; font-weight: 400; }

.cmcp-card input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(to right, #b71f37 var(--p, 10%), #d0d0d0 var(--p, 10%));
}
.cmcp-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #b71f37; cursor: pointer; box-shadow: 0 1px 6px rgba(74,124,90,0.45);
}
.cmcp-card input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #b71f37; border: none; cursor: pointer;
}
.cmcp-pct-lbl { font-size: 12.5px; color: #555; font-weight: 400; }
.cmcp-row3    { display: flex; flex-direction: column; gap: 10px; }

/* ── RIGHT GREEN PANEL ── */
.cmcp-right {
  flex: 0 1 43%;
  background: #b71f37;
  border-radius: 0 14px 14px 0;
  padding: 52px 50px;
  display: flex; flex-direction: column; justify-content: center;
}
.cmcp-total-line  { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.cmcp-total-aed   { font-size: 22px; font-weight: 300; color: rgba(255,255,255,0.70); letter-spacing: 0.06em; }
.cmcp-total-num   { font-size: 58px; font-weight: 300; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.cmcp-monthly-lbl { font-size: 11.5px; letter-spacing: 0.25em; color: rgba(255,255,255,0.45); font-weight: 300; margin-bottom: 44px; text-transform: lowercase; }
.cmcp-breakdown   { display: flex; flex-direction: column; gap: 26px; }
.cmcp-brow        { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cmcp-blbl        { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.78); letter-spacing: 0.02em; }
.cmcp-bval        { font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; letter-spacing: 0.03em; }
.cmcp-bval .cmcp-baed { font-weight: 300; font-size: 14px; margin-right: 5px; opacity: 0.80; }

@media (max-width: 700px) {
  .cmcp-card  { flex-direction: column; border-radius: 12px; }
  .cmcp-left  { border-right: 1px solid #e2e2e2; border-radius: 12px 12px 0 0; padding: 30px 22px; gap: 26px; }
  .cmcp-right { border-radius: 0 0 12px 12px; padding: 34px 26px; }
  .cmcp-row1, .cmcp-row2 { grid-template-columns: 1fr; gap: 20px; }
  .cmcp-total-num { font-size: 42px; }
}
