:root {
    --primary: #007fff;
    --primary-dark: #0069d9;
    --primary-light: #2290ff;

    --success: #28a745;
    --text-dark: #1a202c;
    --text-muted: #718096;

    --border: #e2e8f0;
    --bg-light: #f8f9fa;
}
.burj-grandparent-wrapper {
    width: 80%;
    margin: 40px auto;
}

/* ALWAYS BELOW */
@media (max-width: 767px) {
    .burj-grandparent-wrapper {
        width: 100% !important;
        margin: 15px auto;
    }
    
    .burj-navigation-bar {
    flex-direction: column;
}

.additional-service-badge {
display: none !important;
}

.information.fee span:last-of-type {
    width: auto !important;
    margin: 0px;
}

.page-id-296 .woocommerce-Price-currencySymbol::before {
    content: '' !important;
}

}

#yr_hear_about_field {
    white-space: normal !important;
    margin-left: 0 !important;
}

/* --- Professional Burj Error Styling --- */
.burj-error-msg {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #fff5f5; /* Very soft red background */
    border-left: 4px solid #e53e3e; /* Bold red accent border */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.4s ease-out; /* Smooth entry */
}

/* Container for the WooCommerce list */
.burj-error-msg ul.woocommerce-error {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important; /* Remove default dots */
}

/* Individual Error Items */
.burj-error-msg ul.woocommerce-error li {
    color: #c53030;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

/* Add a clean dot or icon before each error */
.burj-error-msg ul.woocommerce-error li::before {
    content: "•";
    color: #e53e3e;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-right: 8px;
    font-size: 18px;
}

.burj-error-msg ul.woocommerce-error li:last-child {
    margin-bottom: 0;
}

/* Bold labels within the error */
.burj-error-msg ul.woocommerce-error li strong {
    color: #9b2c2c;
    font-weight: 700;
    margin-right: 3px;
}

/* Smooth Entrance Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.woocommerce-NoticeGroup {
display: none !important;
}

/* Professional Step Container (The White Card) */

.burj-multi-step-container {
    background: #ffffff;
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 40px; 
    
    /* Layered shadow for a modern "elevated" feel */
    
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    transition: all 0.3s ease;
    margin-top: 20px;
}

/* Adjusting the Navigation Bar within the card */

.burj-navigation-bar {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #f0f4f8;
    display: flex;
    justify-content: space-between;
}


/* Progress Bar Container - 80% Width & Centered */

.burj-custom-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1000px; /* Prevents it from getting too wide on huge screens */
    margin: 0 auto 50px auto; /* Centers the 80% block and adds bottom spacing */
    padding: 20px 0;
}

.burj-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5; 
    flex-shrink: 0; 
}

/* Increased Circle Size */

.burj-step-circle {
    width: 60px; 
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px; 
    color: #a0aec0;
    border: 2px solid #e2e8f0; 
    transition: all 0.3s ease;
}

/* Fixed Active Circle with Gradient */
.burj-progress-item.burj-active .burj-step-circle {
    color: #ffffff;
    /* The gradient now works because nothing below it overwrites it */
    background: linear-gradient(90deg, #2D9CDB 0%, #56CCF2 100%);
    
    /* Remove the border or set it to transparent to let the gradient shine */
    border: none; 
    
    /* Added a subtle glow that matches the gradient colors */
    box-shadow: 0 4px 10px rgba(45, 156, 219, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.burj-step-text {
    font-size: 14px;
    margin-top: 12px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    bottom: -35px; 
    white-space: nowrap;
}

.burj-progress-item.burj-active .burj-step-text {
    color: #2271b1;
}

.burj-progress-divider {
    height: 2px;
    background: var(--border);
    flex-grow: 1; 
    z-index: 1;
    transition: background 0.4s ease;
    margin-left: -10px;
    margin-right: -10px;
}
.burj-progress-divider.line-active {
    background: linear-gradient(90deg, #2D9CDB 0%, #56CCF2 100%); 
    box-shadow: 0 0 8px rgba(0, 127, 255, 0.2); 
}
.burj-progress-item.burj-active .burj-step-text {
    color: var(--primary);
}

.burj-step-intro {
    margin-bottom: 60px;
}
.burj-step-intro h2 {
background: linear-gradient(90deg, #2D9CDB 0%, #56CCF2 100%) !important;
    -webkit-background-clip: text !important;
        margin-bottom: 8px;
    text-transform: capitalize !important;


}
.burj-step-intro p {
    font-size: 14px;
    letter-spacing: 0.5px;
}
.service-selection-container {
    margin-bottom: 30px;
}

.service-block {
    margin-bottom: 40px;
}

.service-label {
    font-weight: 500;
    margin-bottom: 16px !important;
    text-transform: uppercase;
    color: #000000 !important;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

/* Hide the actual checkbox/radio but keep it functional */
.custom-card-label input[type="checkbox"],
.custom-card-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.card-inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    height: 100%;
}

.card-inner-box:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Selected State */
.service-ajax-input:checked + .card-inner-box,
.card-inner-box.is-selected {
    border-color: var(--primary);
    background-color: #007fff17;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.icon-wrapper i {
    font-size: 28px;
    color: #64748b;
    margin-bottom: 10px;
}

.service-ajax-input:checked + .card-inner-box i {
    color: var(--primary);
}

.card-inner-box .title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.card-inner-box .price {
        font-size: 16px;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
}

/**
 * 2. MODAL POPUP STYLING
 */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
}

.modal-step h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.modal-field {
    margin-bottom: 15px;
}

.modal-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.modal-field textarea, 
.modal-field input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
}

/* Time Card Selection inside Modal */
.modal-time-card.is-selected-inner {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
}
.burj-step {
    display: none;
    width: 100%;
}

/* Force Step 1 to show if JS hasn't loaded yet */
#burj-step-1 {
    display: block;
}

/* Professional Navigation Bar Styling */
.burj-navigation-bar {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
    width: 100%;
}

#burj-next, #burj-prev {
    min-width: 180px;
    padding: 5px 25px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    justify-content: center; /* Changed from space-around for better icon alignment */
    align-items: center;
    gap: 10px;
    display: flex;
    
    /* 1. Applying your Gradient */
    background: linear-gradient(90deg, #2D9CDB 0%, #56CCF2 100%) !important;
    
    /* 2. Styling the Border to match the darker side of the gradient */
    border: none !important; /* Removing the solid border for a cleaner gradient look */
    border-radius: 10px !important;
    
    /* 3. Text and Shadow */
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(45, 156, 219, 0.3); /* Subtle glow effect */
    transition: all 0.3s ease !important;
    cursor: pointer;
}
#burj-next:hover, #burj-prev:hover {
    filter: brightness(1.1); /* Slightly brightens the gradient on hover */
    box-shadow: 0 6px 20px rgba(45, 156, 219, 0.4);
    transform: translateY(-1px); /* Slight lift effect */
}
#burj-prev {
    background: #ffffff !important; /* White background */
    color: #2D9CDB !important; /* Blue text */
    border: 2px solid #2D9CDB !important; /* Blue border */
}

#burj-prev:hover {
    background: #f0f9ff !important;
}
.payment-info {
background: #ffffff !important;
}

/* Title */
.payment-info > .d-flex span:first-child {
        font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    letter-spacing: 1px;
}

/* Divider */
.payment-info .line {
    
    background: var(--border) !important;
    opacity: 0.5;
    margin: 15px 0 !important;
    display: block !important;
}

/* Rows */
.payment-info .information {
    padding: 10px 0 !important;
    font-size: 15px !important;
    color: blue !important;
}

/* Labels */
.payment-info .information span:first-child {
    font-weight: 500 !important;
    font-size: 18px !important;
    font-family: var(--body-font) !important;
    letter-spacing: .07px !important;
}

/* Amounts */
.payment-info .information span:last-child {
    font-weight: 600 !important;
    color: #0f172a !important;
    font-size: 18px;
    
}
.information.fee {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    position: relative !important;
    overflow: visible !important;
    padding: 25px 15px 15px 15px !important;
    margin-bottom: 20px !important;
    border: 1px solid var(--primary) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px #007fff26 !important;
    gap: 8px; /* spacing between items */
}

.additional-service-badge {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--primary) !important;
    color: #fff !important;
    padding: 2px 14px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    z-index: 10 !important;
}
.information.fee span:first-of-type {
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
    flex: 1 1 auto !important; 
    min-width: 0; /* prevent overflow */
}
.information.fee span:last-of-type {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    white-space: nowrap !important;
}


.additional-service-badge p {
margin: auto !important;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* =========================
   MOBILE FIXES
========================= */
@media (max-width: 576px) {

    .information.fee {
        flex-direction: column !important; /* stack */
        align-items: flex-start !important;
        padding: 25px 12px 12px 12px !important;
    }

    .information.fee span:first-of-type {
        width: 100% !important;
        font-size: 14px !important;
    }

    .information.fee span:last-of-type {
        width: 100% !important;
        text-align: right !important;
        font-size: 15px !important;
    }

    .additional-service-badge {
        font-size: 11px !important;
        padding: 2px 10px !important;
    }
}
/* ---------- Total Row ---------- */
.woocommerce-checkout-payment {

    background: #ffffff !important;
    padding: 0px !important;
}
/* ---------- PAYMENT METHODS ---------- */
.wc_payment_methods {
    margin-top: 30px !important;
}
/* Each Method Card */
.wc_payment_method {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 15px 10px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.04) !important; /* soft shadow for depth */
}

/* Hover */
.wc_payment_method:hover {
    border-color: #3b82f6 !important;
    background: #f8fafc !important;
    box-shadow: 0 6px 20px rgba(59,130,246,0.12) !important;
}

/* Selected Method */
.wc_payment_method input[type="radio"]:checked + label {
    color: #2563eb !important;
    font-weight: 600 !important;
}

/* Highlight selected box */
.wc_payment_method:has(input[type="radio"]:checked) {
    border-color: #2563eb !important;
    background: #eff6ff !important;
    box-shadow: 0 6px 20px rgba(37,99,235,0.12) !important;
}

/* Hide default radio */
.wc_payment_method input[type="radio"] {
    display: none !important;
}

/* Label Styling */
.wc_payment_method label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    cursor: pointer !important;
}

/* Payment Description Box */
.payment_box {
    margin-top: 12px !important;
    background: #f1f5f9 !important;
    padding: 15px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #475569 !important;
    transition: all 0.3s ease !important;
}

/* Card Fields */
.wc-payment-form input,
.wc-payment-form .input-text {
    width: 100% !important;
    padding: 12px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
}

/* Place Order Button */
#place_order {
    width: 100% !important;
    margin-top: 20px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3) !important;
}

/* Button Hover */
#place_order:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37,99,235,0.35) !important;
}

/* Privacy Text */
.woocommerce-privacy-policy-text {
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 10px !important;
}

/* Card Logos */
.access_worldpay_checkout-payment-method-images img {
    height: 22px !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
}

/* ---------- Optional: Smooth expand animation for payment_box ---------- */
.payment_box {
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: all 0.4s ease !important;
}

.wc_payment_method:has(input[type="radio"]:checked) .payment_box {
    max-height: 500px !important;
    opacity: 1 !important;
}
.yr-checkout-address {
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    border: 1px solid #f1f5f9 !important;
}


.yr-checkout-address h5 {
padding: 10px;
}
.custom-billing-wrapper,
.custom-shipping-wrapper {
    width: 100%;
}

/* 2. The Grid Container - Mirrors for both forms */
#billing-address-form {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    column-gap: 24px !important;
    row-gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* 3. Reset Default Row Behavior for both */
#billing-address-form .form-row, 
#shipping-address-form .form-row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

/* 4. Column Spacing Logic for Names (Desktop) */
@media (min-width: 769px) {
    #billing_first_name_field, #shipping_first_name_field {
        grid-column: 1 !important;
    }

    #billing_last_name_field, #shipping_last_name_field {
        grid-column: 2 !important;
    }

    /* Handling Full-Width (100%) Fields for both forms */
    #billing_company_field, #shipping_company_field,
    #billing_country_field, #shipping_country_field,
    #billing_address_1_field, #shipping_address_1_field,
    #billing_address_2_field, #shipping_address_2_field,
    #billing_city_field, #shipping_city_field,
    #billing_state_field, #shipping_state_field,
    #billing_postcode_field, #shipping_postcode_field,
    #billing_phone_field, #billing_email_field,
    .form-row-wide {
        grid-column: span 2 !important;
    }
}

/* 5. Mobile Responsiveness - Both forms switch to 1 column */
@media (max-width: 768px) {
    #billing-address-form, 
    #shipping-address-form {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
    }

    #billing_first_name_field, #shipping_first_name_field,
    #billing_last_name_field, #shipping_last_name_field,
    .form-row {
        grid-column: span 1 !important;
    }
}

/* 6. Consistent Aesthetics for Labels, Inputs, and Selects */
.woocommerce-billing-fields__field-wrapper label,
.woocommerce-shipping-fields__field-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-billing-fields__field-wrapper select,
.woocommerce-shipping-fields__field-wrapper input.input-text,
.woocommerce-shipping-fields__field-wrapper select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    font-size: 15px !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
}
.woocommerce-billing-fields__field-wrapper input:focus,
.woocommerce-shipping-fields__field-wrapper input:focus {
    border-color: #2D9CDB !important;
    box-shadow: 0 0 0 3px rgba(45, 156, 219, 0.1) !important;
    outline: none;
}
#ship-to-different-address {
    /* Overriding/Denying Bootstrap/Defaults */
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin: 30px 0 15px 0 !important;
    box-shadow: none !important;
}

/* 2. Style the Label as a Modern Interaction Bar */
#ship-to-different-address label {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #2d3748;
    transition: color 0.3s ease;
}

#ship-to-different-address label:hover {
    color: #2D9CDB; /* Subtle brand blue hover */
}

/* 3. Modern Checkbox (Toggle Style) */
#ship-to-different-address-checkbox {
    border: 2px solid #cbd5e0 !important;
    border-radius: 6px !important;
    margin-right: 15px !important;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: inline-block;
}

/* Checkbox Checked State */
#ship-to-different-address-checkbox:checked {
    background-color: #2D9CDB !important;
    border-color: #2D9CDB !important;
}

/* Custom Checkmark inside the box */
#ship-to-different-address-checkbox:checked::after {
    content: '\f00c'; /* FontAwesome Check Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 4. Shipping Form Container */
#shipping-address-form {
    display: none; 
    margin-top: 10px;
    padding: 25px;
    background: #fcfcfc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
}
#dynamic-modal-content p {
    font-size: 16px !important;
    font-weight: 700 !important; /* Matches the bold paragraph in image */
    color: #111 !important;
    line-height: 1.4 !important;
    margin-bottom: 25px !important;
    padding-right: 10px !important;
}

/* 2. The Time Cards Container */
.modal-options-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important; /* Remove gaps to match the tight list look */
    border-top: 1px solid #eee !important; /* Top border for the list */
}

/* 3. Individual Card Layout */
.modal-time-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* Pushes content to edges */
    padding: 15px 10px !important;
    border: none !important;
    border-bottom: 1px solid #eee !important; /* Bottom border separator */
    margin: 0 !important;
    cursor: pointer !important;
    width: 100% !important;
}

.modal-time-card:hover {
    background-color: #f8f9fa !important;
}

/* 4. Left Side (Radio + Label) */
.custom-radio {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
}

.custom-radio input[type="radio"] {
	margin: auto 15px auto 0px !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #007bff !important;
    flex-shrink: 0 !important;
}

.custom-radio strong {
    font-weight: 400 !important; /* Normal weight for titles */
    font-size: 15px !important;
    color: #333 !important;
}
.modal-time-card small {
    font-size: 15px !important;
    font-weight: 700 !important; /* Bold times */
    color: #111 !important;
    margin-left: auto !important; /* Pushes times to the right */
    padding-right: 20px !important;
}

.time-price {
    font-size: 15px !important;
    font-weight: 700 !important; /* Bold price */
    color: #111 !important;
    min-width: 40px !important;
    text-align: right !important;
}

/* 6. Hide the <br> inside the label so text stays on one line */
.modal-time-card br {
    display: none !important;
}

/* 7. Surcharge Style */
.surcharge-wrapper {
    margin: 20px 0 !important;
}

.surcharge-wrapper label {
    display: flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #111 !important;
}
#ship-to-different-address-checkbox,
#rememberme,
.burj-grandparent-wrapper .surcharge-wrapper input[type="checkbox"].surcharge-checkbox {
    -webkit-appearance: checkbox !important; 
    appearance: checkbox !important;
    float: none !important;
    position: static !important; 
    width: 18px !important;
    height: 18px !important;
    margin: 0 12px 0 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    outline: none !important;
    box-shadow: none !important;
    accent-color: #007bff !important;
}

.surcharge-wrapper label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.modal-next-btn, .modal-save-btn, .modal-back-btn {
        background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 4px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-block !important;
    width: auto !important;
    margin-top: 10px !important;}

.modal-next-btn:hover {
    background: #0069d9 !important;
}

@media (max-width: 600px) {
    /* 1. Allow the card to wrap onto multiple lines */
    .modal-time-card {
        flex-wrap: wrap !important;
        padding: 15px 12px !important;
        align-items: flex-start !important;
    }

    /* 2. Keep the Radio and Title on the top-left */
    .custom-radio {
        flex: 1 !important;
        margin-bottom: 5px !important;
    }

    /* 3. Force the Time Slot to stay on the top-right */
    .modal-time-card small {
        margin-left: auto !important;
        padding-right: 0 !important;
        font-size: 13px !important;
        color: #007bff !important; /* Highlight time in blue on mobile for readability */
    }

    /* 4. Force the PRICE to its own row at the bottom */
    .time-price {
        flex-basis: 100% !important; /* Forces a new line */
        text-align: right !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
        border-top: 1px dashed #eee !important; /* subtle separator for the price */
        font-size: 16px !important;
        color: #111 !important;
    }

    /* 5. Adjust Surcharge for smaller screens */
    .surcharge-wrapper label {
        font-size: 14px !important;
        align-items: flex-start !important;
    }

    /* 6. Stack the Buttons (Next / Back) */
    .modal-next-btn, .modal-back-btn, .modal-save-btn {
        width: 100% !important; /* Full width for easy thumb-tapping */
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
}
#dynamic-modal-content h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 10px !important;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    font-family: 'Open Sans';
}

/* 2. Flex Container for Date & Time */
#dynamic-modal-content div[style*="display:flex"] {
    gap: 12px !important;
    margin-bottom: 12px !important;
}

/* 3. Universal Input Styling (Date, Time, Text, Email, Tel) */
#dynamic-modal-content input[type="date"],
#dynamic-modal-content input[type="time"],
#dynamic-modal-content input[type="text"],
#dynamic-modal-content input[type="email"],
#dynamic-modal-content input[type="tel"] {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 5px 15px !important;
    font-size: 15px !important;
    color: #111 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    height: auto !important; /* Fixes some theme height issues */
}

/* 4. Focus State (Matches your blue theme) */
#dynamic-modal-content input:focus {
    border-color: #007bff !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1) !important;
    outline: none !important;
}

/* 5. Placeholder Color */
#dynamic-modal-content input::placeholder {
    color: #9ca3af !important;
}

/* 6. Specific margin adjustments for stacked inputs */
#book-name, #book-email, #book-phone {
    margin-top: 0 !important; /* Override inline margin-top */
    margin-bottom: 12px !important;
}

/* 7. The Confirm Button (Matching the Phlebotomy style) */
.modal-save-btn.button.alt {
     background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 4px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    margin-top: 10px !important;
}

.modal-save-btn.button.alt:hover {
    background: #0069d9 !important;
}

@media (max-width: 600px) {
    /* Stack Date and Time on mobile */
    #dynamic-modal-content div[style*="display:flex"] {
        flex-direction: column !important;
        gap: 12px !important;
    }

    #book-date, #book-time {
        width: 100% !important;
    }

    /* Prevent iOS auto-zoom on focus */
    #dynamic-modal-content input {
        font-size: 16px !important;
    }
}
#dynamic-modal-content {
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

#dynamic-modal-content::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}


/* --- Animation for Steps --- */
.modal-step {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.burj-summary-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Side-by-side layout */
    gap: 25px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.burj-summary-section h4 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 15px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.burj-summary-section h4 .dashicons {
    color: #2290ff !important;
    font-size: 20px !important;
}


.summary-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.summary-list li {
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
}

.summary-list li .dashicons {
    color: #10b981 !important; /* Green checkmark */
    font-size: 18px !important;
}

#rev-method-title {
    display: inline-block !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
}

.meta-details-box {
    background: #fdfdfd !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin-top: 10px !important;
}

.meta-details-box p {
    font-size: 14px !important;
    margin: 0 0 8px 0 !important;
    color: #334155 !important;
    display: flex !important;
    justify-content: space-between !important; /* Key-Value alignment */
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 5px !important;
}

.meta-details-box p:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.meta-details-box p strong {
    font-weight: 600 !important;
    color: #64748b !important;
}

.meta-details-box p span {
    text-align: right !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    max-width: 60% !important; /* Prevents long notes from breaking layout */
}

/* ================= RESPONSIVE (MOBILE) ================= */
@media (max-width: 768px) {
    .burj-summary-box {
        grid-template-columns: 1fr !important; /* Stacks on mobile */
        padding: 15px !important;
    }
    
    .meta-details-box p {
        flex-direction: column !important; /* Stacks key-value on small screens */
        align-items: flex-start !important;
    }
    
    .meta-details-box p span {
        text-align: left !important;
        max-width: 100% !important;
        margin-top: 2px !important;
        color: #2290ff !important; /* Highlight value on mobile */
    }
}
.burj-review-divider {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.divider-line {
    flex-grow: 1 !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent) !important;
}

.divider-icon {
    padding: 0 15px !important;
    color: #cbd5e1 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
}

/* Styling the table inside Order Review to be cleaner */
.woocommerce-checkout-review-order-table {
    border: none !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
}

#test-popup-modal {
    display: none; /* Keep ONLY this */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    align-items: center; 
    justify-content: center;
}

.test-modal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    z-index: 10;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    
    /* Remove the auto margin and use this instead */
    margin: 0 auto; 
}
.test-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 44, 70, 0.7); /* Dark blue tint */
    backdrop-filter: blur(8px); /* Modern blur */
    transition: opacity 0.3s ease;
}
.test-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
    color: #aaa;
    transition: color 0.2s;
    line-height: 1;
}

.test-close:hover { color: #d63638; }

/* ===============================
   LOGIN CONTENT STYLING
================================= */
.login-popup-inner {
    text-align: center;
}

.login-popup-inner h3 {
    font-size: 26px;
    font-weight: 700;
    color: #082C46;
    margin: 0 0 10px 0;
}

.login-popup-inner p {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
}

.login-form-wrap {
padding: 20px 0px 0px 0px !important;
}

/* WooCommerce Form Clean-up */
.login-form-wrap .woocommerce-form {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left;
}

.login-form-wrap .form-row {
    margin-bottom: 18px !important;
    padding: 0 !important;
}

.login-form-wrap label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-form-wrap input.input-text {
    width: 100% !important;
    height: 48px !important;
    padding: 12px 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    transition: all 0.2s ease;
}

.login-form-wrap input.input-text:focus {
    border-color: #2290ff !important;
    box-shadow: 0 0 0 4px rgba(34, 144, 255, 0.1) !important;
    outline: none !important;
}

/* Remember Me & Button */
.login-form-wrap .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.login-form-wrap button.button {
    width: 100% !important;
    height: 50px !important;
    background: #2290ff !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: transform 0.2s, background 0.2s !important;
}

.login-form-wrap button.button:hover {
    background: #0076e4 !important;
    transform: translateY(-1px);
}

/* Container for the input + button */
.login-form-wrap .password-input {
    position: relative !important;
    display: block !important;
    width: 100%;
}

/* The Button Shell */
.login-form-wrap .show-password-input {
    position: absolute !important;
    top: 15% !important;
    right: 12px !important; /* Spacing from the right edge */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 1 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10;
}

/* The Eye Icon inside */
.login-form-wrap .show-password-input i {
    font-size: 16px !important;
    color: #64748b !important;
    transition: color 0.2s ease;
}

.login-form-wrap .show-password-input:hover i {
    color: #2290ff !important;
}

/* Ensure the text doesn't go under the eye */
.login-form-wrap input#password {
    padding-right: 45px !important;
}

/* Ensure centering works even if content is small */
#test-popup-modal {
    pointer-events: none; /* Prevents invisible layer blocking checkout */
}
#test-popup-modal.active, 
#test-popup-modal[style*="display: flex"], 
#test-popup-modal[style*="display: block"] {
    pointer-events: auto;
}

.custom-shipping-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

}

.custom-shipping-box h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.custom-ship-option {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
	padding:10px;
}

.custom-ship-option:hover {
    background: #eef3ff;
}

.custom-ship-option input {
    margin: 0px 10px 0px 0px;
	width: auto;
	height:10px;
}
div#payment{
	color:black !important;
}
/*.woocommerce-shipping-totals,
#shipping_method,
h6.mb-0, div.woocommerce-billing-fields div.p-3, div.woocommerce-shipping-fields  div.p-3{
    display: none !important;
}*/
div.summary-box div.left{
	width:50%;
}
div.summary-box div.summary-row{
	display:flex;
}
table td{
	border:none !important;
}
.woocommerce-checkout-review-order-table td{
	border-top: none !important;
}
p#billing_company_field{
	display:none !important;
}
button[name="apply_coupon"] {
    margin-top: 10px;
}
.wc_payment_methods {
    list-style: none !important;
    padding-left: 0 !important;
}

.wc_payment_methods li {
    list-style: none !important;
}