/* ────────────────────────────────────────────────────────────────
   Adventure Balloon Booking modal styles
   ──────────────────────────────────────────────────────────────── */

.abb-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: none; align-items: center; justify-content: center;
    padding: 24px;
}
.abb-modal.open { display: flex; }
.abb-modal-bg {
    position: absolute; inset: 0;
    background: rgba(15, 27, 45, .6);
    backdrop-filter: blur(8px);
}
.abb-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 24px;
    width: 100%; max-width: 940px;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 24px 60px -20px rgba(15, 27, 45, .4);
    animation: abb-pop .3s cubic-bezier(.2,.7,.2,1);
}
@keyframes abb-pop {
    from { opacity: 0; transform: translateY(20px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
.abb-modal-close {
    position: absolute; top: 14px; right: 18px; z-index: 10;
    background: transparent; border: 0; font-size: 28px;
    color: #7A8597; cursor: pointer; line-height: 1;
    width: 36px; height: 36px;
}
.abb-modal-close:hover { color: #0F2C4A; }
.abb-modal-grid {
    display: grid; grid-template-columns: 1.3fr 1fr;
}

/* Form side */
.abb-modal-form { padding: 36px; overflow-y: auto; max-height: 92vh; }
.abb-modal-form h3 {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 30px; font-weight: 500;
    margin: 0 0 6px; color: #0F2C4A;
}
.abb-hint { font-size: 13px; color: #7A8597; margin: 0 0 22px; }
.abb-fine { font-size: 11.5px; color: #7A8597; line-height: 1.5; margin: 16px 0 0; }
.abb-field-label {
    display: block; font-size: 12px; font-weight: 600;
    color: #3A4759; margin: 14px 0 6px;
    letter-spacing: .03em;
}
.abb-modal input[type=text],
.abb-modal input[type=email],
.abb-modal input[type=tel],
.abb-modal select,
.abb-modal textarea {
    width: 100%;
    font-family: inherit; font-size: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid #E6DECF;
    background: #fff; color: #0F1B2D;
    transition: all .15s ease;
}
.abb-modal input:focus, .abb-modal select:focus, .abb-modal textarea:focus {
    outline: none; border-color: #2E7CBF;
    box-shadow: 0 0 0 3px rgba(46,124,191,.15);
}
.abb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Steps progress */
.abb-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.abb-step { display: flex; align-items: center; gap: 8px; opacity: .55; transition: all .2s; }
.abb-step-num {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600;
    background: #F4E8D5; color: #7A8597;
}
.abb-step.active { opacity: 1; }
.abb-step.active .abb-step-num { background: #1B5A99; color: #fff; }
.abb-step.done { opacity: 1; }
.abb-step.done .abb-step-num { background: #2F8F5C; color: #fff; }
.abb-step.done .abb-step-num::before { content: "✓"; }
.abb-step.done .abb-step-num span { display: none; }
.abb-step-sep { width: 24px; height: 1px; background: #E6DECF; }

/* Package picker */
.abb-package-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.abb-pkg-btn {
    padding: 12px; border: 1.5px solid #E6DECF; background: #fff;
    border-radius: 12px; text-align: left; cursor: pointer;
    font-family: inherit; transition: all .15s;
}
.abb-pkg-btn:hover { border-color: #5DA8DC; }
.abb-pkg-btn.active { border-color: #1B5A99; background: #C7E1F2; }
.abb-pkg-btn .name { font-weight: 600; font-size: 13px; color: #0F2C4A; }
.abb-pkg-btn .meta { font-size: 12px; color: #7A8597; margin-top: 2px; }

/* Calendar mini */
.abb-cal-mini { margin-bottom: 18px; }
.abb-cal-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px;
}
.abb-cal-head strong { font-family: var(--font-display, "Cormorant Garamond", serif); font-size: 19px; color: #0F2C4A; font-weight: 500; }
.abb-cal-nav {
    background: transparent; border: 1px solid #E6DECF;
    width: 28px; height: 28px; border-radius: 8px;
    cursor: pointer; font-size: 14px; color: #3A4759;
}
.abb-cal-nav:hover { background: #F4E8D5; }
.abb-cal-dow {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 4px; font-size: 10.5px; color: #7A8597;
    text-align: center; margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: .1em;
}
.abb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.abb-cal-grid > div { aspect-ratio: 1/1; }
.abb-cal-day {
    aspect-ratio: 1/1; border: 0; border-radius: 10px;
    background: #FBF7F0; color: #0F1B2D;
    cursor: pointer; font-weight: 500; font-size: 13px;
    transition: all .15s; font-family: inherit;
}
.abb-cal-day:hover:not(:disabled) { background: #C7E1F2; }
.abb-cal-day.sel { background: #1B5A99; color: #fff; }
.abb-cal-day:disabled {
    background: transparent; color: #C5BFB0;
    cursor: not-allowed; text-decoration: line-through;
}
.abb-cal-day.full { background: #F4E8D5; }

/* Count */
.abb-count { display: flex; align-items: center; gap: 18px; margin: 8px 0 22px; }
.abb-count-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid #E6DECF; background: #fff;
    font-size: 20px; font-weight: 600; cursor: pointer;
    color: #0F2C4A; transition: all .15s;
}
.abb-count-btn:hover { background: #F4E8D5; }
.abb-count-value {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 64px; color: #0F2C4A;
    min-width: 80px; text-align: center; font-weight: 500;
}
.abb-count-subtotal { margin-left: auto; text-align: right; }
.abb-sub { font-family: var(--font-display, "Cormorant Garamond", serif); font-size: 26px; color: #E87825; }

/* Payment methods */
.abb-pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 18px; }
.abb-pay-method {
    padding: 14px; border: 1.5px solid #E6DECF; background: #fff;
    border-radius: 12px; font-weight: 600; font-size: 13px;
    cursor: pointer; font-family: inherit; transition: all .15s;
    color: #0F1B2D;
}
.abb-pay-method:hover { border-color: #5DA8DC; }
.abb-pay-method.abb-active { border-color: #1B5A99; background: #C7E1F2; color: #0F2C4A; }

/* Confirm */
.abb-confirm { text-align: center; padding: 40px 0; }
.abb-confirm-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #F39C2D, #E87825);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 36px; margin-bottom: 20px;
    box-shadow: 0 8px 20px -8px rgba(232,120,37,.5);
}
.abb-confirm-eye { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #2F8F5C; }
.abb-confirm h3 {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 40px; margin: 6px 0 10px;
    color: #0F2C4A;
}
.abb-confirm h3 em { font-family: var(--font-script, "Sacramento", cursive); font-style: normal; font-size: 1.2em; color: #E87825; }

/* Nav */
.abb-modal-nav {
    display: flex; justify-content: space-between;
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid #F1EADD;
}

/* Summary (right) */
.abb-modal-summary {
    background: #0F2C4A;
    background-image: radial-gradient(circle at 80% 20%, rgba(243,156,45,.15), transparent 50%);
    color: #fff; padding: 36px;
    display: flex; flex-direction: column;
}
.abb-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #F8C772; }
.abb-modal-summary h3 {
    font-family: var(--font-display, "Cormorant Garamond", serif);
    font-size: 30px; font-weight: 500; color: #fff;
    margin: 6px 0 18px;
}
.abb-summary-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px; padding: 18px;
}
.abb-summary-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.abb-summary-row:last-child { border-bottom: 0; }
.abb-summary-row > span:first-child { color: rgba(255,255,255,.55); }
.abb-summary-row > span:last-child { color: #fff; font-weight: 500; }
.abb-summary-totals { margin-top: 18px; font-size: 13.5px; }
.abb-summary-totals .abb-summary-row { border: 0; }
.abb-summary-divider { height: 1px; background: rgba(255,255,255,.1); margin: 10px 0; }
.abb-summary-row.abb-total { font-weight: 700; font-size: 15px; }
.abb-modal-summary .abb-fine { color: rgba(255,255,255,.5); margin-top: auto; padding-top: 20px; }

/* Mobile */
@media (max-width: 720px) {
    .abb-modal { padding: 0; }
    .abb-modal-dialog { border-radius: 0; max-width: none; max-height: 100vh; height: 100vh; }
    .abb-modal-grid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .abb-modal-summary { padding: 24px; }
    .abb-modal-form { padding: 24px; }
    .abb-package-pick { grid-template-columns: 1fr; }
}
