body {
    background-color: #f3f4f6;
}

.step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    position: relative;
    width: 100%;
}

/* Each step */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step3{
    margin-left: 40px;
}

/* Connector line BEFORE each step except first */
.step:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 20px; /* center line vertically with circles */
    left: -120px; /* exactly the negative of the gap value */
    width: 160px; /* must match gap */
    height: 3px;
    background: #ddd;
    z-index: 0;
}

/* ACTIVE red lines */
.step.active:not(:first-child)::before {
    background: #d51801;
}

/* Circle */
.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    color: gray;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
}

/* Active circle */
.step.active .step-circle {
    background: #d51801;
    border-color: #d51801;
    color: #fff;
}

/* Text */
.step-text {
    margin-top: 8px;
    font-size: 14px;
    white-space: nowrap;
}


/* Cards */
.plan-card,
.mbe-main .card {
    border-radius: 12px;
    border: 1.99px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.plan-card.selected,
.mbe-main .card.selected {
    border-color: #d51801;
    box-shadow: 0 0 5.5px rgba(213, 26, 1, 0.45);
}

.plan-card.selected .icon-container,
.mbe-main .card.selected .icon-container {
    background-color: #d51801;
    border: 1px solid #d51801;
}

.plan-card.selected .icon-container i,
.mbe-main .card.selected .icon-container i {
    color: #fff;
}

.plan-card.selected .selection-tick i,
.mbe-main .card.selected .selection-tick i {
    display: block !important;
    color: #d51801;
}

/* Upgrade Cards */
.upgrade-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upgrade-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.upgrade-card.selected {
    border: 2px solid #d51801;
    background: #fff6f7;
}

.upgrade-card .form-check-input {
    margin-right: 10px;
    pointer-events: none;
}

/* Allow clicking anywhere in upgrade-card to toggle checkbox */
.upgrade-card {
    display: flex;
}

.icon-red {
    color: #d51801;
}

/* Upgrade Pricing */
.price-container {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.price-value {
    font-size: 18px;
}

.price-period {
    font-size: 13px;
}

/* Features (Small) */
.features-list-small li {
    font-size: 13px;
    margin-bottom: 6px;
}

/* Order Summary */
.order-summary {
    background: #e5e3df !important;
    border: 1.99px solid #d7d5d1;
    border-radius: 12px;
}

.order-summary .summary-item {
    font-size: 14px;
}

.order-summary .due-today {
    font-size: 16px;
}

/* Order Summary Utility Classes */
.order-summary .space-y-4 > * + * {
    margin-top: 1rem;
}

.order-summary .space-y-2 > * + * {
    margin-top: 0.5rem;
}

.order-summary .space-y-1 > * + * {
    margin-top: 0.25rem;
}

.order-summary .info-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.order-summary .info-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.order-summary .info-content {
    flex: 1;
}

.order-summary .discount-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.order-summary .customer-preview {
    margin-top: 1rem;
}

/* Desktop: sticky (follows scroll) */
@media (min-width: 992px) {
    .order-summary {
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
}

/* Mobile: fixed at bottom */
@media (max-width: 991.98px) {
    .order-summary {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 12px 12px 0 0;
        max-height: 50vh;
        overflow-y: auto;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    /* Add padding to main content so it doesn't hide under fixed summary */
    main {
        padding-bottom: 50vh !important;
    }
}

/* Green “Switch to annual” banner */
#switch-annual-box {
    background: #00c951 !important;
    color: white;
    border-radius: 6px;
}

/* Toggle switch */
.form-switch .form-check-input:checked {
    background-color: #d51801;
    border-color: #d51801;
}

/* Badges */
.popular-badge {
    background: #d51801 !important;
}

.optional-badge {
    background: #6c757d !important;
}

.prestigious-badge {
    background: linear-gradient(to right, #fc9800, #e17100) !important;
}

.icon-prestigious {
    color: #e17100 !important;
}

/* Select */
select.form-select {
    margin-top: 4px;
}

/* Annual hint */
.annual-only-info.d-none, .monthly-only-info.d-none {
    display: none;
}

.annual-only-info, .monthly-only-info {
    background-color: #e8f7ef;
    color: #1f7a4d;
    border: 1px solid #a2fccf;
    font-weight: 500;
    cursor: pointer;
}

/* Billing cycle toggle */
.billing-cycle .btn {
    background: #fff;
    color: #000;
    border-radius: 10px;
    border: 1px solid #d7d5d1;
}

.billing-cycle .btn.active {
    background: #d51801;
    color: #fff;
}

.billing-cycle .btn .save-badge {
    background: #e5e3df;
    color: black;
}

/* Find store button */
.find-store-btn {
    padding-top: 10px;
    padding-bottom: 10px;
}

.find-store-btn:hover {
    background-color: #f2f2f2 !important;
    color: #000 !important;
    border-color: #ced4da;
}

.address_field {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.text-red {
    color: #d51801;
}

.bg_secondary {
    background: #e5e3df !important;
}

.bg_primary {
    background-color: #d51801 !important;
}


/* Minor responsive polish */
@media (max-width: 767.98px) {
    .address-selection .d-flex {
        flex-direction: column;
        gap: 12px;
    }

    .address-selection .find-store-btn {
        width: 100% !important;
    }
}

.saved-amount {
    border-radius: 6px;
}

.switch-card-annual:hover {
    background: #d2f8df !important;
}

.saved-amount.alert-primary {
    background: #e9f2ff !important;
    border-color: #bcd4ff !important;
    color: #003e9e !important;
}

/* Upgrade cards behaviour */
.upgrade-card {
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.upgrade-card.upgrade-active {
    border-color: #d51801;
    box-shadow: 0 0 0 1px rgba(213, 24, 1, 0.15);
    background: #fff7f6;
}

.upgrade-card .card-details-collapsible {
    display: none;
}

.upgrade-card.upgrade-active .card-details-collapsible {
    display: block;
}

.w-90 {
    width: 90%;
}

.price-value {
    color: #d51801;
    font-size: 25px;
    margin-bottom: 0;
}

.price-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 0;
}

.upgrade-card .form-check-input {
    transform: scale(1.5);
    margin-top: 5px;
    margin-bottom: 5px;
}

.icon-container {
    height: 50px;
    width: 50px;
    background-color: #f3f4f6;
    border-radius: 15px;
}

.icon-container i {
    color: #d51801;
}

.list-no-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-tab.active {
    color: #d51801;
    border-bottom: 3px solid #d51801 !important;
}

@media (min-width: 768px) {
    .col-md-9 {
        flex: 0 0 auto;
        width: 75% !important;
    }
}

.form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}

.form-check-input:checked {
    background-color: #d51801;
    border-color: #d51801;
}

.form-check-inputB {
    width: 1.2em;
    height: 1.2em;
}

/* POPUP SIZE + COLORS */
.store-popup {
    width: 85%;
    max-width: 1200px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    max-height: 85vh;
    overflow-y: auto;
}

/* Overlay */
.store-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
}

/* Store list styling */
.store-list {
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 10px;
}

.store-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.store-item:hover {
    border-color: #cc0000;
    cursor: pointer;
}

.store-distance {
    background: #f3f3f3;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

/* Map placeholder area */
.map-box {
    height: 100%;
    background: linear-gradient(135deg, #f8f8f8, #eef8ff);
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

/* Buttons */
.btn-select-store {
    width: 100%;
    margin-top: 10px;
    background: #000;
    color: white;
    border-radius: 6px;
}

.store-item.selected {
    border: 2px solid #d00 !important;
    background: #fff7f7;
}

.store-item {
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    transition: 0.2s ease;
}

.store-item:hover {
    border-color: #d00;
}

/* Validation styling */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Payment Page Styles */

.payment-card {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: #999;
}

.payment-card.selected {
    border-color: #d51801;
    background: white;
}

.payment-card.selected .payment_icon {
    background-color: #d51801;
    color: white;
}

.recommended-tag {
    padding: 3px 10px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
}

.warning-box {
    background: #fff8e5;
    border: 1px solid #f4d98c;
    padding: 16px;
    border-radius: 8px;
}

.blue-box {
    background: #eff6ff;
    border: 1px solid #193cb8;
    padding: 16px;
    color: #1c398e;
    border-radius: 8px;
}

.payment_icon {
    background: gainsboro;
    height: 45px;
    width: 45px;
    color: rgb(53, 53, 53);
    border-radius: 10px;
    flex-shrink: 0;
}

/* Order Confirmation Page Styles */

/*.success-header {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-icon i {
    font-size: 2rem;
    color: #16a34a;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 1rem;
}

.success-description {
    font-size: 1.125rem;
    color: #717182;
}

.order-reference {
    padding: 1rem;
    background-color: rgba(213, 24, 1, 0.05);
    border: 1px solid rgba(213, 24, 1, 0.2);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-reference-label {
    font-weight: 500;
}

.order-badge {
    background-color: rgba(213, 24, 1, 0.1);
    border: 1px solid rgba(213, 24, 1, 0.5);
    color: #d51801;
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #717182;
    text-transform: uppercase;
}

.detail-content p {
    margin-bottom: 0.25rem;
}

.detail-main {
    font-weight: 500;
}

.detail-sub {
    font-size: 0.875rem;
    color: #717182;
}

.payment-summary {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.payment-summary h3 {
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.payment-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.payment-total {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background-color: #d51801;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
}

.step-content h4 {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.step-content p {
    font-size: 0.875rem;
    color: #717182;
}

.info-card {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
}

.info-content {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
}

.info-icon {
    font-size: 1.25rem;
    color: #d97706;
    flex-shrink: 0;
}

.info-text h4 {
    font-weight: 500;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.info-list {
    font-size: 0.875rem;
    color: #b45309;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-list p {
    margin: 0;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .action-buttons {
        flex-direction: row;
    }
}
*/