@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif !important;
    background: #eef2f7;
    padding: 30px;
}

/* =========================
   CONTAINER
========================= */
.booking-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   STEPS
========================= */
.steps-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: #fafafa;
}
.step-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: #888;
    border-bottom: 3px solid transparent;
}
.step-item.active {
    color: #083267;
    border-color: #083267;
}
.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #fff;
    margin-right: 8px;
    font-size: 13px;
}
.step-item.active .step-number {
    background: #083267;
}
#stepIndicator1.completed .step-number {
    background: #28a745; /* keep green for completed step */
}

/* =========================
   CONTENT
========================= */
.step-content {
    padding: 20px;
}
.step-pane {
    display: none;
}
.step-pane.active-pane {
    display: block;
}

/* =========================
   FORM
========================= */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.full-width {
    grid-column: 1 / -1;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
}
input,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d7dce3;
    border-radius: 10px;
    outline: none;
}
.phone-group {
    display: flex;
    gap: 10px;
}
.phone-group select {
    width: 110px;
}

/* =========================
   PRODUCT SECTION
========================= */
.dtl-header {
    margin-bottom: 20px;
}
.dtl-header h2 {
    color: #083267;
}
.dtl-main {
    display: flex;
    gap: 20px;
}
.dtl-left {
    width: 35%;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 20px;
    background: #f8fafc;
}
.dtl-right {
    width: 65%;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}
.dtl-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #083267;
    width: 100%;
}
.dtl-filter-group {
    margin-bottom: 0px;
}
.dtl-filter-group h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #444;
    position: relative;
}
.dtl-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dtl-btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccd4de;
    background: #fff;
    cursor: pointer;
}
.dtl-btn.active {
    background: #083267;
    color: #fff;
}
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.price {
    font-size: 32px;
    font-weight: 700;
    color: #083267;
}
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.tab {
    padding-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
}
.tab.active {
    color: #083267;
    border-bottom: 2px solid #083267;
}
.tab-content {
    line-height: 1.7;
    color: #555;
}

/* =========================
   BUTTONS
========================= */
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.btn {
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}
.btn-primary {
    background: #083267;
    color: #fff;
}
.btn-secondary {
    background: #eef2f7;
}
.pay-btn-full {
    width: 100%;
    border: none;
    background: #083267;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: 700;
}
.btn-add {
    background: #eef2f8;
    border: 1px solid #cbdde9;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* =========================
   STEP 2 LAYOUT
========================= */
.slot-payment-layout {
    display: flex;
    gap: 20px;
    transition: 0.3s;
    align-items: stretch;
}
.slot-left-panel {
    width: 70%;
    transition: 0.3s;
}
.slot-right-panel {
    width: 30%;
    transition: 0.3s;
}
.slot-payment-layout.expanded .slot-left-panel {
    width: 50%;
}
.slot-payment-layout.expanded .slot-right-panel {
    width: 50%;
}
.slot-payment-layout.hide-summary .slot-right-panel {
    display: none;
}
.slot-payment-layout.hide-summary .slot-left-panel {
    width: 100%;
}
.slot-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.slot-topbar h2 {
    font-size: 18px;
}
.layout-toggle-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #083267;
    color: #fff;
    cursor: pointer;
}
.slot-layout {
    display: flex;
    gap: 20px;
}
.calendar-col {
    width: 50%;
}
.time-col {
    width: 50%;
    background: #f9fbfd;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    padding: 20px;
}
.calendar-wrapper {
    background: #fff;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    padding: 20px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.weekdays div {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}
.cal-day {
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    background: #f5f7fa;
}
.cal-day:hover {
    background: #dfe8f3;
}
.cal-day.selected {
    background: #083267;
    color: #fff;
}
.cal-day.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}
.cal-day.empty {
    pointer-events: none;
}
.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.time-btn {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d6dde6;
    cursor: pointer;
}
.time-btn.selected-time {
    background: #083267;
    color: #fff;
}
.time-btn.disabled-time {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f2f4f8;
    pointer-events: none;
}

/* =========================
   SUMMARY CARD & TOTALS
========================= */
.payment-summary-card {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 20px;
    height: 100%;
}
.payment-summary-card h3 {
    margin-bottom: 0px;
    color: #083267;
    font-size: 18px;
}
.summary-card-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.crny-btns {
    display: flex;
    max-width: 225px;
}
.crny-btns .dtl-btn-group {
    flex-wrap: nowrap;
}
.crny-btns .dtl-btn-group .dtl-btn {
    padding: 0px;
    border: none;
}
.crny-btns .dtl-btn-group .dtl-btn.active {
    background: transparent;
    color: #083267;
    font-weight: 600;
    border-bottom: 2px solid #083267;
    border-radius: 0;
}
.crny-select {
    padding: 2px !important;
    max-width: 60px;
}
.dtl-btn-drp {
    padding: 0;
    background: transparent;
    border: none;
}
.summary-dts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 10px;
}
.summary-dts span {
    color: #777;
    font-weight: 400;
}
.summary-dts strong {
    color: #111;
    font-weight: 600;
}
.cup-offer {
    border-top: 1px solid #c7c7c7;
    padding-top: 10px;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 2px solid #083267;
    margin-top: 10px;
}
.summary-total span {
    color: #083267;
    font-weight: 600;
}
.summary-total strong {
    color: #083267;
    font-weight: 800;
}

/* =========================
   CART SUMMARY BOX (Product rows)
========================= */
.prd-book-box {
    background: #fff;
    border: 1px solid #e2edf2;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}
.prd-book-tit {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.prd-tit-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.prd-tit-left h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}
.prd-tit-left span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}
.prd-tit-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.prd-tit-right .price-display {
    font-size: 18px;
    font-weight: 700;
    color: #003366;
}
.prd-tit-right .action-btns {
    display: flex;
    gap: 8px;
    font-size: 12px;
}
.add-prd {
    color: #0a7c3a;
    cursor: pointer;
}
.remove-prd {
    color: #dc2626;
    cursor: pointer;
}
.add-prd:hover,
.remove-prd:hover {
    text-decoration: underline;
}

/* Category + Edit row */
.summary-cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.summary-cat-label {
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}
.edit-booking-btn {
    font-size: 11px;
    padding: 2px 10px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
    transition: background 0.2s;
}
.edit-booking-btn:hover {
    background: #06224a;
}
.edit-booking-btn.editing {
    background: #003366 !important;
    color: #fff !important;
}

/* Collapsible details (Package, Date, Time) */
.collapse-box {
    margin-top: 10px;
    border-top: 1px solid #eef2f6;
    padding-top: 10px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.collapse-box.opened {
    max-height: 600px;
}
.prd-dts-body {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    font-size: 13px;
    color: #4b5563;
}
.summary-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.summary-row span {
    color: #6b7280;
    font-weight: 400;
    min-width: 60px;
}
.summary-row strong {
    font-weight: 600;
    color: #111827;
}
.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: #083267;
}

/* Toggle button (collapse icon) */
.toggle-btn {
    width: 20px;
    height: 20px;
    border: 1px solid #d7dce3;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}
.toggle-btn i {
    font-size: 14px;
    color: #6b7280;
    transition: transform 0.3s;
}
.toggle-btn.active i {
    transform: rotate(180deg);
}
.toggle-btn:hover {
    background: #f1f5f9;
}

/* Active product styling */
.prd-book-box.active-product {
    border-left: 4px solid #003366 !important;
    background: #f8fafc !important;
    border: 1px solid #dbe2ea !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.prd-book-box.active-product .edit-booking-btn {
    background: #003366 !important;
    color: #fff !important;
}
.prd-book-box.active-product .edit-booking-btn:hover {
    background: #06224a !important;
}
.active-label {
    font-size: 10px;
    font-weight: 600;
    color: #003366 !important;
    background: transparent !important;
    padding: 0 0 0 4px;
    border: none;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
/* Hide old green badge */
.editing-badge {
    display: none !important;
}
/* Subtle dot for active product */


/* =========================
   PRODUCT DETAILS BOX (Left panel)
========================= */
.prd-dets-box {
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px 30px;
    padding: 20px;
    background: #fff;
    margin-bottom: 10px;
}
.floting-notes-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b5d6ff;
    border-radius: 50%;
    font-size: 10px;
    position: absolute;
    top: -2px;
    left: 125px;
}

/* =========================
   NOT LOGGED IN (Guest/Login)
========================= */
.not-logged-in-box {
    background: #f9fbfd;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 10px;
}
.nli-msg {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}
.nli-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}
.nli-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
    color: #333;
    border: 1px solid #d7dce3;
    min-width: 180px;
}
.nli-btn:hover {
    background: #f0f2f5;
}
.nli-google {
    background: #fff;
    border-color: #d7dce3;
}
.nli-google img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}
.nli-guest {
    background: #eef2f7;
    border-color: #d7dce3;
}
.nli-guest i {
    margin-right: 6px;
}
.nli-divider {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin: 10px 0;
    position: relative;
}
.nli-divider:before,
.nli-divider:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #d7dce3;
}
.nli-divider:before {
    left: 0;
}
.nli-divider:after {
    right: 0;
}
.nli-login {
    background: #083267;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.nli-login:hover {
    background: #06224a;
}

/* =========================
   LOGIN/SIGNUP design (old)
========================= */
.login-signup-design {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border: 1px solid #dfe6ee;
    padding: 10px;
    border-radius: 10px;
    gap: 20px;
}
.login-signup-design a {
    border: 1px solid #00387f;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 30px;
    color: #fff;
    background-color: #00387f;
}
.login-signup-design a:last-child {
    color: #00387f;
    background-color: #fff;
}

/* =========================
   PARTICIPANTS SECTION
========================= */
.slot-left-panel .form-grid {
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    padding: 20px;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.full-width {
    grid-column: span 2;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #2c3e4f;
}
.required:after {
    content: "*";
    color: #dc2626;
    margin-left: 4px;
}
input,
select {
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2edf2;
    border-radius: 7px;
    font-size: 0.9rem;
    transition: 0.2s;
    background: #fff;
    max-height: 46px;
}
input:focus,
select:focus {
    outline: none;
    border-color: #2c7a4d;
    box-shadow: 0 0 0 3px rgba(44, 122, 77, 0.2);
}
.phone-group {
    display: flex;
    gap: 8px;
}
.phone-group select {
    width: 95px;
}
.phone-group input {
    flex: 1;
}
.custom-dropdown {
    position: relative;
    width: 100%;
}
.dropdown-selected {
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2edf2;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    max-height: 46px;
}
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    margin-top: 5px;
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: none;
}
.dropdown-list.show {
    display: block;
}
.dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.dropdown-item:hover {
    background: #f1f5f9;
}
.dropdown-item input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2c7a4d;
}
.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.radio-group label {
    display: flex;
    gap: 10px;
}

/* Participants section */
.participants-section {
    background: #f9fbfd;
    border-radius: 1.2rem;
    padding: 1rem;
    margin-top: 0.5rem;
}
.participant-card {
    padding: 0px 0px 20px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2edf2;
    position: relative;
}
.participant-card .remove-participant {
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #dc2626;
}
.participant-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}
.limit-warning {
    font-size: 0.75rem;
    color: #e67e22;
    margin-top: 0.5rem;
}

/* =========================
   COUPON
========================= */
.coupon-list-wrapper {
    margin-top: 15px;
}
.coupon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}
.coupon-code {
    font-weight: 700;
    color: #0a7c3a;
    display: block;
    margin-bottom: 5px;
}
.coupon-apply-btn {
    background: #0a7c3a;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}
.view-coupon-btn {
    width: 100%;
    margin-top: 10px;
}
.coupon-success {
    color: #0a7c3a;
    font-weight: 600;
    margin-bottom: 10px;
}
.coupon-msg {
    margin-top: 10px;
    color: #d9534f;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .prd-dets-box {
        gap: 20px 30px;
    }
}
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .dtl-main {
        flex-direction: column;
    }
    .dtl-left,
    .dtl-right {
        width: 100%;
    }
    .slot-payment-layout {
        flex-direction: column;
    }
    .slot-left-panel,
    .slot-right-panel {
        width: 100% !important;
    }
    .slot-layout {
        flex-direction: column;
    }
    .calendar-col,
    .time-col {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .prd-book-tit {
        flex-direction: column;
        align-items: stretch;
    }
    .prd-tit-right {
        align-items: flex-start;
        text-align: left;
    }
    .prd-dts-body {
        flex-direction: column;
        gap: 6px;
    }
}

.toggle-btn {
    width: 20px;
    height: 20px;
    border: 1px solid #d7dce3;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}
.toggle-btn i {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.3s ease;
}
.toggle-btn.active i {
    transform: rotate(180deg);
}
.toggle-btn:hover {
    background: #f1f5f9;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.action-buttons button {
    flex: 1;
}