/**
 * Collect Books - Public Styles
 * Responsive booking form styles
 */

/* ================================
   Base Styles
   ================================ */

.cb-booking-form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

/* ================================
   Avada Off Canvas Optimization
   ================================ */

/* Off-Canvas Avada - Collect Books Form */
.awb-off-canvas {
    background: #ffffff !important;
}

.awb-off-canvas-inner {
    padding: 30px !important;
}

/* Ensure close button is visible at top */
.awb-off-canvas-wrap .awb-off-canvas-close,
.awb-off-canvas .awb-off-canvas-close {
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Form wrapper */
.awb-off-canvas .cb-booking-form-wrapper {
    font-family: inherit;
    max-width: 100%;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.awb-off-canvas .cb-booking-form {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.awb-off-canvas .cb-form-title {
    color: #1CD861;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

/* Fieldsets */
.awb-off-canvas .cb-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fafafa;
}

.awb-off-canvas .cb-fieldset legend {
    color: #1CD861;
    font-weight: 600;
    font-size: 16px;
    padding: 0 10px;
    border: none;
    margin-bottom: 0;
}

/* Form rows */
.awb-off-canvas .cb-form-row {
    margin-bottom: 15px;
}

.awb-off-canvas .cb-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.awb-off-canvas .cb-required {
    color: #1CD861;
}

/* Inputs */
.awb-off-canvas input[type="text"],
.awb-off-canvas input[type="email"],
.awb-off-canvas input[type="tel"],
.awb-off-canvas input[type="number"],
.awb-off-canvas input[type="date"],
.awb-off-canvas select,
.awb-off-canvas textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    background: #fff !important;
}

.awb-off-canvas input:focus,
.awb-off-canvas select:focus,
.awb-off-canvas textarea:focus {
    border-color: #1CD861 !important;
    box-shadow: 0 0 0 3px rgba(28, 216, 97, 0.15) !important;
    outline: none !important;
}

/* Find Address button */
.awb-off-canvas .cb-find-address-btn {
    background: #1CD861 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: background 0.3s !important;
}

.awb-off-canvas .cb-find-address-btn:hover {
    background: #17b854 !important;
}

/* Postcode input group */
.awb-off-canvas .cb-postcode-input-group {
    display: flex;
    gap: 10px;
}

.awb-off-canvas .cb-postcode-input-group input {
    flex: 1;
}

/* Submit button */
.awb-off-canvas .cb-submit-btn {
    width: 100% !important;
    background: #1CD861 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.3s, transform 0.2s !important;
}

.awb-off-canvas .cb-submit-btn:hover {
    background: #17b854 !important;
    transform: translateY(-2px) !important;
}

/* Hints */
.awb-off-canvas .cb-search-hint,
.awb-off-canvas .description,
.awb-off-canvas .cb-date-hint {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Consent checkbox */
.awb-off-canvas .cb-consent-row {
    margin: 20px 0;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
}

/* Messages */
.awb-off-canvas .cb-messages {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
}

/* Address Select Dropdown Styling */
.awb-off-canvas .cb-address-select-row {
    margin-top: 15px;
    animation: cbFadeIn 0.3s ease;
}

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

.awb-off-canvas .cb-address-select {
    width: 100% !important;
    padding: 14px 40px 14px 15px !important;
    border: 2px solid #1CD861 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    background-color: #f8fff9 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231CD861' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.awb-off-canvas .cb-address-select:hover {
    border-color: #17b854 !important;
    background-color: #f0fff2 !important;
}

.awb-off-canvas .cb-address-select:focus {
    border-color: #1CD861 !important;
    box-shadow: 0 0 0 4px rgba(28, 216, 97, 0.15) !important;
    outline: none !important;
}

.awb-off-canvas .cb-address-select option {
    padding: 12px !important;
    font-size: 14px !important;
}

/* Label styling for address select */
.awb-off-canvas .cb-address-select-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #1CD861;
    font-weight: 600;
}

/* Addresses found counter */
.awb-off-canvas .cb-address-select option:first-child {
    color: #666;
    font-style: italic;
}

/* Success state after selection */
.awb-off-canvas .cb-address-select.selected {
    border-color: #1CD861 !important;
    background-color: #e8fff0 !important;
}

/* Date section styling */
.awb-off-canvas .cb-date-section {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.awb-off-canvas .cb-date-btn {
    border-color: #e0e0e0;
}

.awb-off-canvas .cb-date-btn:hover {
    border-color: #1CD861;
    background-color: #f0fff2;
}

.awb-off-canvas .cb-date-btn.active {
    border-color: #1CD861;
    background-color: #1CD861;
}

/* Confirmation styling */
.awb-off-canvas .cb-confirmation {
    padding: 20px;
}

.awb-off-canvas .cb-confirm-icon {
    background: #1CD861;
}

.awb-off-canvas .cb-confirm-header h3 {
    color: #1CD861;
}

/* Mobile Off Canvas - full width form */
@media screen and (max-width: 768px) {
    .awb-off-canvas-inner {
        padding: 20px !important;
    }

    .awb-off-canvas .cb-fieldset {
        padding: 15px;
    }

    .awb-off-canvas .cb-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .awb-off-canvas .cb-fieldset legend {
        font-size: 14px;
    }

    .awb-off-canvas .cb-postcode-input-group {
        flex-direction: column;
    }

    .awb-off-canvas .cb-find-address-btn {
        width: 100% !important;
    }
}

.cb-form-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 25px;
    color: #1a1a1a;
    text-align: center;
}

.cb-booking-form {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ================================
   Fieldset Styles
   ================================ */

.cb-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px;
}

.cb-fieldset:last-of-type {
    margin-bottom: 20px;
}

.cb-fieldset legend {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0073aa;
    padding: 0 0 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0073aa;
    width: 100%;
    display: block;
}

/* ================================
   Form Row Styles
   ================================ */

.cb-form-row {
    margin-bottom: 18px;
}

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

.cb-form-row label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.9375rem;
}

.cb-required {
    color: #dc3232;
    margin-left: 2px;
}

/* ================================
   Input Styles
   ================================ */

.cb-booking-form input[type="text"],
.cb-booking-form input[type="email"],
.cb-booking-form input[type="tel"],
.cb-booking-form select,
.cb-booking-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.cb-booking-form input[type="text"]:focus,
.cb-booking-form input[type="email"]:focus,
.cb-booking-form input[type="tel"]:focus,
.cb-booking-form select:focus,
.cb-booking-form textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.cb-booking-form input[readonly] {
    background-color: #f7f7f7;
    cursor: default;
}

.cb-booking-form input::placeholder,
.cb-booking-form textarea::placeholder {
    color: #999;
}

.cb-booking-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.cb-booking-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* ================================
   Postcode Search Styles
   ================================ */

.cb-postcode-search-row {
    margin-bottom: 20px;
}

.cb-postcode-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.cb-postcode-input-group input {
    flex: 1;
    max-width: 200px;
}

.cb-find-address-btn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.cb-find-address-btn:hover {
    background-color: #005a87;
}

.cb-find-address-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.cb-search-hint {
    display: block;
    font-size: 0.8125rem;
    color: #666;
    margin-top: 6px;
    font-style: italic;
}

/* ================================
   Address Select Dropdown
   ================================ */

.cb-address-select-row {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f7fc;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
}

.cb-address-select {
    width: 100%;
}

.cb-loading-addresses {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 0.875rem;
    padding: 10px 0;
}

.cb-spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: cb-spin 0.8s linear infinite;
    margin-right: 8px;
}

/* ================================
   Google Places Autocomplete Dropdown
   ================================ */

/* Ensure Google Places dropdown is visible above Off Canvas and other overlays */
.pac-container {
    z-index: 999999 !important;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: inherit;
}

.pac-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-selected {
    background-color: #e8f4fc;
}

.pac-icon {
    margin-right: 10px;
}

.pac-item-query {
    font-weight: 500;
    color: #333;
}

/* ================================
   Address Fields
   ================================ */

.cb-address-fields {
    padding-top: 10px;
    border-top: 1px dashed #ddd;
    margin-top: 15px;
}

/* ================================
   Zone & Date Section
   ================================ */

.cb-date-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.cb-zone-info {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.cb-zone-info .cb-zone-message {
    margin: 0;
    color: #155724;
    font-size: 0.9375rem;
}

.cb-no-zone-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 15px;
}

.cb-no-zone-warning p {
    margin: 0;
    color: #856404;
    font-size: 0.9375rem;
}

.cb-date-selection input[type="date"] {
    width: 100%;
    max-width: 250px;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cb-date-selection input[type="date"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.cb-date-hint {
    font-size: 0.8125rem;
    color: #666;
    margin-top: 6px;
    font-style: italic;
}

/* Date Selector (Visual Picker) */
.cb-date-selector {
    margin-top: 10px;
}

.cb-date-month {
    margin-bottom: 20px;
}

.cb-date-month:last-child {
    margin-bottom: 0;
}

.cb-month-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.cb-date-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cb-date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cb-date-btn:hover {
    border-color: #0073aa;
    background-color: #f0f7fc;
}

.cb-date-btn.active {
    border-color: #0073aa;
    background-color: #0073aa;
    color: #fff;
}

.cb-date-btn .cb-date-day {
    font-size: 0.6875rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cb-date-btn .cb-date-num {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.cb-date-btn.active .cb-date-day,
.cb-date-btn.active .cb-date-num {
    color: #fff;
}

.cb-no-dates {
    color: #856404;
    background: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    margin: 0;
}

/* ================================
   Weight Input
   ================================ */

.cb-weight-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-weight-input-group input[type="number"] {
    width: 100%;
    max-width: 150px;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cb-weight-input-group input[type="number"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

.cb-weight-suffix {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.cb-form-row .description {
    font-size: 0.8125rem;
    color: #666;
    margin-top: 6px;
    font-style: italic;
}

/* ================================
   Half Width Fields
   ================================ */

.cb-form-row-group {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.cb-form-row.cb-half {
    flex: 1;
    margin-bottom: 0;
}

.cb-postcode-row {
    max-width: 200px;
}

/* ================================
   Checkbox Styles
   ================================ */

.cb-checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cb-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.cb-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 10px 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.cb-checkbox-label {
    font-weight: normal;
    line-height: 1.4;
}

/* ================================
   Consent Checkbox
   ================================ */

.cb-consent-row {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cb-consent-checkbox {
    align-items: flex-start;
}

.cb-consent-checkbox .cb-checkbox-label {
    font-size: 0.875rem;
    color: #555;
}

.cb-consent-checkbox .cb-checkbox-label a {
    color: #0073aa;
    text-decoration: underline;
}

.cb-consent-checkbox .cb-checkbox-label a:hover {
    color: #005177;
}

/* ================================
   Error Styles
   ================================ */

.cb-booking-form input.cb-error,
.cb-booking-form select.cb-error,
.cb-booking-form textarea.cb-error {
    border-color: #dc3232;
    background-color: #fff8f8;
}

.cb-booking-form input.cb-error:focus,
.cb-booking-form select.cb-error:focus,
.cb-booking-form textarea.cb-error:focus {
    box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.15);
}

.cb-field-error {
    display: block;
    color: #dc3232;
    font-size: 0.8125rem;
    margin-top: 5px;
}

/* ================================
   Submit Button
   ================================ */

.cb-submit-row {
    text-align: center;
    margin-top: 25px;
}

.cb-submit-btn {
    display: inline-block;
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-width: 200px;
}

.cb-submit-btn:hover {
    background-color: #005a87;
}

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

.cb-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ================================
   Loading State
   ================================ */

.cb-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    color: #666;
}

.cb-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: cb-spin 0.8s linear infinite;
    margin-right: 10px;
}

@keyframes cb-spin {
    to {
        transform: rotate(360deg);
    }
}

.cb-loading-text {
    font-size: 0.9375rem;
}

/* ================================
   Messages
   ================================ */

.cb-messages {
    margin-top: 20px;
}

.cb-message {
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cb-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.cb-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* ================================
   Responsive Styles
   ================================ */

@media screen and (max-width: 768px) {
    .cb-booking-form-wrapper {
        padding: 15px;
    }

    .cb-booking-form {
        padding: 20px;
    }

    .cb-form-title {
        font-size: 1.5rem;
    }

    .cb-fieldset legend {
        font-size: 1rem;
    }

    .cb-form-row-group {
        flex-direction: column;
        gap: 18px;
    }

    .cb-form-row.cb-half {
        width: 100%;
    }

    .cb-postcode-row {
        max-width: 100%;
    }

    .cb-postcode-input-group {
        flex-direction: column;
    }

    .cb-postcode-input-group input {
        max-width: 100%;
    }

    .cb-find-address-btn {
        width: 100%;
    }

    .cb-checkbox-group {
        grid-template-columns: 1fr;
    }

    .cb-submit-btn {
        width: 100%;
        padding: 16px 20px;
    }
}

@media screen and (max-width: 480px) {
    .cb-booking-form-wrapper {
        padding: 10px;
    }

    .cb-booking-form {
        padding: 15px;
        border-radius: 4px;
    }

    .cb-form-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .cb-fieldset {
        margin-bottom: 25px;
    }

    .cb-fieldset legend {
        font-size: 0.9375rem;
        margin-bottom: 15px;
    }

    .cb-booking-form input[type="text"],
    .cb-booking-form input[type="email"],
    .cb-booking-form input[type="tel"],
    .cb-booking-form select,
    .cb-booking-form textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .cb-consent-row {
        padding: 12px;
    }

    .cb-consent-checkbox .cb-checkbox-label {
        font-size: 0.8125rem;
    }
}

/* ================================
   Print Styles
   ================================ */

@media print {
    .cb-booking-form-wrapper {
        max-width: 100%;
        padding: 0;
    }

    .cb-booking-form {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .cb-submit-row,
    .cb-loading,
    .cb-messages {
        display: none;
    }
}

/* ================================
   High Contrast / Accessibility
   ================================ */

@media (prefers-contrast: high) {
    .cb-booking-form {
        border-width: 2px;
    }

    .cb-booking-form input,
    .cb-booking-form select,
    .cb-booking-form textarea {
        border-width: 2px;
    }

    .cb-submit-btn {
        border: 2px solid #000;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cb-spinner {
        animation: none;
    }

    .cb-booking-form input,
    .cb-booking-form select,
    .cb-booking-form textarea,
    .cb-submit-btn {
        transition: none;
    }
}

/* ================================
   Booking Confirmation Message
   ================================ */

.cb-confirmation {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.cb-confirm-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cb-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
}

.cb-confirm-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #166534;
}

.cb-confirm-main {
    font-size: 1.125rem;
    color: #333;
    margin: 0 0 20px;
}

.cb-confirm-ref {
    font-size: 1rem;
    color: #166534;
    background: rgba(34, 197, 94, 0.15);
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    margin: 0 0 20px;
}

.cb-confirm-details {
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0 0 20px;
    text-align: left;
}

.cb-confirm-details p {
    margin: 8px 0;
    color: #333;
}

.cb-confirm-details p:first-child {
    margin-top: 0;
}

.cb-confirm-details p:last-child {
    margin-bottom: 0;
}

.cb-confirm-contact {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.cb-confirm-contact p {
    margin: 10px 0;
    color: #333;
}

.cb-confirm-contact p:first-child {
    margin-top: 0;
    color: #166534;
}

.cb-confirm-contact .cb-icon {
    margin-right: 8px;
}

.cb-confirm-contact a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.cb-confirm-contact a:hover {
    text-decoration: underline;
}

.cb-confirm-terms {
    margin: 20px 0 0;
}

.cb-confirm-terms a {
    color: #666;
    text-decoration: underline;
    font-size: 0.875rem;
}

.cb-confirm-terms a:hover {
    color: #0073aa;
}

/* Responsive adjustments for confirmation */
@media (max-width: 480px) {
    .cb-confirmation {
        padding: 20px;
    }

    .cb-confirm-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .cb-confirm-header h3 {
        font-size: 1.5rem;
    }

    .cb-confirm-main {
        font-size: 1rem;
    }
}

/* ================================
   Collection Info Box (Simple)
   ================================ */

.cb-booking-form-wrapper .cb-collection-info {
    background: #f0f7fc !important;
    border: 1px solid #0073aa !important;
    border-left: 4px solid #0073aa !important;
    border-radius: 6px !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
}

.cb-booking-form-wrapper .cb-collection-info p {
    margin: 0 0 10px !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

.cb-booking-form-wrapper .cb-collection-info p:last-child {
    margin-bottom: 0 !important;
}

.cb-booking-form-wrapper .cb-collection-info strong {
    color: #0073aa !important;
}

/* Avada Off Canvas - Collection Info */
.awb-off-canvas .cb-collection-info {
    background: #f0fff4 !important;
    border-color: #1CD861 !important;
}

.awb-off-canvas .cb-collection-info strong {
    color: #1CD861 !important;
}

/* ================================
   Step Layout (Legacy)
   ================================ */

.cb-booking-form-wrapper .cb-step {
    margin-bottom: 25px !important;
}

.cb-booking-form-wrapper .cb-step-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
}

.cb-booking-form-wrapper .cb-step-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%) !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3) !important;
    line-height: 1 !important;
}

.cb-booking-form-wrapper .cb-step-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cb-booking-form-wrapper .cb-step-content {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

/* Info Grid */
.cb-booking-form-wrapper .cb-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

/* Info Cards */
.cb-booking-form-wrapper .cb-info-card {
    background: #fff !important;
    border-radius: 10px !important;
    padding: 20px !important;
    border: 1px solid #e8e8e8 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.cb-booking-form-wrapper .cb-info-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.cb-booking-form-wrapper .cb-info-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #e8e8e8 !important;
}

.cb-booking-form-wrapper .cb-info-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
}

.cb-booking-form-wrapper .cb-icon-accept {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    color: #16a34a !important;
}

.cb-booking-form-wrapper .cb-icon-requirements {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #d97706 !important;
}

.cb-booking-form-wrapper .cb-info-card-header h4 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    padding: 0 !important;
    border: none !important;
}

.cb-booking-form-wrapper .cb-info-accept .cb-info-card-header {
    border-bottom-color: #bbf7d0 !important;
}

.cb-booking-form-wrapper .cb-info-requirements .cb-info-card-header {
    border-bottom-color: #fde68a !important;
}

/* Info Lists */
.cb-booking-form-wrapper .cb-info-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.cb-booking-form-wrapper .cb-info-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 8px 0 !important;
    font-size: 0.9375rem !important;
    color: #444 !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    margin: 0 !important;
}

.cb-booking-form-wrapper .cb-info-list li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.cb-booking-form-wrapper .cb-info-list li:first-child {
    padding-top: 0 !important;
}

.cb-booking-form-wrapper .cb-info-list li::before {
    content: none !important;
}

.cb-booking-form-wrapper .cb-list-icon {
    font-size: 1.125rem !important;
    line-height: 1.4 !important;
    flex-shrink: 0 !important;
}

/* Requirements list style */
.cb-booking-form-wrapper .cb-info-list.cb-requirements li {
    position: relative !important;
    padding-left: 24px !important;
}

.cb-booking-form-wrapper .cb-info-list.cb-requirements li::before {
    content: "•" !important;
    position: absolute !important;
    left: 8px !important;
    color: #f59e0b !important;
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
}

/* Info Notice */
.cb-booking-form-wrapper .cb-info-notice {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px 18px !important;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%) !important;
    border: 1px solid #fcd34d !important;
    border-radius: 10px !important;
    border-left: 4px solid #f59e0b !important;
}

.cb-booking-form-wrapper .cb-notice-icon {
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    line-height: 1.4 !important;
}

.cb-booking-form-wrapper .cb-info-notice p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #92400e !important;
    line-height: 1.5 !important;
}

/* Step 2 - Form step */
.cb-booking-form-wrapper .cb-step-form {
    margin-bottom: 15px !important;
}

/* Avada Off Canvas - Steps */
.awb-off-canvas .cb-step-number {
    background: linear-gradient(135deg, #1CD861 0%, #17b854 100%) !important;
    box-shadow: 0 2px 8px rgba(28, 216, 97, 0.3) !important;
}

.awb-off-canvas .cb-icon-accept {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #1CD861 !important;
}

.awb-off-canvas .cb-info-accept .cb-info-card-header {
    border-bottom-color: #a7f3d0 !important;
}

/* Responsive - Steps */
@media screen and (max-width: 768px) {
    .cb-booking-form-wrapper .cb-info-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .cb-booking-form-wrapper .cb-step-content {
        padding: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    .cb-booking-form-wrapper .cb-step-header {
        gap: 10px !important;
    }

    .cb-booking-form-wrapper .cb-step-number {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 1rem !important;
    }

    .cb-booking-form-wrapper .cb-step-title {
        font-size: 1.0625rem !important;
    }

    .cb-booking-form-wrapper .cb-step-content {
        padding: 15px !important;
        border-radius: 10px !important;
    }

    .cb-booking-form-wrapper .cb-info-card {
        padding: 15px !important;
    }

    .cb-booking-form-wrapper .cb-info-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 1.125rem !important;
    }

    .cb-booking-form-wrapper .cb-info-card-header h4 {
        font-size: 0.9375rem !important;
    }

    .cb-booking-form-wrapper .cb-info-list li {
        font-size: 0.875rem !important;
        padding: 6px 0 !important;
    }

    .cb-booking-form-wrapper .cb-list-icon {
        font-size: 1rem !important;
    }

    .cb-booking-form-wrapper .cb-info-notice {
        padding: 12px 15px !important;
    }

    .cb-booking-form-wrapper .cb-info-notice p {
        font-size: 0.8125rem !important;
    }
}
