/* =============================================================
   EllaCar — reservation.css (Design v4)
   Page /reservation/ : rendu premium navy + jaune, lisible.
   ============================================================= */

.ec-res-page{
  padding:26px 0 62px;
  background:
    radial-gradient(900px 340px at 10% 0%, rgba(255,179,0,.14) 0%, rgba(255,179,0,0) 62%),
    radial-gradient(900px 360px at 92% 16%, rgba(7,27,59,.10) 0%, rgba(7,27,59,0) 66%),
    #fff;
}

.ec-page-head{margin-bottom:14px}
.ec-res-page .ec-h1{font-size:36px;letter-spacing:-.02em;margin:0 0 6px}
.ec-res-page .ec-sub{color:rgba(71,85,105,.92);margin:0 0 10px;max-width:70ch}

/* ===== Layout ===== */
.ec-res-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;align-items:start}
@media (max-width:980px){.ec-res-layout{grid-template-columns:1fr}}

.ec-res-col{min-width:0;display:flex;flex-direction:column;gap:16px}

/* ===== Cards base tweaks (reservation only) ===== */
.ec-res-page .ec-card{background:#fff}
.ec-res-page .ec-h2{font-size:22px;margin:0;font-weight:950}

/* ===== Profil client ===== */
.ec-res-profile .ec-card__head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,23,42,.08);
  background:rgba(11,27,58,.04);
}

.ec-profile-kv{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
  gap:12px;
  padding:16px 18px 10px;
}

.ec-kv{
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  padding:12px 12px;
  background:rgba(2,6,23,.02);
}
.ec-kv span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:rgba(71,85,105,.82);font-weight:900}
.ec-kv strong{display:block;margin-top:6px;font-weight:950;color:var(--ec-text)}

.ec-res-profile .ec-note{padding:0 18px 16px;margin:0;color:rgba(71,85,105,.9)}

.ec-profile-actions{display:flex;gap:10px;align-items:center;padding:16px 18px}
@media (max-width:520px){.ec-profile-actions{flex-direction:column;align-items:stretch}}

/* ===== Éléments de location ===== */
.ec-res-summary{padding:16px 18px}
.ec-res-summary > .ec-h2{margin-bottom:10px}

.ec-res-item{
  border:1px solid rgba(15,23,42,.10);
  border-radius:20px;
  padding:14px 14px;
  background:#fff;
  box-shadow:0 12px 30px rgba(2,6,23,.06);
}

.ec-res-item__top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}
.ec-res-item__title{font-size:18px;font-weight:950;line-height:1.2}
.ec-res-item__meta{font-size:13px;color:rgba(71,85,105,.85);margin-top:3px}
.ec-res-item__price{font-weight:950;font-size:18px;white-space:nowrap}

.ec-res-kv{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:12px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  background:rgba(2,6,23,.015);
}
@media (max-width:720px){.ec-res-kv{grid-template-columns:1fr}}

.ec-res-breakdown{margin-top:12px;border-top:1px solid rgba(15,23,42,.10);padding-top:10px;display:flex;flex-direction:column;gap:8px}
.ec-res-row{display:flex;justify-content:space-between;gap:12px;color:rgba(71,85,105,.92)}
.ec-res-row strong{color:var(--ec-text);font-weight:950}

.ec-res-actions{margin-top:10px}
.ec-res-actions .ec-link{text-decoration:none;font-weight:900;color:rgba(7,27,59,.92)}
.ec-res-actions .ec-link:hover{text-decoration:underline}

/* ===== Total (aside) ===== */
.ec-res-total{padding:16px 18px;position:sticky;top:88px}
@media (max-width:980px){.ec-res-total{position:static;top:auto}}

.ec-recap{margin-top:10px;background:rgba(2,6,23,.02);border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:12px}
.ec-recap__row{display:flex;justify-content:space-between;gap:12px;padding:10px 10px;border-radius:14px}
.ec-recap__row strong{font-weight:950}
.ec-recap__divider{height:1px;background:rgba(15,23,42,.10);margin:6px 0}
.ec-recap__total{background:#fff;border:1px solid rgba(15,23,42,.08)}
.ec-recap__total span{font-weight:950}
.ec-recap__total strong{font-size:22px}

.ec-res-total .ec-btn{margin-top:12px;border-radius:999px;padding:16px 18px;box-shadow:0 14px 26px rgba(255,179,0,.28)}
.ec-res-total .ec-note{margin:10px 0 0;color:rgba(71,85,105,.9)}

/* Link bottom */
.ec-res-total .ec-link{display:inline-block;margin-top:10px;color:rgba(7,27,59,.92);font-weight:900;text-decoration:none}
.ec-res-total .ec-link:hover{text-decoration:underline}
