/* =====================================================
  MamaME Booking – vendégoldal
===================================================== */

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

:root {
   --bg: #f7f2ee;
   --surface: #ffffff;
   --surface-soft: #f3e7df;
   --surface-green: #e8efeb;

   --text: #4f5a55;
   --muted: #7d8782;
   --heading: #2f5d50;

   --accent: #d9a18f;
   --accent-dark: #c78672;
   --accent-soft: #efd9cf;

   --success: #2d8f54;
   --success-soft: #e8f6ec;

   --danger: #b6534d;
   --danger-soft: #fde9e9;

   --border: rgba(47, 93, 80, 0.12);
   --shadow: 0 18px 45px rgba(47, 93, 80, 0.1);
   --shadow-strong: 0 24px 60px rgba(47, 93, 80, 0.16);

   --radius-sm: 14px;
   --radius-md: 20px;
   --radius-lg: 28px;

   --content-width: 1180px;
}

html {
   scroll-behavior: smooth;
}

body {
   min-height: 100vh;
   font-family: "Inter", sans-serif;
   background: var(--bg);
   color: var(--text);
   line-height: 1.6;
}

button,
input,
select,
textarea {
   font: inherit;
}

button {
   border: none;
}

a {
   color: inherit;
   text-decoration: none;
}

img,
svg {
   display: block;
   max-width: 100%;
}

.hidden {
   display: none !important;
}

/* =====================================================
  OLDAL ELRENDEZÉS
===================================================== */

.booking-page {
   width: min(100%, var(--content-width));
   margin: 0 auto;
   padding: 24px;
}

.booking-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 24px;
   margin-bottom: 42px;
}

.brand {
   display: inline-flex;
   align-items: center;
   gap: 14px;
}

.brand-mark {
   width: 52px;
   height: 52px;
   border-radius: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--heading);
   color: #ffffff;
   font-size: 22px;
   font-weight: 700;
   box-shadow: var(--shadow);
}

.brand-text {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.brand-text strong {
   color: var(--heading);
   font-size: 21px;
   line-height: 1.2;
}

.brand-text span {
   color: var(--muted);
   font-size: 13px;
}

.back-link {
   display: inline-flex;
   align-items: center;
   gap: 9px;
   color: var(--heading);
   font-size: 14px;
   font-weight: 600;
   transition: 0.2s ease;
}

.back-link:hover {
   color: var(--accent-dark);
}

.booking-main {
   display: grid;
   grid-template-columns: minmax(0, 1fr) 330px;
   gap: 28px;
   align-items: start;
}

.booking-intro {
   grid-column: 1 / -1;
   text-align: center;
   margin-bottom: 10px;
}

.eyebrow {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 32px;
   padding: 7px 14px;
   border-radius: 999px;
   background: var(--surface-green);
   color: var(--heading);
   font-size: 13px;
   font-weight: 700;
   letter-spacing: 0.03em;
   text-transform: uppercase;
}

.booking-intro h1 {
   margin-top: 16px;
   color: var(--heading);
   font-size: clamp(32px, 5vw, 52px);
   line-height: 1.12;
}

.booking-intro p {
   max-width: 700px;
   margin: 16px auto 0;
   color: var(--muted);
   font-size: 17px;
}

/* =====================================================
  FOLYAMATJELZŐ
===================================================== */

.booking-progress {
   grid-column: 1 / -1;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 20px 0 30px;
}

.progress-item {
   display: flex;
   align-items: center;
   gap: 10px;
   color: var(--muted);
}

.progress-number {
   width: 38px;
   height: 38px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--surface);
   border: 1px solid var(--border);
   color: var(--muted);
   font-weight: 700;
   transition: 0.25s ease;
}

.progress-label {
   font-size: 14px;
   font-weight: 600;
   white-space: nowrap;
}

.progress-item.active {
   color: var(--heading);
}

.progress-item.active .progress-number {
   background: var(--heading);
   color: #ffffff;
   border-color: var(--heading);
   box-shadow: 0 8px 18px rgba(47, 93, 80, 0.18);
}

.progress-item.completed .progress-number {
   background: var(--success);
   color: #ffffff;
   border-color: var(--success);
}

.progress-line {
   width: 72px;
   height: 2px;
   margin: 0 16px;
   background: var(--border);
}

/* =====================================================
  ŰRLAP ÉS LÉPÉSEK
===================================================== */

.booking-form {
   min-width: 0;
}

.booking-step {
   display: none;
   animation: stepFade 0.25s ease;
}

.booking-step.active {
   display: block;
}

@keyframes stepFade {
   from {
       opacity: 0;
       transform: translateY(8px);
   }

   to {
       opacity: 1;
       transform: translateY(0);
   }
}

.step-heading {
   display: flex;
   align-items: flex-start;
   gap: 16px;
   margin-bottom: 22px;
}

.step-icon {
   flex: 0 0 auto;
   width: 50px;
   height: 50px;
   border-radius: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--surface-green);
   color: var(--heading);
   font-size: 20px;
}

.step-heading > div:last-child > span {
   display: block;
   margin-bottom: 3px;
   color: var(--accent-dark);
   font-size: 12px;
   font-weight: 700;
   letter-spacing: 0.04em;
   text-transform: uppercase;
}

.step-heading h2 {
   color: var(--heading);
   font-size: 28px;
   line-height: 1.25;
}

.step-heading p {
   margin-top: 6px;
   color: var(--muted);
   font-size: 15px;
}

/* =====================================================
  KÁRTYÁK
===================================================== */

.form-card,
.review-card,
.summary-card {
   background: var(--surface);
   border: 1px solid var(--border);
   border-radius: var(--radius-lg);
   box-shadow: var(--shadow);
}

.form-card {
   padding: 28px;
}

.form-group {
   margin-bottom: 24px;
}

.form-group:last-child {
   margin-bottom: 0;
}

fieldset.form-group {
   border: none;
}

.form-group label,
.form-group legend {
   display: block;
   margin-bottom: 9px;
   color: var(--heading);
   font-size: 14px;
   font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
   width: 100%;
   min-height: 50px;
   padding: 13px 15px;
   border: 1px solid var(--border);
   border-radius: var(--radius-sm);
   background: #ffffff;
   color: var(--text);
   outline: none;
   transition: 0.2s ease;
}

.form-group textarea {
   min-height: 120px;
   resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
   border-color: var(--accent);
   box-shadow: 0 0 0 4px rgba(217, 161, 143, 0.16);
}

.form-group input:disabled,
.form-group select:disabled {
   background: #f3f1ef;
   color: #9a9f9c;
   cursor: not-allowed;
}

.field-help {
   margin-top: 8px;
   color: var(--muted);
   font-size: 13px;
}

.field-error {
   min-height: 20px;
   margin-top: 7px;
   color: var(--danger);
   font-size: 13px;
   font-weight: 600;
}

.form-section + .form-section {
   margin-top: 26px;
}

.form-section-heading {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-bottom: 18px;
}

.form-section-heading i {
   color: var(--accent-dark);
}

.form-section-heading h3 {
   color: var(--heading);
   font-size: 19px;
}

.form-section-description {
   margin: -6px 0 18px;
   color: var(--muted);
   font-size: 14px;
}

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

.form-grid {
   display: grid;
   gap: 18px;
}

.form-grid.two-columns {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-width {
   grid-column: 1 / -1;
}

/* =====================================================
  HELYSZÍNVÁLASZTÓ KÁRTYÁK
===================================================== */

.choice-grid {
   display: grid;
   gap: 16px;
}

.location-grid {
   grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
   display: block;
   cursor: pointer;
}

.choice-card input {
   position: absolute;
   opacity: 0;
   pointer-events: none;
}

.choice-card-content {
   min-height: 112px;
   padding: 18px;
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   background: var(--surface);
   display: flex;
   align-items: center;
   gap: 14px;
   transition: 0.22s ease;
}

.choice-card:hover .choice-card-content {
   border-color: var(--accent);
   transform: translateY(-2px);
   box-shadow: var(--shadow);
}

.choice-card input:checked + .choice-card-content {
   border-color: var(--heading);
   background: var(--surface-green);
   box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.08);
}

.choice-icon {
   flex: 0 0 auto;
   width: 46px;
   height: 46px;
   border-radius: 15px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--surface-soft);
   color: var(--heading);
   font-size: 19px;
}

.choice-text {
   min-width: 0;
   display: flex;
   flex-direction: column;
   gap: 4px;
}

.choice-text strong {
   color: var(--heading);
   font-size: 16px;
}

.choice-text small {
   color: var(--muted);
   font-size: 13px;
}

.choice-check {
   flex: 0 0 auto;
   width: 28px;
   height: 28px;
   margin-left: auto;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   background: #ffffff;
   border: 1px solid var(--border);
   color: transparent;
   font-size: 12px;
   transition: 0.2s ease;
}

.choice-card input:checked + .choice-card-content .choice-check {
   background: var(--heading);
   border-color: var(--heading);
   color: #ffffff;
}

/* =====================================================
  KIVÁLASZTOTT SZOLGÁLTATÁS
===================================================== */

.selected-service-summary {
   margin-top: 22px;
   padding: 18px;
   border-radius: var(--radius-md);
   background: var(--surface-green);
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 20px;
}

.selected-service-summary > div:first-child {
   min-width: 0;
   display: flex;
   flex-direction: column;
   gap: 4px;
}

.selected-service-summary span {
   color: var(--muted);
   font-size: 12px;
   font-weight: 600;
}

.selected-service-summary strong {
   color: var(--heading);
   font-size: 16px;
}

.service-summary-details {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   gap: 18px;
}

.service-summary-details span {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   color: var(--heading);
   font-size: 13px;
}

.service-summary-details i {
   color: var(--accent-dark);
}

/* =====================================================
  IDŐPONTOK
===================================================== */

.timeslot-status {
   min-height: 50px;
   margin-bottom: 18px;
   padding: 14px 16px;
   border-radius: var(--radius-sm);
   display: flex;
   align-items: center;
   gap: 10px;
   background: var(--surface-green);
   color: var(--heading);
   font-size: 14px;
}

.timeslot-status.error {
   background: var(--danger-soft);
   color: var(--danger);
}

.timeslot-status.success {
   background: var(--success-soft);
   color: var(--success);
}

.timeslot-list {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 14px;
}

.timeslot-card {
   display: block;
   cursor: pointer;
}

.timeslot-card input {
   position: absolute;
   opacity: 0;
   pointer-events: none;
}

.timeslot-card-content {
   min-height: 104px;
   padding: 17px;
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   background: var(--surface);
   display: flex;
   flex-direction: column;
   justify-content: center;
   gap: 4px;
   transition: 0.22s ease;
}

.timeslot-card:hover .timeslot-card-content {
   border-color: var(--accent);
   transform: translateY(-2px);
   box-shadow: var(--shadow);
}

.timeslot-card input:checked + .timeslot-card-content {
   border-color: var(--heading);
   background: var(--surface-green);
   box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.08);
}

.timeslot-date {
   color: var(--muted);
   font-size: 13px;
   font-weight: 600;
}

.timeslot-time {
   color: var(--heading);
   font-size: 22px;
   font-weight: 700;
   line-height: 1.2;
}

.timeslot-capacity {
   margin-top: 4px;
   color: var(--muted);
   font-size: 12px;
}

/* =====================================================
  LÉPTETŐ GOMBOK
===================================================== */

.step-actions {
   display: flex;
   justify-content: flex-end;
   margin-top: 24px;
}

.step-actions.split {
   justify-content: space-between;
   gap: 14px;
}

.primary-button,
.secondary-button {
   min-height: 50px;
   padding: 13px 20px;
   border-radius: var(--radius-sm);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   cursor: pointer;
   font-weight: 700;
   transition: 0.22s ease;
}

.primary-button {
   background: var(--heading);
   color: #ffffff;
   box-shadow: 0 12px 24px rgba(47, 93, 80, 0.18);
}

.primary-button:hover {
   background: #244b41;
   transform: translateY(-2px);
}

.secondary-button {
   background: var(--surface);
   color: var(--heading);
   border: 1px solid var(--border);
}

.secondary-button:hover {
   border-color: var(--accent);
   background: var(--surface-soft);
}

.primary-button:disabled,
.secondary-button:disabled {
   opacity: 0.55;
   cursor: not-allowed;
   transform: none;
}

/* =====================================================
  KÉRDŐÍV
===================================================== */

.questionnaire-container {
   display: grid;
   gap: 18px;
}

.question-item {
   padding: 18px;
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   background: #ffffff;
}

.question-label {
   display: block;
   margin-bottom: 10px;
   color: var(--heading);
   font-size: 14px;
   font-weight: 700;
}

.question-label .required-mark {
   color: var(--danger);
}

.question-field input,
.question-field select,
.question-field textarea {
   width: 100%;
   min-height: 48px;
   padding: 12px 14px;
   border: 1px solid var(--border);
   border-radius: var(--radius-sm);
   background: #ffffff;
   color: var(--text);
   outline: none;
   transition: 0.2s ease;
}

.question-field textarea {
   min-height: 110px;
   resize: vertical;
}

.question-field input:focus,
.question-field select:focus,
.question-field textarea:focus {
   border-color: var(--accent);
   box-shadow: 0 0 0 4px rgba(217, 161, 143, 0.16);
}

.yes-no-options {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
}

.yes-no-option {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 11px 15px;
   border: 1px solid var(--border);
   border-radius: 999px;
   background: var(--surface);
   cursor: pointer;
   transition: 0.2s ease;
}

.yes-no-option:hover {
   border-color: var(--accent);
}

.yes-no-option input {
   width: auto;
   min-height: 0;
   margin: 0;
}

.loading-box {
   min-height: 90px;
   padding: 20px;
   border: 1px dashed var(--border);
   border-radius: var(--radius-md);
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   color: var(--muted);
   background: #faf8f6;
}
/* =====================================================
  ELLENŐRZŐ OLDAL
===================================================== */

.review-layout {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 20px;
}

.review-card {
   overflow: hidden;
}

.review-card-header {
   padding: 18px 20px;
   display: flex;
   align-items: center;
   gap: 10px;
   background: var(--surface-soft);
   border-bottom: 1px solid var(--border);
}

.review-card-header i {
   color: var(--accent-dark);
}

.review-card-header h3 {
   color: var(--heading);
   font-size: 17px;
}

.review-list {
   padding: 8px 20px 18px;
}

.review-row {
   min-height: 48px;
   padding: 12px 0;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 18px;
   border-bottom: 1px solid var(--border);
}

.review-row:last-child {
   border-bottom: none;
}

.review-row span {
   color: var(--muted);
   font-size: 13px;
}

.review-row strong {
   max-width: 62%;
   color: var(--heading);
   font-size: 14px;
   text-align: right;
   overflow-wrap: anywhere;
}

.review-row.total {
   margin-top: 6px;
   padding-top: 16px;
}

.review-row.total span,
.review-row.total strong {
   font-size: 16px;
   font-weight: 700;
}

.consent-card {
   margin-top: 20px;
}

.consent-label {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   color: var(--text);
   font-size: 14px;
   cursor: pointer;
}

.consent-label input {
   flex: 0 0 auto;
   width: 18px;
   height: 18px;
   margin-top: 3px;
   accent-color: var(--heading);
}

.consent-label a {
   color: var(--heading);
   font-weight: 700;
   text-decoration: underline;
}

.booking-message {
   min-height: 22px;
   margin-top: 14px;
   color: var(--danger);
   font-size: 14px;
   font-weight: 600;
}

/* =====================================================
  FOGLALÁSI ÖSSZEFOGLALÓ OLDALSÁV
===================================================== */

.booking-summary {
   position: sticky;
   top: 24px;
   min-width: 0;
}

.summary-card {
   overflow: hidden;
}

.summary-heading {
   padding: 20px 22px;
   display: flex;
   align-items: center;
   gap: 10px;
   background: var(--surface-soft);
   border-bottom: 1px solid var(--border);
}

.summary-heading i {
   color: var(--accent-dark);
   font-size: 18px;
}

.summary-heading h2 {
   color: var(--heading);
   font-size: 20px;
}

.summary-empty {
   min-height: 210px;
   padding: 28px 22px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 14px;
   text-align: center;
}

.summary-empty i {
   color: var(--accent);
   font-size: 34px;
}

.summary-empty p {
   max-width: 240px;
   color: var(--muted);
   font-size: 14px;
}

.summary-content {
   padding: 10px 22px 20px;
}

.summary-item {
   min-height: 52px;
   padding: 13px 0;
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 16px;
   border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
   border-bottom: none;
}

.summary-item span {
   color: var(--muted);
   font-size: 13px;
}

.summary-item strong {
   max-width: 60%;
   color: var(--heading);
   font-size: 14px;
   text-align: right;
   overflow-wrap: anywhere;
}

.summary-total {
   margin-top: 4px;
   padding-top: 17px;
}

.summary-total span,
.summary-total strong {
   color: var(--heading);
   font-size: 16px;
   font-weight: 700;
}

.summary-help {
   margin-top: 18px;
   padding: 18px;
   border: 1px solid var(--border);
   border-radius: var(--radius-md);
   background: var(--surface-green);
   display: flex;
   align-items: flex-start;
   gap: 12px;
}

.summary-help > i {
   flex: 0 0 auto;
   margin-top: 3px;
   color: var(--heading);
}

.summary-help strong {
   display: block;
   color: var(--heading);
   font-size: 14px;
}

.summary-help p {
   margin-top: 4px;
   color: var(--muted);
   font-size: 13px;
}

/* =====================================================
  BETÖLTÉS ÉS VISSZAJELZŐ ABLAKOK
===================================================== */

.loading-overlay,
.success-overlay,
.error-overlay {
   position: fixed;
   inset: 0;
   z-index: 1000;
   padding: 24px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(38, 49, 45, 0.52);
   backdrop-filter: blur(8px);
}

.loading-card,
.success-card,
.error-card {
   width: min(100%, 460px);
   padding: 34px;
   border-radius: var(--radius-lg);
   background: var(--surface);
   box-shadow: var(--shadow-strong);
   text-align: center;
}

.loading-card h2,
.success-card h2,
.error-card h2 {
   margin-top: 18px;
   color: var(--heading);
   font-size: 25px;
}

.loading-card p,
.success-card p,
.error-card p {
   margin-top: 10px;
   color: var(--muted);
   font-size: 15px;
}

.loader {
   width: 52px;
   height: 52px;
   margin: 0 auto;
   border: 5px solid var(--surface-soft);
   border-top-color: var(--heading);
   border-radius: 50%;
   animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
   to {
       transform: rotate(360deg);
   }
}

.success-icon,
.error-icon {
   width: 68px;
   height: 68px;
   margin: 0 auto;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 34px;
}

.success-icon {
   background: var(--success-soft);
   color: var(--success);
}

.error-icon {
   background: var(--danger-soft);
   color: var(--danger);
}

.success-buttons {
   margin-top: 24px;
   display: flex;
   justify-content: center;
}

.error-card .primary-button {
   margin-top: 24px;
}

/* =====================================================
  KISEBB ÁLTALÁNOS FINOMÍTÁSOK
===================================================== */

input[type="date"],
input[type="time"],
select {
   color-scheme: light;
}

::placeholder {
   color: #a4aaa7;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
   outline: 3px solid rgba(217, 161, 143, 0.42);
   outline-offset: 2px;
}

/* =====================================================
  MOBIL / TABLET
===================================================== */

@media (max-width:1100px){

   .booking-main{
       grid-template-columns:1fr;
   }

   .booking-summary{
       position:static;
       order:-1;
   }

}

@media (max-width:900px){

   .booking-page{
       padding:20px;
   }

   .booking-header{
       flex-direction:column;
       align-items:flex-start;
       gap:18px;
       margin-bottom:28px;
   }

   .booking-progress{
       flex-wrap:wrap;
       gap:12px;
   }

   .progress-line{
       display:none;
   }

   .progress-item{
       width:calc(50% - 6px);
   }

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

   .timeslot-list{
       grid-template-columns:1fr;
   }

   .review-layout{
       grid-template-columns:1fr;
   }

   .form-grid.two-columns{
       grid-template-columns:1fr;
   }

}

@media (max-width:700px){

   .booking-page{
       padding:16px;
   }

   .booking-intro h1{
       font-size:34px;
   }

   .booking-intro p{
       font-size:15px;
   }

   .form-card,
   .summary-card,
   .review-card{
       border-radius:20px;
       padding:20px;
   }

   .summary-heading,
   .review-card-header{
       padding:16px 18px;
   }

   .summary-content{
       padding:8px 18px 18px;
   }

   .summary-empty{
       padding:22px 18px;
   }

   .selected-service-summary{
       flex-direction:column;
       align-items:flex-start;
   }

   .service-summary-details{
       width:100%;
       justify-content:space-between;
   }

   .step-actions,
   .step-actions.split{
       flex-direction:column;
   }

   .primary-button,
   .secondary-button{
       width:100%;
   }

   .yes-no-options{
       flex-direction:column;
   }

}

@media (max-width:520px){

   .booking-page{
       padding:14px;
   }

   .booking-intro h1{
       font-size:30px;
   }

   .booking-intro p{
       font-size:14px;
   }

   .step-heading{
       align-items:flex-start;
   }

   .step-icon{
       width:42px;
       height:42px;
       font-size:18px;
   }

   .step-heading h2{
       font-size:23px;
   }

   .progress-item{
       width:100%;
   }

   .choice-card-content{
       min-height:auto;
       padding:15px;
   }

   .timeslot-card-content{
       min-height:auto;
   }

   .summary-item,
   .review-row{
       flex-direction:column;
       align-items:flex-start;
       gap:4px;
   }

   .summary-item strong,
   .review-row strong{
       max-width:100%;
       text-align:left;
   }

   .loading-card,
   .success-card,
   .error-card{
       padding:24px;
   }

}

/* =====================================================
  ANIMÁCIÓK
===================================================== */

.fade-in{
   animation:fadeIn .25s ease;
}

@keyframes fadeIn{

   from{
       opacity:0;
       transform:translateY(10px);
   }

   to{
       opacity:1;
       transform:translateY(0);
   }

}

.scale-in{
   animation:scaleIn .22s ease;
}

@keyframes scaleIn{

   from{
       opacity:0;
       transform:scale(.97);
   }

   to{
       opacity:1;
       transform:scale(1);
   }

   
}

/* =====================================================
  SCROLLBAR
===================================================== */

::-webkit-scrollbar{
   width:10px;
}

::-webkit-scrollbar-track{
   background:#f2efec;
}

::-webkit-scrollbar-thumb{
   background:#d7c7be;
   border-radius:999px;
}

::-webkit-scrollbar-thumb:hover{
   background:#c7aa9c;
}

.success-page-card {
   width: min(100%, 680px);
   padding: 46px;
   border: 1px solid var(--border);
   border-radius: var(--radius-lg);
   background: var(--surface);
   box-shadow: var(--shadow-strong);
   text-align: center;
}

.success-page-icon {
   width: 78px;
   height: 78px;
   margin: 0 auto 22px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--success-soft);
   color: var(--success);
   font-size: 34px;
}

.success-page-card h1 {
   margin-top: 18px;
   color: var(--heading);
   font-size: clamp(30px, 5vw, 44px);
   line-height: 1.15;
}

.success-page-intro {
   max-width: 540px;
   margin: 18px auto 0;
   color: var(--muted);
   font-size: 16px;
}

.success-booking-details {
   margin-top: 30px;
   padding: 10px 22px;
   border-radius: var(--radius-md);
   background: var(--surface-soft);
   text-align: left;
}

.success-detail-row {
   min-height: 52px;
   padding: 13px 0;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 18px;
   border-bottom: 1px solid var(--border);
}

.success-detail-row:last-child {
   border-bottom: none;
}

.success-detail-row span {
   color: var(--muted);
   font-size: 13px;
}

.success-detail-row strong {
   max-width: 62%;
   color: var(--heading);
   font-size: 14px;
   text-align: right;
   overflow-wrap: anywhere;
}

.success-page-message {
   margin-top: 24px;
   padding: 16px 18px;
   border-radius: var(--radius-md);
   display: flex;
   align-items: flex-start;
   gap: 11px;
   background: var(--surface-green);
   color: var(--heading);
   text-align: left;
}

.success-page-message i {
   margin-top: 3px;
}

.success-page-message p {
   margin: 0;
   font-size: 14px;
}

.success-page-actions {
   margin-top: 28px;
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 14px;
}

@media (max-width: 600px) {
   .success-page-card {
       padding: 30px 20px;
   }

   .success-detail-row {
       flex-direction: column;
       align-items: flex-start;
       gap: 4px;
   }

   .success-detail-row strong {
       max-width: 100%;
       text-align: left;
   }

   .success-page-actions {
       flex-direction: column;
   }
}
