/**
 * SKIP BIN BOOKING WIZARD - MODERN CLEAN THEME
 */

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* --primary is set dynamically from backend */
    --primary-light: #eaf6ff;
    --primary-rgb: 30, 115, 190;
    --border: #dbe5ec;
    --bg: #f8fafc;
    --text: #1a2233;
    --input-bg: #fff;
    --input-border: #cfd8dc;
    --input-focus: #1e73be;
    --btn-bg: #1e73be;
    --btn-bg-hover: #155a8a;
    --btn-text: #fff;
    --card-bg: #fff;
    --card-border: #dbe5ec;
    --card-hover: #eaf6ff;
    --btn-radius: 8px;
    --btn-font-size: 1em;
    --btn-font-weight: 600;
}

body, .skip-booking-step, .step1-container, .step2-container, .form-group, input, select, button, textarea, .bin-option.card, .addon-option.card, .placement-option {
    font-family: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif !important;
}

.skip-booking-step, .step1-container, .step2-container {
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    background: var(--card-bg);
    border-radius: var(--btn-radius, 8px) !important;
    border: 1.5px solid var(--card-border);
    box-shadow: none;
    padding: 40px 32px 32px 32px;
    position: relative;
    overflow: visible;
}

/* Hide the order review table header and heading on the checkout page for a cleaner look */
table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
}

h3#order_review_heading {
    display: none;
}

@media (max-width: 1200px) {
    .skip-booking-step, .step1-container, .step2-container {
        max-width: 98vw;
        padding: 24px 4vw;
    }
}
@media (max-width: 700px) {
    .skip-booking-step, .step1-container, .step2-container {
        padding: 12px 2vw 16px 2vw;
        max-width: 100vw;
    }
}

/* Progress Bar Modern */
.skip-booking-progress {
    background: transparent;
    border-radius: 10px;
    box-shadow: none;
    padding: 0 0 24px 0;
    margin-bottom: 36px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.skip-booking-progress ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
}
.skip-booking-progress ul:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: var(--border);
    z-index: 0;
    transform: translateY(-50%);
    transition: background 0.3s ease;
}
/* Progress line for completed steps */
.skip-booking-progress ul:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    height: 3px;
    background: var(--primary);
    z-index: 0;
    transform: translateY(-50%);
    transition: width 0.5s ease;
    width: var(--progress-width, 0%);
    max-width: 75%; /* Cap the progress line at 75% to prevent overflow */
}
.skip-booking-progress li {
    flex: 1;
    min-width: 0;
    position: relative;
    color: var(--border);
    font-weight: 500;
    font-size: 1.1em;
    text-align: center;
    z-index: 1;
    background: none;
    transition: color 0.3s ease;
}
.skip-booking-progress li.active {
    color: var(--primary);
}
.skip-booking-progress li.completed {
    color: var(--primary);
}
.skip-booking-progress li .step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 8px auto;
    border-radius: 50%;
    border: 2.5px solid var(--border);
    background: #fff;
    font-size: 1.25em;
    font-weight: 700;
    color: var(--border);
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}
/* Future steps - grayed out */
.skip-booking-progress li:not(.active):not(.completed) .step-circle {
    border-color: var(--border);
    background: #fff;
    color: var(--border);
}
/* Active step - filled background with white icon and outline */
.skip-booking-progress li.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb, 30, 115, 190), 0.3), 0 0 0 3px rgba(var(--primary-rgb, 30, 115, 190), 0.4);
}
/* Completed steps - filled background with white checkmark */
.skip-booking-progress li.completed .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb, 30, 115, 190), 0.2);
}

.skip-booking-progress li.completed i, .skip-booking-progress li.active i {
    color: #fff;
}
/* Progress line - fill completed sections */
.skip-booking-progress li.completed:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--primary);
    z-index: -1;
    transform: translateY(-50%);
}
.skip-booking-progress li p {
    margin: 0;
    font-size: 15px;
    color: inherit;
    font-weight: 500;
    margin-top: 6px;
    transition: color 0.3s ease;
}
/* Hover effects */
.skip-booking-progress li:hover .step-circle {
    transform: scale(1.05);
}
.skip-booking-progress li.active:hover .step-circle {
    box-shadow: 0 6px 16px rgba(var(--primary-rgb, 30, 115, 190), 0.4);
}

/* Form Fields */
.form-group {
    margin-bottom: 28px;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
input[type="text"],
input[type="date"],
select,
.modern-input,
.modern-select,
.modern-date {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0;
    font-size: 1.13em;
    padding: 15px 18px;
    border: 1.5px solid var(--input-border);
    border-radius: var(--btn-radius, 8px);
    background: var(--input-bg);
    color: var(--text);
    transition: border 0.2s, background 0.2s;
}
input[type="text"]:focus,
input[type="date"]:focus,
select:focus,
.modern-input:focus,
.modern-select:focus,
.modern-date:focus {
    border-color: var(--input-focus);
    background: #f4faff;
    outline: none;
}

/* Flatpickr Modern Theme */
.flatpickr-input, .modern-date {
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    border-radius: var(--btn-radius, 8px);
    font-size: 1.13em;
    padding: 15px 18px;
    width: 100%;
    transition: border 0.2s;
    box-shadow: none;
}
.flatpickr-calendar {
    border-radius: var(--btn-radius, 8px) !important;
    box-shadow: 0 4px 24px rgba(30,115,190,0.10) !important;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    border: 1.5px solid var(--card-border) !important;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
.flatpickr-day.today {
    border-color: var(--primary) !important;
}

/* Grid for Bins & Add-ons */
.bin-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 32px;
    margin-bottom: 32px;
}
@media (max-width: 900px) {
    .bin-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .bin-options { grid-template-columns: 1fr; }
}

.bin-option.card {
    background: var(--card-bg, #fff);
    border: 2px solid var(--card-border, #dbe5ec);
    border-radius: var(--btn-radius, 8px);
    box-shadow: none;
    padding: 24px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: border 0.2s, box-shadow 0.2s;
    height: 100%;
}
.bin-option.card > * {
    width: 100%;
    flex-shrink: 0;
}
.bin-option.card .bin-quantity-section {
    margin-top: auto;
}
.bin-option.card.selected,
.bin-option.card:focus-within {
    border-color: var(--btn-bg);
    box-shadow: 0 2px 12px rgba(30,115,190,0.08);
}
.bin-card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
.bin-card-img img {
    width: 650px !important;
    min-width: 650px !important;
    max-width: 650px !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.bin-card-title {
    font-size: 1.18em;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
    text-align: center;
    min-height: 3em;
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
    justify-content: center;
    line-height: 1.4;
    padding: 0 5px;
}
.bin-card-price {
    margin-bottom: 8px;
    margin-top: 0;
    font-size: 1.08em;
    text-align: center;
    min-height: 1.5em;
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
    justify-content: center;
}
.bin-card-price .sale-price {
    color: #d63638;
    font-weight: 700;
    margin-right: 8px;
}
.bin-card-price .regular-price {
    color: black;
    font-weight: 400;
    font-size: 0.98em;
}

.bin-card-weight {
    display: none !important; /* Weight limit hidden from frontend */
}
.bin-card-info-toggle {
    display: none !important; /* Toggle removed - details show directly */
}
.bin-info-toggle-link {
    color: var(--btn-bg);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.98em;
}
.bin-card-details {
    background: #f6faff;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 0.98em;
    color: #333;
    text-align: left;
    min-height: 60px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.bin-card-excess-info {
    margin-top: 6px;
    color: #d63638;
    font-size: 0.97em;
}
#skip-booking-step2-form .btn-select-bin, #skip-booking-step2-form .btn-select-addon {
  all: unset;
  display: block;
    width: 100%;
    box-sizing: border-box;
  border-radius: var(--btn-radius, 8px) !important;
  font-size: var(--btn-font-size, 1em) !important;
  font-weight: var(--btn-font-weight, 600) !important;
  border: 2px solid var(--btn-bg) !important;
  background: transparent !important;
  color: var(--btn-bg) !important;
  padding: 10px 0 !important;
  margin-top: 8px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#skip-booking-step2-form .btn-select-bin.selected,
#skip-booking-step2-form .btn-select-bin:active,
#skip-booking-step2-form .btn-select-addon.selected,
#skip-booking-step2-form .btn-select-addon:active {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
}
#skip-booking-step2-form .btn-select-bin:hover,
#skip-booking-step2-form .btn-select-addon:hover {
  background: var(--btn-bg-hover) !important;
  color: white !important;
    }

/* --- PLACEMENT NOTES --- */
.placement-note-display {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border: 1px solid #0073aa;
    border-radius: 8px;
    text-align: center;
}

.placement-note-content {
    display: block;
    text-align: center;
    font-size: 1em;
    color: #333;
    line-height: 1.5;
}

/* --- NO PRODUCTS MESSAGE --- */
.no-products-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
}

.no-products-message h3 {
    color: #d63638;
    margin: 0 0 15px 0;
    font-size: 1.5em;
}

.no-products-message p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.no-products-message p:last-child {
    margin: 15px 0 0 0;
    font-size: 14px;
}

/* --- BIN QUANTITY CONTROLS --- */
.bin-quantity-section {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Quantity label removed - no longer needed */

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
}

.qty-btn {
    width: 32px;
    height: auto;
    min-height: 32px;
    padding: 6px 8px;
    border: 1.5px solid var(--input-border, #cfd8dc);
    background: #fff;
    color: #333;
    border-radius: var(--btn-radius, 8px);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.qty-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.qty-btn:active {
    transform: translateY(1px);
}

.bin-qty-input {
    width: 56px;
    padding: 6px 8px;
    border: 1.5px solid var(--input-border, #cfd8dc);
    border-radius: var(--btn-radius, 8px);
    font-size: 1em;
    text-align: center;
    margin: 0;
    background: #fff;
}

.bin-qty-input:focus {
    outline: none;
    border-color: var(--btn-bg, #0073aa);
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
    background: #fff;
}

.bin-qty-input::-webkit-outer-spin-button,
.bin-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bin-qty-input[type=number] {
    -moz-appearance: textfield;
}

.bin-total-price {
    text-align: center;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: var(--btn-radius, 8px);
    border: 1px solid var(--input-border, #cfd8dc);
    font-size: 0.9em;
    color: #495057;
    transition: all 0.2s ease;
}

.bin-total-price:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.total-amount {
    color: var(--btn-bg, #0073aa);
    font-weight: 600;
}

/* Quantity 0 state */
.bin-option .bin-quantity-section {
    opacity: 0.6;
}

.bin-option .bin-quantity-section.has-quantity {
    opacity: 1;
}

/* Mobile responsiveness for bin quantity controls */
@media (max-width: 768px) {
    .bin-quantity-section {
        margin-top: 12px;
        gap: 10px;
    }
    
    .quantity-controls {
        gap: 6px;
    }
    
    .qty-btn {
        width: 28px;
        height: auto;
        min-height: 28px;
        padding: 4px 6px;
        font-size: 14px;
    }
    
    .bin-qty-input {
        width: 48px;
        padding: 4px 6px;
        font-size: 0.9em;
    }
    
    .bin-total-price {
        padding: 4px 8px;
        font-size: 0.85em;
    }
    
    /* Quantity label removed */
}



/* --- ADD-ON CARDS --- */
    .addons-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 32px;
    }
@media (max-width: 1100px) {
    .addons-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .addons-options { grid-template-columns: repeat(2, 1fr); }
}
.addon-option.card {
    background: var(--card-bg, #fff);
    border: 2px solid var(--card-border, #dbe5ec);
    border-radius: var(--btn-radius, 8px);
    box-shadow: none;
    padding: 18px 12px 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transition: border 0.2s, box-shadow 0.2s;
    height: 100%;
}
.addon-option.card > * {
    width: 100%;
    flex-shrink: 0;
}
.addon-option.card .addon-card-row {
    margin-top: auto;
}
.addon-option.card.selected,
.addon-option.card:focus-within {
    border-color: var(--btn-bg);
    box-shadow: 0 2px 12px rgba(30,115,190,0.08);
}
.addon-card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}
.addon-card-img img {
    width: 650px !important;
    min-width: 650px !important;
    max-width: 650px !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
.addon-card-title {
    font-size: 1.08em;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 0;
    text-align: center;
    min-height: 3em;
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
    justify-content: center;
    line-height: 1.4;
    padding: 0 5px;
}
.addon-card-price {
    margin-bottom: 8px;
    margin-top: 0;
    font-size: 1em;
    text-align: center;
    min-height: 1.5em;
    display: flex;
    align-items: flex-start; /* Align to top instead of center */
    justify-content: center;
}
.addon-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}
.addon-qty {
    width: 56px;
    padding: 6px 8px;
    border: 1.5px solid var(--input-border, #cfd8dc);
    border-radius: var(--btn-radius, 8px);
    font-size: 1em;
    text-align: center;
    margin-right: 0;
}
.addon-qty:disabled {
    background: #f3f3f3;
    color: #aaa;
}
.btn-select-addon {
    background: transparent !important;
    color: var(--btn-bg) !important;
    border: 2px solid var(--btn-bg) !important;
    transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-select-addon.selected {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    border: 2px solid var(--btn-bg) !important;
}
.btn-select-addon:hover {
    background: var(--btn-bg-hover) !important;
    color: var(--btn-text) !important;
    border: 2px solid var(--btn-bg-hover) !important;
}
.btn-select-addon:active {
    background: var(--btn-bg-hover) !important;
    color: var(--btn-text) !important;
    border: 2px solid var(--btn-bg-hover) !important;
    transform: translateY(1px);
}

/* Remove old radio/checkbox styles for this step */
.bin-option input[type="radio"],
.addon-option input[type="checkbox"],
.custom-radio, .custom-checkbox {
    display: none !important;
}

/* Option Content */
.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Start from top instead of center */
    gap: 0.2em;
    min-width: 0;
    flex: 1 1 auto;
    border-radius: var(--btn-radius, 8px) !important;
    text-align: center;
}
.option-content .title {
    text-align: center;
    width: 100%;
    display: block;
    min-height: 2.5em; /* Ensure consistent height for placement titles */
}

/* Ultra-specific booking form button styles */
.skip-booking-step button.btn-next,
.skip-booking-step button.btn-prev,
.step1-container button.btn-next,
.step1-container button.btn-prev,
.step2-container button.btn-next,
.step2-container button.btn-prev,
.step3-container button.btn-next,
.step3-container button.btn-prev {
    all: unset;
    background: var(--btn-bg) !important;
    color: #fff !important;
    border-radius: var(--btn-radius, 8px) !important;
    font-size: var(--btn-font-size, 1em) !important;
    font-weight: var(--btn-font-weight, 600) !important;
    font-family: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif !important;
    border: none !important;
    padding: 14px 32px !important;
    margin: 0 8px 0 0 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 2px 8px rgba(30,115,190,0.08) !important;
    min-width: 140px !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}
.skip-booking-step button.btn-next:hover,
.skip-booking-step button.btn-prev:hover,
.step1-container button.btn-next:hover,
.step1-container button.btn-prev:hover,
.step2-container button.btn-next:hover,
.step2-container button.btn-prev:hover,
.step3-container button.btn-next:hover,
.step3-container button.btn-prev:hover {
    background: var(--btn-bg-hover) !important;
    color: #fff !important;
}
.skip-booking-step button.btn-next:active,
.skip-booking-step button.btn-prev:active,
.step1-container button.btn-next:active,
.step1-container button.btn-prev:active,
.step2-container button.btn-next:active,
.step2-container button.btn-prev:active,
.step3-container button.btn-next:active,
.step3-container button.btn-prev:active {
    background: var(--btn-bg) !important;
    color: #fff !important;
    box-shadow: 0 1px 4px rgba(30,115,190,0.10) !important;
}

.skip-booking-step h2 {
    margin-top: 0;
    color: var(--btn-bg);
    font-weight: 700;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.placement-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .placement-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .placement-options { 
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        align-items: stretch;
    }
    /* Ensure placement option titles have consistent height on mobile */
    .placement-option .option-content .title {
        min-height: 2.5em; /* Fixed minimum height for titles */
        display: flex;
        align-items: flex-start; /* Align text to top */
        justify-content: center;
    }
}

.placement-option {
    border: 1px solid #ddd;
    border-radius: var(--btn-radius, 8px) !important;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.placement-option:hover {
    border-color: var(--btn-bg);
}

.placement-option input[type="radio"] {
    display: none;
}

.placement-option input[type="radio"]:checked + label {
    color: var(--btn-bg);
    font-weight: bold;
}

.placement-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    height: 100%; /* Fill full height of placement option */
    justify-content: flex-start; /* Start from top instead of space-between */
}

.placement-option .icon {
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placement-option .icon img {
    height: 150px !important;
    width: 150px !important;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}



.error-message {
    text-align: center;
    color: #d63638;
    font-weight: bold;
}

.skip-booking-step-1 h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--btn-bg);
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.skip-booking-step-1 .form-group {
    margin-bottom: 28px;
    position: relative;
}

.skip-booking-step-1 label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.skip-booking-step-1 input[type="text"],
.skip-booking-step-1 input[type="date"],
.skip-booking-step-1 select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafbfc;
    transition: border 0.2s;
    box-shadow: 0 1px 2px rgba(30,115,190,0.04);
}

.skip-booking-step-1 input[type="text"]:focus,
.skip-booking-step-1 input[type="date"]:focus,
.skip-booking-step-1 select:focus {
    border-color: var(--btn-bg);
    outline: none;
}

#map-preview {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(30,115,190,0.08);
    border: 1px solid #e0e0e0;
    background: #f4f8fb;
}

.skip-booking-step-1 .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .skip-booking-step-1 h2 {
        font-size: 1.3rem;
    }
    .skip-booking-step-1 .form-group {
        margin-bottom: 18px;
    }
    #map-preview {
        height: 140px;
    }
    .skip-booking-step-1 .btn-next {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 0;
    }
}

.addon-qty-group {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 8px;
}

.addon-qty-label {
    font-size: 0.95em;
    color: #444;
    margin-right: 4px;
}

.addon-qty {
    width: 60px;
    padding: 7px 10px;
    border: 1.2px solid #cfd8dc;
    border-radius: var(--btn-radius, 8px);
    font-size: 1em;
    background: #fff;
    transition: border 0.2s;
}

.addon-qty:disabled {
    background: #f0f0f0;
    color: #aaa;
    border-color: #eee;
}

@media (max-width: 700px) {
    .step2-container {
        padding: 12px 4vw 16px 4vw;
    }
    .bin-options {
        grid-template-columns: 1fr;
        gap: 12px;
        grid-auto-rows: auto; /* Allow natural heights on mobile */
        align-items: start; /* Align to start instead of stretch */
    }
    .addons-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: auto; /* Allow natural heights on mobile */
        align-items: start; /* Align to start instead of stretch */
    }
    .placement-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: 1fr; /* Keep equal heights for placement options */
        align-items: stretch; /* Stretch to fill grid cells */
    }
    .bin-option,
    .addon-option {
        min-height: 120px;
        padding: 12px 8px 10px 8px;
        height: auto; /* Allow natural height on mobile */
    }
    .placement-option {
        min-height: 120px;
        padding: 12px 8px 10px 8px;
        height: 100%; /* Keep full height for equal sizing */
    }
    .bin-option.card {
        height: auto !important; /* Override height: 100% on mobile */
    }
    /* Ensure placement option titles have consistent height */
    .placement-option .option-content .title {
        min-height: 2.5em; /* Fixed minimum height for titles */
        display: flex;
        align-items: flex-start; /* Align text to top */
        justify-content: center;
    }
}

.step1-container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(30,115,190,0.10);
    padding: 36px 24px 28px 24px;
    overflow: hidden;
    position: relative;
}

.skip-booking-step-1 .form-group {
    margin-bottom: 28px;
    position: relative;
}

.modern-input {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.08rem;
    background: #f7fafd;
    transition: border 0.2s;
    box-shadow: 0 1px 2px rgba(30,115,190,0.04);
}

.modern-input:focus {
    border-color: var(--btn-bg);
    outline: none;
    background: #fff;
}

.modern-select-wrapper {
    position: relative;
    width: 100%;
}

.modern-select {
    width: 100%;
    padding: 15px 40px 15px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.08rem;
    background: #f7fafd;
    appearance: none;
    -webkit-appearance: none;
    transition: border 0.2s;
    box-shadow: 0 1px 2px rgba(30,115,190,0.04);
}

.modern-select:focus {
    border-color: var(--btn-bg);
    outline: none;
    background: #fff;
}

.modern-select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #888;
    pointer-events: none;
}

.modern-date-group label {
    margin-bottom: 7px;
}

.modern-date-wrapper {
    position: relative;
    width: 100%;
}

.modern-date {
    width: 100%;
    padding: 15px 40px 15px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.08rem;
    background: #f7fafd;
    transition: border 0.2s;
    box-shadow: 0 1px 2px rgba(30,115,190,0.04);
}

.modern-date:focus {
    border-color: var(--btn-bg);
    outline: none;
    background: #fff;
}

.modern-date-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #888;
    pointer-events: none;
}

.modern-map-preview {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(30,115,190,0.08);
    border: 1px solid #e0e0e0;
    background: #f4f8fb;
}

@media (max-width: 600px) {
    .step1-container {
        padding: 12px 4vw 16px 4vw;
    }
    .modern-map-preview {
        height: 140px;
    }
}

/* Custom radio and checkbox controls */
.custom-radio, .custom-checkbox {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 14px;
    border-radius: 50%;
    border: 2.5px solid #b5c7d3;
    background: #fff;
    position: relative;
    vertical-align: middle;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}
.custom-checkbox {
    border-radius: 7px;
}
.bin-option input[type="radio"],
.placement-option input[type="radio"],
.addon-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bin-option input[type="radio"]:checked + .custom-radio,
.placement-option input[type="radio"]:checked + .custom-radio {
    border-color: var(--btn-bg);
    background: radial-gradient(circle at 50% 50%, var(--btn-bg) 60%, #fff 61%);
    box-shadow: 0 0 0 4px #e3f0ff;
}
.addon-option input[type="checkbox"]:checked + .custom-checkbox {
    border-color: var(--btn-bg);
    background: var(--btn-bg);
    box-shadow: 0 0 0 4px #e3f0ff;
}
.addon-option input[type="checkbox"]:checked + .custom-checkbox:after {
    content: '\2714';
    color: #fff;
    font-size: 1.1em;
    position: absolute;
    left: 4px;
    top: 1px;
}

/* Floating label for modern inputs/selects */
.floating-label {
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 1.08em;
    color: #888;
    background: transparent;
    pointer-events: none;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}
.modern-input:focus + .floating-label,
.modern-input:not(:placeholder-shown) + .floating-label,
.modern-select:focus + .floating-label,
.modern-select:not([value=""]) + .floating-label,
.modern-date:focus + .floating-label,
.modern-date:not(:placeholder-shown) + .floating-label {
    top: -12px;
    left: 10px;
    font-size: 0.92em;
    color: var(--btn-bg);
    background: #fff;
    padding: 0 4px;
    border-radius: 4px;
}

/* Card containers and containment */
.step1-container, .step2-container {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(30,115,190,0.10);
    padding: 36px 24px 28px 24px;
    overflow: hidden;
    position: relative;
}
.step2-container {
    max-width: 1100px;
}
.bin-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.addons-options, .placement-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}
@media (min-width: 600px) {
    .bin-options, .addons-options {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    .placement-options {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
.bin-option, .addon-option, .placement-option {
    background: #fff;
    border: 2px solid #e3e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,115,190,0.06);
    padding: 22px 18px 18px 18px;
    margin-bottom: 0;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    min-width: 0;
    min-height: 120px;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1em;
}
.bin-option.selected, .addon-option.selected, .placement-option.selected {
    border-color: var(--btn-bg);
    background: var(--primary-light);
    box-shadow: 0 4px 18px rgba(30,115,190,0.13);
}
.bin-option:hover, .addon-option:hover, .placement-option:hover {
    border-color: var(--btn-bg-hover);
    background: var(--primary-light);
}

/* Responsive fix for overflow */
@media (max-width: 600px) {
    .step1-container, .step2-container {
        padding: 12px 4vw 16px 4vw;
        max-width: 100vw;
    }
    .bin-options {
        grid-template-columns: 1fr;
        gap: 12px;
        grid-auto-rows: auto; /* Allow natural heights on mobile */
        align-items: start; /* Align to start instead of stretch */
    }
    .addons-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: auto; /* Allow natural heights on mobile */
        align-items: start; /* Align to start instead of stretch */
    }
    .placement-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: 1fr; /* Keep equal heights for placement options */
        align-items: stretch; /* Stretch to fill grid cells */
    }
    .bin-option, .addon-option {
        min-height: 100px;
        padding: 12px 8px 10px 8px;
        height: auto; /* Allow natural height on mobile */
    }
    .placement-option {
        min-height: 100px;
        padding: 12px 8px 10px 8px;
        height: 100%; /* Keep full height for equal sizing */
    }
    .bin-option.card {
        height: auto !important; /* Override height: 100% on mobile */
    }
    /* Ensure placement option titles have consistent height */
    .placement-option .option-content .title {
        min-height: 2.5em; /* Fixed minimum height for titles */
        display: flex;
        align-items: flex-start; /* Align text to top */
        justify-content: center;
    }
}

/* Universal box-sizing fix for all form fields */
.step1-container input,
.step1-container select,
.step2-container input,
.step2-container select,
.form-group input,
.form-group select {
    box-sizing: border-box !important;
    max-width: 100%;
}

/* Modern input/select/date width fix */
.modern-input,
.modern-select,
.modern-date {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box !important;
}

/* Modern card style for options */
.bin-option, .addon-option, .placement-option {
    background: linear-gradient(135deg, #fafdff 60%, #f3f7fa 100%);
    border: 1.5px solid #e3e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(30,115,190,0.07);
    padding: 22px 18px 18px 18px;
    margin-bottom: 0;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    min-width: 0;
    min-height: 120px;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    overflow: hidden;
}
.bin-option.selected, .addon-option.selected, .placement-option.selected {
    border-color: var(--btn-bg);
    background: linear-gradient(135deg, #eaf6ff 60%, #f0f7ff 100%);
    box-shadow: 0 4px 18px rgba(30,115,190,0.13);
}

/* Custom radio/checkbox modern look */
.custom-radio, .custom-checkbox {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 16px;
    border-radius: 50%;
    border: 2.5px solid #b5c7d3;
    background: #fff;
    position: relative;
    vertical-align: middle;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}
.custom-checkbox {
    border-radius: 8px;
}
.bin-option input[type="radio"],
.placement-option input[type="radio"],
.addon-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bin-option input[type="radio"]:checked + .custom-radio,
.placement-option input[type="radio"]:checked + .custom-radio {
    border-color: var(--btn-bg);
    background: radial-gradient(circle at 50% 50%, var(--btn-bg) 60%, #fff 61%);
    box-shadow: 0 0 0 5px #e3f0ff;
}
.addon-option input[type="checkbox"]:checked + .custom-checkbox {
    border-color: var(--btn-bg);
    background: var(--btn-bg);
    box-shadow: 0 0 0 5px #e3f0ff;
}
.addon-option input[type="checkbox"]:checked + .custom-checkbox:after {
    content: '\2714';
    color: #fff;
    font-size: 1.3em;
    position: absolute;
    left: 4px;
    top: 0px;
}

/* Flatpickr theme for modern date fields */
.flatpickr-calendar {
    border-radius: 12px !important;
    box-shadow: 0 4px 24px rgba(30,115,190,0.13) !important;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background: var(--btn-bg) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
.flatpickr-day.today {
    border-color: var(--btn-bg) !important;
}

/* Remove legacy input width rules */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
    width: unset;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box !important;
}

/* --- Flatpickr Disabled Dates Styling --- */
.flatpickr-day.disabled, .flatpickr-day.flatpickr-disabled {
    background: #f2f2f2 !important;
    color: #bbb !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border-radius: 8px !important;
    text-decoration: line-through;
}

/* Font Awesome icon sizing and alignment */
.fa, .fa-solid, .fa-regular, .fa-arrow-right, .fa-location-dot, .fa-recycle, .fa-calendar-days, .fa-calendar-check, .fa-house, .fa-tree, .fa-car, .fa-road {
  font-size: 1.15em;
  vertical-align: middle;
  /* margin-right: 0.35em; */
  color: var(--btn-bg);
  line-height: 1;
}

/* Placement icon larger */
.placement-option .icon .fa {
  font-size: 1.7em;
  margin-right: 0;
  margin-bottom: 0.2em;
}

/* Remove legacy emoji/icon styles */
.skip-booking-step-1 label .fa,
.floating-label .fa {
  margin-right: 0.5em;
}











/* Admin Orders Filter Styling */
.skip-booking-admin-filter {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.skip-booking-admin-filter h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: 600;
    color: #23282d;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.skip-booking-admin-filter .filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skip-booking-admin-filter .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skip-booking-admin-filter label {
    font-weight: 600;
    color: #23282d;
    font-size: 13px;
    min-width: 80px;
}

.skip-booking-admin-filter select,
.skip-booking-admin-filter input[type="date"] {
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 6px 10px;
    font-size: 13px;
    background: #fff;
    min-width: 140px;
}

.skip-booking-admin-filter select:focus,
.skip-booking-admin-filter input[type="date"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

.skip-booking-admin-filter .filter-button {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.skip-booking-admin-filter .filter-button:hover {
    background: #005a87;
}

.skip-booking-admin-filter .clear-filters {
    background: #f7f7f7;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 7px 12px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.skip-booking-admin-filter .clear-filters:hover {
    background: #eee;
    color: #333;
}

/* Booking Status Column Styling */
.column-booking_status {
    width: 120px;
}

.booking-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-status-badge.booking {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.booking-status-badge.regular {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.booking-dates {
    margin-top: 4px;
    font-size: 10px;
    color: #666;
    line-height: 1.3;
}

/* Responsive Design for Admin Filter */
@media (max-width: 1200px) {
    .skip-booking-admin-filter .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .skip-booking-admin-filter .filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .skip-booking-admin-filter select,
    .skip-booking-admin-filter input[type="date"] {
        min-width: 200px;
    }
}

@media (max-width: 782px) {
    .skip-booking-admin-filter {
        padding: 10px;
    }
    
    .skip-booking-admin-filter .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .skip-booking-admin-filter select,
    .skip-booking-admin-filter input[type="date"] {
        min-width: 100%;
        width: 100%;
    }
    
    .column-booking_status {
        display: none;
    }
}

/* Enhanced Filter Container */
.skip-booking-filter-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.skip-booking-filter-container::before {
    content: 'ðŸ”';
    font-size: 16px;
    margin-right: 8px;
}

.skip-booking-filter-container h3 {
    display: inline-block;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

/* Filter Results Summary */
.skip-booking-filter-summary {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 13px;
    color: #0056b3;
}

.skip-booking-filter-summary strong {
    color: #003d82;
}

/* Quick Filter Buttons */
.skip-booking-quick-filters {
    margin: 10px 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.skip-booking-quick-filter-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.skip-booking-quick-filter-btn:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

.skip-booking-quick-filter-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Consistent border-radius for all booking form input fields */

.skip-booking-step input,
.skip-booking-step select,
.skip-booking-step textarea,
.step1-container input,
.step1-container select,
.step1-container textarea,
.step2-container input,
.step2-container select,
.step2-container textarea,
.step3-container input,
.step3-container select,
.step3-container textarea,
select#waste_type {
    border-radius: var(--btn-radius, 8px) !important;
}

/* Prohibited Material Modal Styles */
#skip-booking-prohibited-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30,34,40,0.45);
    align-items: center;
    justify-content: center;
    /* Flexbox centering */
    display: flex;
    overflow: hidden;
}
#skip-booking-prohibited-modal .prohibited-modal-content {
    background: #fff;
    max-width: 700px;
    width: 90vw;
    padding: 32px 24px 24px 24px;
    border-radius: var(--btn-radius,8px);
    box-shadow: 0 8px 32px rgba(30,34,40,0.18);
    margin: auto;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
#skip-booking-prohibited-modal .modal-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
#skip-booking-prohibited-modal .modal-close-btn:hover {
    color: #333;
    background: #f5f5f5;
}
#skip-booking-prohibited-modal .prohibited-warning-icon {
    font-size: 2.6em;
    color: #d63638;
    margin-bottom: 10px;
    display: block;
}
#skip-booking-prohibited-modal h2 {
    margin-top: 0;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--btn-bg);
    margin-bottom: 6px;
}
#skip-booking-prohibited-modal .prohibited-modal-subheading {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 8px;
}
#skip-booking-prohibited-modal ul#prohibited-materials-list {
    margin-bottom: 18px;
    padding-left: 0;
    color: #333;
    font-weight: 500;
    text-align: left;
    list-style: none;
    overflow: hidden;
}
#skip-booking-prohibited-modal ul#prohibited-materials-list li {
    position: relative;
    padding: 8px 0;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    word-wrap: break-word;
    display: flex;
    align-items: center;
}
#skip-booking-prohibited-modal ul#prohibited-materials-list li .prohibited-icon {
    display: inline-block;
    color: #d63638;
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Allowed items list styling */
ul#allowed-materials-list {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#skip-booking-prohibited-modal ul#allowed-materials-list {
    margin-bottom: 18px;
    padding-left: 0;
    color: #333;
    font-weight: 500;
    text-align: left;
    list-style: none;
    overflow: hidden;
}

#skip-booking-prohibited-modal ul#allowed-materials-list li {
    position: relative;
    padding: 8px 0;
    color: #333;
    font-weight: 500;
    overflow: hidden;
    word-wrap: break-word;
    display: flex;
    align-items: center;
}

#skip-booking-prohibited-modal ul#allowed-materials-list li .allowed-icon {
    display: inline-block;
    color: #00a32a;
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Side-by-side table layout */
#skip-booking-prohibited-modal .waste-guidelines-table {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

#skip-booking-prohibited-modal .prohibited-section,
#skip-booking-prohibited-modal .allowed-section {
    text-align: left;
    width: 47%;
    /* flex: 0 0 50%; */
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
}

#skip-booking-prohibited-modal .prohibited-section h3,
#skip-booking-prohibited-modal .allowed-section h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid;
}

#skip-booking-prohibited-modal .prohibited-section h3 {
    border-bottom-color: #d63638;
}

#skip-booking-prohibited-modal .allowed-section h3 {
    border-bottom-color: #00a32a;
}

/* Remove borders and styling for single section */
#skip-booking-prohibited-modal.single-section .prohibited-section h3,
#skip-booking-prohibited-modal.single-section .allowed-section h3 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 10px !important;
}

/* Force hide headings in single section mode */
#skip-booking-prohibited-modal.single-section .prohibited-heading,
#skip-booking-prohibited-modal.single-section .allowed-heading {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Alternative approach: Hide headings when only one section has content */
#skip-booking-prohibited-modal .waste-guidelines-table:has(.prohibited-section:only-child) .prohibited-heading,
#skip-booking-prohibited-modal .waste-guidelines-table:has(.allowed-section:only-child) .allowed-heading {
    display: none !important;
}

/* Force hide headings when allowed section is hidden */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] + .prohibited-section .prohibited-heading,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] + .allowed-section .allowed-heading {
    display: none !important;
}

/* Direct approach: Hide prohibited heading when allowed section is hidden */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section .prohibited-heading {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Direct approach: Hide allowed heading when prohibited section is hidden */
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section .allowed-heading {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force full width when only one section is visible */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section {
    width: 100% !important;
    flex: none !important;
    display: block !important;
    text-align: center !important;
}

/* Reduce popup width when only one section is visible */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section {
    /* This will trigger the narrow popup */
}

/* Simple and reliable: Reduce popup width when only one section is visible */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content {
    max-width: 480px !important;
    width: 90% !important;
}

/* Alternative: Reduce popup width when only allowed section is visible */
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section ~ .prohibited-modal-content {
    max-width: 480px !important;
    width: 90% !important;
}

/* Direct approach: Target the modal content when guidelines table has hidden allowed section */
#skip-booking-prohibited-modal .waste-guidelines-table:has(.allowed-section[style*="display: none"]) {
    /* This will trigger the narrow popup */
}

/* Most reliable: Use :has() selector to detect hidden allowed section and target parent modal content */
#skip-booking-prohibited-modal:has(.waste-guidelines-table .allowed-section[style*="display: none"]) .prohibited-modal-content {
    max-width: 480px !important;
    width: 90% !important;
}

/* Alternative: Target modal content when prohibited section is the only visible one */
#skip-booking-prohibited-modal:has(.waste-guidelines-table .prohibited-section:only-child) .prohibited-modal-content {
    max-width: 480px !important;
    width: 90% !important;
}

/* Universal approach: Override the default 700px width when only one section is visible */
#skip-booking-prohibited-modal .prohibited-modal-content {
    max-width: 700px; /* Default width */
}

/* When allowed section is hidden, reduce the modal width */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section ~ .prohibited-modal-content {
    max-width: 480px !important;
}

/* Simple and direct: Override the 700px width with !important when needed */
#skip-booking-prohibited-modal .prohibited-modal-content.single-section {
    max-width: 480px !important;
}

/* Alternative: Use a more specific selector to override the 700px */
#skip-booking-prohibited-modal .waste-guidelines-table:has(.allowed-section[style*="display: none"]) ~ .prohibited-modal-content,
#skip-booking-prohibited-modal .waste-guidelines-table:has(.prohibited-section[style*="display: none"]) ~ .prohibited-modal-content {
    max-width: 480px !important;
}

/* Most specific selector to override the 700px width */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section ~ .prohibited-modal-content {
    max-width: 480px !important;
}

/* Ultimate override: Use the most specific selector possible */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content {
    max-width: 480px !important;
    width: 90% !important;
}

/* Simple and direct: Override the 700px width with maximum specificity */
#skip-booking-prohibited-modal .prohibited-modal-content {
    max-width: 700px; /* Default */
}

/* When only prohibited items are shown, make it narrower */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content {
    max-width: 480px !important;
}

/* Alternative: Use a more direct approach with higher specificity */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content {
    max-width: 480px !important;
}

/* Additional styling for narrow popup */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ~ .prohibited-modal-content,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section ~ .prohibited-modal-content {
    /* Center the narrow popup */
    margin: 0 auto !important;
    /* Add some padding for better spacing */
    padding: 20px !important;
    /* Smooth transition for width change */
    transition: max-width 0.3s ease !important;
}

/* Ensure JavaScript width setting takes precedence */
#skip-booking-prohibited-modal .prohibited-modal-content {
    transition: max-width 0.3s ease !important;
}

/* Admin styling for waste type pricing cards */
.waste-type-pricing-container {
    margin-top: 20px;
}

.waste-type-pricing-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.waste-type-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.waste-type-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.waste-type-description {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

.waste-type-products {
    padding: 20px;
}

.product-pricing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 12px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.product-pricing-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.product-pricing-item:last-child {
    margin-bottom: 0;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 4px;
}

.product-default-price {
    color: #666;
    font-size: 0.9em;
}

.product-custom-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.product-custom-price label {
    font-weight: 500;
    color: #555;
    font-size: 0.9em;
}

.product-custom-price input[type="text"] {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.product-custom-price input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.product-custom-price input[type="text"]::placeholder {
    color: #999;
}

.waste-type-pricing-instructions {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.waste-type-pricing-instructions h4 {
    margin: 0 0 16px 0;
    color: #495057;
    font-size: 1.2em;
}

.waste-type-pricing-instructions ul {
    margin: 0;
    padding-left: 20px;
}

.waste-type-pricing-instructions li {
    margin-bottom: 8px;
    color: #6c757d;
    line-height: 1.5;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .product-pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .product-custom-price {
        align-items: flex-start;
        width: 100%;
    }
    
    .product-custom-price input[type="text"] {
        width: 100%;
        max-width: 200px;
    }
}

/* Waste Type Display Options Styling */
.waste-type-display-options-container {
    margin-top: 20px;
}

.waste-type-display-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.waste-type-display-option-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.waste-type-display-header h4 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 8px;
}

.display-option-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.display-option-checkbox:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.display-option-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.display-option-checkbox span.checkmark {
    color: #495057;
    font-weight: 500;
}

.waste-type-display-instructions {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.waste-type-display-instructions h4 {
    margin: 0 0 16px 0;
    color: #495057;
    font-size: 1.2em;
}

.waste-type-display-instructions ul {
    margin: 0;
    padding-left: 20px;
}

.waste-type-display-instructions li {
    margin-bottom: 8px;
    color: #6c757d;
    line-height: 1.5;
}

/* Center the content when only one section is visible */
#skip-booking-prohibited-modal .waste-guidelines-table .allowed-section[style*="display: none"] ~ .prohibited-section ul,
#skip-booking-prohibited-modal .waste-guidelines-table .prohibited-section[style*="display: none"] ~ .allowed-section ul {
    text-align: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Conditional styling for single vs two sections */
#skip-booking-prohibited-modal.single-section .waste-guidelines-table {
    display: block !important;
    gap: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

#skip-booking-prohibited-modal.single-section .prohibited-section,
#skip-booking-prohibited-modal.single-section .allowed-section {
    width: 100% !important;
    flex: none !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    float: none !important;
    display: block !important;
}

#skip-booking-prohibited-modal.single-section .prohibited-section h3,
#skip-booking-prohibited-modal.single-section .allowed-section h3 {
    display: none; /* Hide headings completely for single section */
}

#skip-booking-prohibited-modal.single-section .prohibited-section ul,
#skip-booking-prohibited-modal.single-section .allowed-section ul {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#skip-booking-prohibited-modal.single-section .prohibited-section li,
#skip-booking-prohibited-modal.single-section .allowed-section li {
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

/* Center the icons in single section mode */
#skip-booking-prohibited-modal.single-section .prohibited-section li .prohibited-icon,
#skip-booking-prohibited-modal.single-section .allowed-section li .allowed-icon {
    margin: 0 auto 0 0;
}

/* Reduce modal width for single section */
#skip-booking-prohibited-modal.single-section .prohibited-modal-content {
    max-width: 500px;
    width: 90vw;
}

#skip-booking-prohibited-modal.two-sections .prohibited-modal-content {
    max-width: 800px;
    width: 90vw;
}

/* Mobile responsive for side-by-side layout */
@media (max-width: 768px) {
    #skip-booking-prohibited-modal .waste-guidelines-table {
        flex-direction: column;
        gap: 10px;
    }

    #skip-booking-prohibited-modal .prohibited-section h3 {
        margin-top: 0 !important;
    }
    
    #skip-booking-prohibited-modal .prohibited-section,
    #skip-booking-prohibited-modal .allowed-section {
        width: 100%;
        flex: 0 0 100%;
    }
    
    #skip-booking-prohibited-modal .prohibited-modal-content {
        max-width: 95vw;
        max-height: 80vh;
        padding: 24px 16px 20px 16px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    #skip-booking-prohibited-modal {
        align-items: flex-start;
        padding: 20px 0;
    }
    
    /* Ensure content doesn't overflow on mobile */
    #skip-booking-prohibited-modal .waste-guidelines-table {
        min-height: auto;
        overflow: visible;
    }
}

#skip-booking-prohibited-modal .prohibited-modal-terms {
    margin-bottom: 18px;
    font-size: 1em;
}
#skip-booking-prohibited-modal .prohibited-modal-terms a {
    color: var(--btn-bg);
    font-weight: 600;
    text-decoration: underline;
}
#skip-booking-prohibited-modal #prohibited-agree-btn {
    width: 100%;
    margin: 0 auto;
}

/* --- SKIP BIN BOOKING PLUGIN BUTTON STYLES (OVERRIDE) --- */
.btn,
.btn-next,
.btn-prev,
.btn-select-addon,
.btn-select-bin {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    border: none !important;
    border-radius: var(--btn-radius, 8px) !important;
    font-size: var(--btn-font-size, 1em) !important;
    font-weight: var(--btn-font-weight, 600) !important;
    padding: 12px 28px !important;
    cursor: pointer !important;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 6px 0 0;
    display: inline-block;
}
.btn:hover,
.btn-next:hover,
.btn-prev:hover,
.btn-select-addon:hover,
.btn-select-bin:hover {
    background: var(--btn-bg-hover) !important;
    color: var(--btn-text) !important;
    box-shadow: 0 2px 8px rgba(30,115,190,0.08) !important;
}
.btn:active,
.btn-next:active,
.btn-prev:active,
.btn-select-addon:active,
.btn-select-bin:active {
    background: var(--btn-bg-hover) !important;
    color: var(--btn-text) !important;
    box-shadow: 0 1px 4px rgba(30,115,190,0.10) !important;
}
.btn-select-addon.selected,
.btn-select-bin.selected {
    background: var(--btn-bg-hover) !important;
    color: var(--btn-text) !important;
    border: 2px solid var(--btn-bg) !important;
}
/* Remove theme/Elementor overrides */
.skip-booking-step button,
.skip-booking-step .btn,
.skip-booking-step .btn-next,
.skip-booking-step .btn-prev,
.skip-booking-step .btn-select-addon,
.skip-booking-step .btn-select-bin {
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    border-radius: var(--btn-radius, 8px) !important;
    font-size: var(--btn-font-size, 1em) !important;
    font-weight: var(--btn-font-weight, 600) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.bin-options {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Increase Addon and Placement image sizes */
.addon-card-img img,
.bin-card-img img {
    min-width: 300px !important;
    height: auto !important;
    object-fit: contain;
    width: 300px !important;
    margin: 0 auto;
    display: block;
}

.placement-option .icon img {
    object-fit: contain;
    margin: 0 auto;
    width: 100% !important;
    display: block;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    /* Stack Previous and Next buttons vertically on mobile */
    .form-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }
    
    .skip-booking-step button.btn-next,
    .skip-booking-step button.btn-prev,
    .step1-container button.btn-next,
    .step1-container button.btn-prev,
    .step2-container button.btn-next,
    .step2-container button.btn-prev,
    .step3-container button.btn-next,
    .step3-container button.btn-prev,
    .step4-container button.btn-next,
    .step4-container button.btn-prev {
        /* width: 100% !important; */
        margin: 0 !important;
        min-width: auto !important;
        order: 1;
    }
    
    /* Ensure Previous button appears first when stacked */
    .form-actions button.btn-prev {
        order: 0;
    }
    
    /* Reduce heading sizes for mobile */
    .skip-booking-step h2,
    .step1-container h2,
    .step2-container h2,
    .step3-container h2,
    .step4-container h2 {
        font-size: 1.4em !important;
        margin-bottom: 16px !important;
    }
    
    .skip-booking-step h3,
    .step1-container h3,
    .step2-container h3,
    .step3-container h3,
    .step4-container h3 {
        font-size: 1.1em !important;
        margin-bottom: 12px !important;
    }
    
    /* Hide progress bar text labels on mobile, keep only icons and lines */
    .skip-booking-progress li p {
        display: none !important;
    }
    
    /* Adjust progress bar for mobile without text */
    .skip-booking-progress li .step-circle {
        margin-bottom: 0 !important;
    }
    
    /* Adjust progress bar spacing without text labels */
    .skip-booking-progress {
        padding: 0 0 16px 0 !important;
        margin-bottom: 24px !important;
    }
    
    /* Ensure progress line still connects properly */
    .skip-booking-progress ul:before,
    .skip-booking-progress ul:after {
        left: 12.5% !important;
        right: 12.5% !important;
    }
}

.skip-booking-step-1 label {
    z-index: 1;
}

.skip-booking-step h3 {
    font-size: 22px;
}

/* Mobile-specific addon card styling */
@media (max-width: 768px) {
    .addon-card-img img {
        height: 82px !important;
        margin: -14px 0px;
    }

    .addon-option.card {
        row-gap: 7px;
    }

    .skip-booking-step button, .skip-booking-step .btn, .skip-booking-step .btn-next, .skip-booking-step .btn-prev, .skip-booking-step .btn-select-bin {
        width: 100%;
    }

    .addon-card-price {
        margin-top: -9px;
    }
    
    /* Mobile quantity controls - larger touch targets */
    .qty-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
        line-height: 1 !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        vertical-align: middle !important;
    }
    
    .addon-qty {
        width: 55px !important;
        height: 36px !important;
        font-size: 16px !important;
        padding: 0 8px !important;
    }
    
    .custom-qty-wrapper {
        gap: 6px !important;
        margin-bottom: 12px !important;
    }
    
    .btn-select-addon {
        padding: 10px 16px !important;
        font-size: 15px !important;
    }
}

.skip-booking-step-1 label {
    z-index: 1;
}

.skip-booking-step h3 {
    font-size: 22px;
}

/* Custom quantity controls for all devices */
.custom-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
    justify-content: center;
    width: 100%;
}

.qty-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    width: 25%;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
    vertical-align: middle;
}

.qty-btn:hover:not(:disabled) {
    background: #e0e0e0;
    border-color: #aaa;
}

.qty-btn:active:not(:disabled) {
    background: #d0d0d0;
    transform: scale(0.95);
}

.qty-btn:disabled {
    background: #f8f8f8;
    color: #ccc;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.addon-qty {
    width: 50% !important;
    height: 32px !important;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    flex-shrink: 0;
}

/* Hide native spinner arrows */
.addon-qty::-webkit-outer-spin-button,
.addon-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Addon card row layout */
.addon-card-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Select button styling */
.btn-select-addon {
    width: 100% !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    transition: all 0.2s !important;
}

.qty-btn {
    /* Existing flex centering */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Enhanced centering */
    line-height: 1;           /* Removes extra line height */
    padding: 0;               /* No padding interference */
    margin: 0;                /* No margin interference */
    text-align: center;       /* Additional horizontal centering */
    vertical-align: middle;   /* Additional vertical centering */
}

@media screen and (max-width: 768px){
    .skip-booking-thankyou-info {
        width: 100% !important;
    }
}

/* ===== ADDRESS UPDATE MESSAGE STYLING ===== */

.skip-address-update-message {
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skip-address-update-message:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.skip-address-update-message.success {
    border-left: 4px solid #00a32a;
}

.skip-address-update-message.error {
    border-left: 4px solid #d63638;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.placement-option {
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.addon-card-img {
    text-align: center;
}

.placement-option label {
    width: 100% !important;
}

/* Service check shortcode layout */
.skip-bin-service-check {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 16px auto;
}

.skip-bin-service-check-form {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

.skip-bin-service-check-input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    border: 1.5px solid var(--input-border);
    border-right: 0;
    border-radius: var(--btn-radius, 8px) 0 0 var(--btn-radius, 8px);
    font-size: var(--btn-font-size, 1em) !important;
    font-weight: var(--btn-font-weight, 600) !important;
    color: var(--text);
    background: var(--input-bg);
    padding: 14px 16px;
}

.skip-bin-service-check-input:focus {
    outline: none;
    border-color: var(--btn-bg);
    box-shadow: none;
}

.skip-bin-service-check-submit {
    flex: 0 0 auto;
    white-space: nowrap;
    margin: 0 !important;
    border: 1.5px solid var(--btn-bg) !important;
    border-left: 0 !important;
    border-radius: 0 var(--btn-radius, 8px) var(--btn-radius, 8px) 0 !important;
    background: var(--btn-bg) !important;
    color: var(--btn-text) !important;
    font-size: var(--btn-font-size, 1em) !important;
    font-weight: var(--btn-font-weight, 600) !important;
    padding: 0 18px !important;
}

.skip-bin-service-check-submit:hover {
    background: var(--btn-bg-hover) !important;
    border-color: var(--btn-bg-hover) !important;
}

.skip-bin-service-check-submit:disabled,
.skip-bin-service-check-submit.is-checking {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .skip-bin-service-check-form {
        flex-direction: column;
        align-items: stretch;
    }

    .skip-bin-service-check-input {
        border-right: 1.5px solid var(--input-border);
        border-radius: var(--btn-radius, 8px);
    }

    .skip-bin-service-check-submit {
        width: 100%;
        border-left: 1.5px solid var(--btn-bg) !important;
        border-radius: var(--btn-radius, 8px) !important;
        padding: 12px 16px !important;
        margin-top: 8px !important;
    }
}