/* --- NEW STYLES FOR REDESIGN --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ky-bg-color: #F9FAFB;
    --ky-card-bg: #FFFFFF;
    --ky-primary-text: #111827;
    --ky-secondary-text: #6B7280;
    --ky-border-color: #E5E7EB;
    --ky-accent-color: #000; /* Your original black accent */
    --ky-font-family: 'Inter', sans-serif;
}

/* --- Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base styles for the page */
.pfc-container {
    background-color: var(--ky-bg-color);
    font-family: var(--ky-font-family);
    color: var(--ky-primary-text);
    padding: 1rem;
    margin-top: 1rem !important;
}

@media (min-width: 768px) {
    .pfc-container {
        padding: 2rem;
        margin-top: 3rem !important;
    }
}

/* --- Main Layout --- */
.ky-new-checkout-container {
    max-width: 900px; /* Controls the width of the whole component */
    margin: 0 auto;
    padding-block: 80px;
}

.ky-new-checkout-container h1 {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.ky-checkout-card-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* 24px */
}

.ky-checkout-card {
    background-color: var(--ky-card-bg);
    border: 1px solid var(--ky-border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden; /* Ensures borders are clean */
}

.ky-card-header {
    padding: .5rem 1rem; /* 20px 24px */
    border-bottom: 1px solid var(--ky-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ky-card-header h2 {
    font-size: 2rem; /* 18px */
    font-weight: 600;
}

.ky-item-count {
    font-size: 1rem; /* 14px */
    color: var(--ky-secondary-text);
}

.ky-card-body {
    padding: 1.5rem; /* 24px */
}

/* --- 1. Order Summary Card --- */
.loading-state {
    color: var(--ky-secondary-text);
    padding: 1rem 0;
    text-align: center;
}
.ky-summary-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
}
.ky-summary-item:first-child { padding-top: 0; }
.ky-summary-item:last-child { padding-bottom: 0; }

.ky-summary-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--ky-border-color);
    object-fit: cover;
    margin-right: 1rem;
}

.ky-summary-item-info {
    flex-grow: 1;
}
.ky-summary-item-info .item-name {
    font-weight: 500;
    display: block;
    color: var(--ky-primary-text);
    font-size: 1.2rem;
}
.ky-summary-item-info .item-details {
    font-size: 0.875rem;
    color: var(--ky-secondary-text);
    line-height: 1.4;
    margin-top: 2px;
}
/* Styles for addons/combos */
.item-details .detail-line {
    display: block;
    font-size: 1rem;
    color: var(--ky-secondary-text);
}

.ky-summary-item-price {
    font-weight: 600;
    font-size: 0.95rem;
}

#ky-new-summary-items-list {
    border-bottom: 1px solid var(--ky-border-color);
}

.ky-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem; /* 14.4px */
    margin-bottom: 0.75rem;
    color: var(--ky-secondary-text);
}
.ky-summary-total-row.grand-total {
    font-size: 1.4rem; /* 16px */
    font-weight: 600;
    color: var(--ky-primary-text);
    margin-top: 1rem;
}
.ky-summary-total-row .value {
    font-weight: 500;
    color: var(--ky-primary-text);
}
.ky-summary-total-row.grand-total .value {
    font-weight: 600;
}

/* --- 2. Discount Code Card --- */
#coupon-section .coupon-field {
    display: flex;
    gap: 0.75rem; /* 12px */
}
#coupon-section input[type="text"] {
    flex-grow: 1;
    border: 1px solid var(--ky-border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--ky-font-family);
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#coupon-section input[type="text"]:focus {
    outline: none;
    border-color: var(--ky-accent-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}
#coupon-section .apply-btn {
    padding: 0.75rem 1.25rem;
    background-color: #2D3748; /* Dark gray, matching image */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
#coupon-section .apply-btn:hover {
    background-color: #1A202C;
}
#applied-coupon-display {
    display: none; /* JS will show this */
    padding: 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-top: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}
#applied-coupon-display #remove-coupon-btn {
    background: none;
    border: none;
    color: #EF4444; /* Red */
    cursor: pointer;
    font-size: 1rem;
}


/* --- 3. Payment Details Card (Your old styles, adapted) --- */

/* Radio Buttons */
.payment-options {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}
.payment-option {
    position: relative;
    flex-grow: 1; /* Makes them share space */
}
.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.payment-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
    border: 2px solid var(--ky-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
}
.payment-label:hover {
    border-color: var(--ky-accent-color);
}
.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--ky-accent-color);
    background: #f5f5f5;
}
.payment-option input[type="radio"]:checked + .payment-label .payment-text {
    color: var(--ky-accent-color);
    font-weight: 600;
}
.payment-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    transition: color 0.3s ease;
}

/* Stripe Container */
.payment-container {
    margin: 0;
    padding: 0;
}
#payment-element {
    margin: 0;
}
.payment-message {
    color: rgb(105, 115, 134);
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 12px;
    text-align: center;
    margin-top: 1rem;
    background: #f6f9fc;
    border-radius: 4px;
}

/* Ryft Container */
.Ryft--paysection {
    margin-top: 0;
}
.Ryft--paysection .card-details {
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}
.Ryft--payform {
    border: 1px solid var(--ky-border-color);
    padding: 15px;
    border-radius: 8px;
}
#pay-btn {
    width: 100%;
    background-color: var(--ky-accent-color) !important;
    border: 1px solid var(--ky-accent-color) !important;
    color: #fff;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#pay-btn:hover {
    opacity: 0.85;
}
#pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
#ryft-pay-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 10px;
}

/* Adyen Container */
#dropin-container {
    /* Adyen styles are mostly self-contained */
}

/* --- Old styles to remove (from .pfc-container) --- */
.page-header, .cartContainer {
    display: none;
}
/* --- Styling for Back Button --- */
.ky-card-header-actions {
    display: flex;
    align-items: center;
    /* gap: 12px; */
    flex-direction: column;
}

.ky-back-btn {
    background: none;
    border: 1px solid var(--ky-border-color);
    color: var(--ky-secondary-text);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--ky-font-family);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ky-back-btn:hover,.ky-back-btn:focus
 {
    background-color: var(--ky-bg-color);
    border-color: #ccc;
    color: var(--ky-primary-text);
}

/* --- Styling for Additional Charges Dropdown --- */
.additional-charges-container {
    border-top: 1px solid var(--ky-border-color);
    border-bottom: 1px solid var(--ky-border-color);
    margin: 0.5rem 0;
}

.additional-charges-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    cursor: pointer;
    user-select: none;
}

.additional-charges-toggle .label {
    color: var(--ky-primary-text);
    font-size: 0.9rem;
}

.additional-charges-toggle .fa-chevron-down {
    transition: transform 0.3s ease-in-out;
    color: var(--ky-secondary-text);
    font-size: 0.8rem;
}

.additional-charges-container.open .fa-chevron-down {
    transform: rotate(180deg);
}

.additional-charges-list {
    padding-bottom: 0.5rem;
}

/* Tweak row styles inside the dropdown */
.additional-charges-list .ky-summary-total-row {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
/* --- View Summary Button --- */
.ky-view-summary-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ky-accent-color);
    background-color: transparent;
    border: 1px solid var(--ky-border-color);
    border-radius: 8px;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}
.ky-view-summary-btn:hover,.ky-view-summary-btn:focus {
    background-color: var(--ky-bg-color);
    color: #000;
}
.ky-view-summary-btn .fa-receipt {
    margin-right: 8px;
}

/* --- New Summary Item (No Image) --- */
.ky-summary-item-no-img {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--ky-border-color);
}
.ky-summary-item-no-img:first-child { 
    padding-top: 0; 
}
.ky-summary-item-no-img:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.ky-summary-item-no-img .ky-summary-item-info {
    flex-grow: 1;
}
.ky-summary-item-no-img .item-name {
    font-weight: 500;
    display: block;
    color: var(--ky-primary-text);
    font-size: 1.4rem;
}
.ky-summary-item-no-img .item-details {
    font-size: 1.2rem;
    color: var(--ky-secondary-text);
    line-height: 1.4;
    margin-top: 2px;
}
.ky-summary-item-no-img .ky-summary-item-price {
    font-weight: 600;
    font-size: 1.2rem;
    padding-left: 10px;
}

#ky-new-summary-items-list {
    /* max-height: 250px;  */
    overflow-y: auto;
    border-radius: 12px;
    border-bottom: none;
    border: 1px solid var(--ky-border-color);
    padding: 1rem 1rem 1rem 1rem;
}

.ky-summary-scroll-wrapper {
    position: relative; /* Key for positioning the icon */
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ky-border-color);
    margin-bottom: 1.5rem; /* Replaces the list's margin */
}

#ky-scroll-indicator {
    position: absolute;
    bottom: 25px; /* Sits just above the bottom border */
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid var(--ky-border-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--ky-secondary-text);
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    pointer-events: none; /* So it doesn't block scrolling */
}


/* --- Summary Modal Styles --- */
.ky-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ky-modal-content {
    background: var(--ky-card-bg);
    border-radius: 12px;
    width: 100%;
    max-width: 550px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ky-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ky-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ky-modal-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.ky-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--ky-secondary-text);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.ky-modal-close:hover {
    color: var(--ky-primary-text);
    background-color: transparent;
}

.ky-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.ky-modal-footer {
    padding: 1.5rem;
    background: var(--ky-bg-color);
    border-top: 1px solid var(--ky-border-color);
}

/* Use original item styles inside modal */
.ky-modal-body .ky-summary-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--ky-border-color);
}
.ky-modal-body .ky-summary-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 650px) {
    .ky-new-checkout-container{
        margin-inline:20px;
    }

}
  /* … */


/* Order Meta Info Container */
.ky-order-meta-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Badge for Order Type (Delivery/Collection) */
.ky-order-type-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    width: fit-content;
}

.ky-order-type-badge.delivery {
    background-color: #e3f2fd; /* Light Blue */
    color: #0d47a1;
}

.ky-order-type-badge.collection {
    background-color: #e8f5e9; /* Light Green */
    color: #1b5e20;
}

/* Meta Rows (Time, Address, etc.) */
.ky-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    color: #555;
    align-items: flex-start;
}

.ky-meta-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ky-meta-value {
    text-align: right;
    font-weight: 600;
    color: #000;
    max-width: 60%;
}
div#ky-new-summary-totals-list {
    padding-inline: 10px;
}

button.swal2-confirm.swal2-styled,button.swal2-cancel.swal2-styled{
    border: 1px solid #000;
    color: #000;
}
button.swal2-confirm.swal2-styled:hover,button.swal2-confirm.swal2-styled:focus,button.swal2-cancel.swal2-styled:hover,button.swal2-cancel.swal2-styled:focus{
    border: 1px solid var(--ky-accent-color);
    color: var(--ky-bg-color);
    background-color: var(--ky-accent-color);
}
.ProductSummary.is-condensed .ProductSummary-totalAmountContainer{
    justify-content: center !important;

}

/* --- New Styles to Display Item Image in Main Summary --- */

/* Base container for an item with an image */
.ky-summary-item-with-img {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color-light);
    gap: 15px; /* Space between image and text */
}

/* Style for the image thumbnail */
.ky-summary-item-with-img .item-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover; /* Ensures the image covers the box */
    flex-shrink: 0; /* Prevents the image from shrinking */
}

/* Adjustment for the item information wrapper */
.ky-summary-item-with-img .ky-summary-item-info {
    flex-grow: 1; /* Allows the info to take up available space */
    text-align: left;
}

/* Ensure the price is aligned to the right */
.ky-summary-item-with-img .ky-summary-item-price {
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0; /* Prevents the price from shrinking */
    font-size: 1.2rem;
}

/* Cleanup for the legacy no-image element (optional, but good practice) */
.ky-summary-item-no-img {
    display: flex; /* Keep the old style just in case it's used elsewhere */
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color-light);
}

/* Adjust the original item details for spacing */
.ky-summary-item-with-img .item-details {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* --- New Styles to Display Item Image in Main Summary --- */

/* Base container for an item with an image */
.ky-summary-item-with-img {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color-light);
    gap: 15px; /* Space between image and text */
}

/* Style for the image thumbnail */
.ky-summary-item-with-img .item-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover; /* Ensures the image covers the box */
    flex-shrink: 0; /* Prevents the image from shrinking */
}

/* Adjustment for the item information wrapper */
.ky-summary-item-with-img .ky-summary-item-info {
    flex-grow: 1; /* Allows the info to take up available space */
    text-align: left;
}

/* Ensure the price is aligned to the right */
.ky-summary-item-with-img .ky-summary-item-price {
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0; /* Prevents the price from shrinking */
    font-size: 1.2rem;
}

/* Cleanup for the legacy no-image element (optional, but good practice) */
.ky-summary-item-no-img {
    display: flex; /* Keep the old style just in case it's used elsewhere */
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color-light);
}

/* Adjust the original item details for spacing */
.ky-summary-item-with-img .item-details {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 5px;
}


/* --- MOBILE RESPONSIVE FIXES --- */

/* 1. Tablet & Mobile Global Adjustments (Max Width 768px) */
@media (max-width: 768px) {
    
    /* Fix container spacing */
    .pfc-container {
        padding: 1rem 0.5rem !important;
        margin-top: 1rem !important;
    }

    .ky-new-checkout-container {
        padding-block:80px 30px !important; /* Reduced from 100px */
        margin-inline: 10px;
        width: auto;
    }

    /* Smaller main heading */
    .ky-new-checkout-container h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    /* Card adjustments */
    .ky-card-body {
        padding: 1.25rem; /* Slightly reduced padding */
    }

    /* HEADER FIX: Stack the header elements so they don't overlap */
    .ky-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 1.25rem;
    }

    .ky-card-header h2 {
        font-size: 1.3rem; /* Smaller card titles */
        order: 1; /* Keep title at top if desired, or adjust order */
        width: 100%;
        text-align: left;
        margin: 0;
    }

    /* Move buttons to logical places */
    .ky-back-btn {
        order: 0; /* Back button at very top */
        font-size: 0.9rem;
        margin-bottom: 5px;
        padding-left: 0; /* Align with text */
        border: none; /* Cleaner look on mobile */
        color: var(--ky-secondary-text);
    }
    
    .ky-card-header-actions {
        order: 2; /* Actions below title */
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 5px;
        padding-top: 10px;
        border-top: 1px dashed var(--ky-border-color);
    }

    /* 2. Order Summary List Items */
    .ky-summary-item-with-img {
        gap: 12px;
    }
    
    .ky-summary-item-with-img .item-thumbnail {
        width: 60px; /* Slightly smaller images */
        height: 60px;
    }

    .ky-summary-item-with-img .item-name {
        font-size: 15px; /* Prevent text wrapping issues */
    }

    .ky-summary-item-with-img .ky-summary-item-price {
        font-size: 1rem;
    }

    /* 3. Coupon Section */
    #coupon-section .coupon-field {
        flex-direction: column; /* Stack input and button */
        gap: 10px;
    }
    
    #coupon-section input[type="text"] {
        width: 100%;
        padding: 12px; /* Larger touch target */
    }
    
    #coupon-section .apply-btn {
        width: 100%; /* Full width button */
        padding: 12px;
    }
    
    #applied-coupon-display {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* 4. Payment Options */
    .payment-options {
        flex-direction: column; /* Stack payment methods vertically */
        gap: 8px;
    }
    
    .payment-label {
        justify-content: flex-start; /* Align text to left */
        padding-left: 20px;
    }

    /* 5. Modal Fixes (Full screen on mobile) */
    .ky-modal-content {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .ky-modal-body {
        flex-grow: 1; /* Allow body to take available space */
    }
    
    /* 6. General Button Touch Targets */
    button, .payment-label, input {
        /* min-height: 44px; Minimum tappable area standard */
    }
}

/* Extra Small Devices (Phone Portrait) */
@media (max-width: 480px) {
    .ky-summary-item-with-img .item-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .ky-summary-total-row {
        font-size: 1rem;
    }
    
    .ky-summary-total-row.grand-total {
        font-size: 1.2rem;
    }
    .ky-meta-row{
        font-size: 0.8rem;
    }
}

.ky-coupon-pill:hover {
    background-color: #007bff; /* Or your specific brand color */
    color: #ffffff !important;
    border-style: solid !important;
}


/* =====================================================
   USER DETAILS CONTAINER - CSS CODE
   Add this to your checkout CSS file
   ===================================================== */

/* Customer Details Card */
.ky-customer-details-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ky-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ky-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.ky-form-group label span {
    color: red;
    margin-left: 2px;
}

.ky-form-group input[type="text"],
.ky-form-group input[type="tel"],
.ky-form-group input[type="email"],
.ky-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.ky-form-group input:focus,
.ky-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ky-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.ky-form-group input::placeholder,
.ky-form-group textarea::placeholder {
    color: #9ca3af;
}

/* International Tel Input Styles */
.ky-form-group .iti {
    width: 100%;
}

.ky-form-group .iti__flag-container {
    border-right: 1px solid #d1d5db;
}

.ky-form-group .iti__selected-flag {
    padding: 0 12px;
}

.ky-form-group input[type="tel"].iti__tel-input {
    padding-left: 52px;
}

.iti__selected-country {
    background-color: white !important;
    border-left: 1px solid #fff !important;
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #fff !important;
    border-right: unset !important;
    border-radius: 9px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Confirm Details Button */
.ky-confirm-details-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    background: #fff;
    border: 1px solid #111827;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.ky-confirm-details-btn:hover {
    background: #111827;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.4);
}

.ky-confirm-details-btn:active {
    transform: translateY(0);
}

.ky-confirm-details-btn:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    color: #fff;
    cursor: not-allowed;
    transform: none;
}

.ky-confirm-details-btn i {
    font-size: 18px;
}

/* Confirmed Details Display */
.confirmed-details-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.confirmed-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.confirmed-detail-row:last-child {
    border-bottom: none;
}

.confirmed-detail-row .label {
    font-weight: 600;
    color: #555;
}

.confirmed-detail-row .value {
    color: #333;
    text-align: right;
}

/* Error States */
.ky-form-group input.error,
.ky-form-group textarea.error {
    border-color: #ef4444;
}

.ky-form-group .error-message {
    color: #ef4444 !important;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

/* Success States */
.ky-form-group input.success {
    border-color: #10b981;
}

/* Field Loader (for phone input) */
.field-loader {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ky-accent-color);
    font-size: 16px;
    z-index: 10;
}

.field-loader i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Field Highlight Animation */
.field-highlight {
    animation: fieldHighlight 1.5s ease;
}

@keyframes fieldHighlight {
    0% {
        background-color: #fff;
        transform: scale(1);
    }
    30% {
        background-color: #f0fdf4;
        transform: scale(1.02);
        border-color: #10b981;
    }
    100% {
        background-color: #fff;
        transform: scale(1);
    }
}

/* Field Blur Effect */
.field-blurred {
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.6;
}

/* Inline Success Message */
.inline-success-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: slideInDown 0.5s ease-out;
}

.inline-success-message i {
    font-size: 24px;
}

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

/* Inline Error Message */
.inline-error-message {
    background: #fee;
    border-left: 4px solid #dc3545;
    color: #dc3545;
    padding: 12px 16px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideInError 0.3s ease;
}

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

/* Modal Error Messages */
.modal-error-message {
    color: #dc3545 !important;
    font-size: 13px !important;
    margin-top: 8px !important;
    padding: 8px 12px !important;
    background: #fee !important;
    border-radius: 4px !important;
    border-left: 3px solid #dc3545 !important;
    display: none !important;
    text-align: left !important;
}

.modal-error-message:not(:empty) {
    display: block !important;
}

/* SweetAlert2 Custom Styles */
.swal2-popup {
    border-radius: 16px !important;
    padding: 30px !important;
}

.swal2-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 20px !important;
}

.swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Custom Button Classes */
.swal2-confirm-btn {
    background: #111827 !important;
    color: #fff !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm-btn:hover {
    background: #374151 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.swal2-cancel-btn {
    background: #fff !important;
    color: #374151 !important;
    border: 2px solid #E5E7EB !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel-btn:hover {
    background: #F9FAFB !important;
    border-color: #D1D5DB !important;
    transform: translateY(-2px) !important;
}

.swal2-actions-spaced {
    gap: 12px !important;
    margin-top: 24px !important;
    display: flex !important;
    justify-content: center !important;
}

/* Signup Progress Bar */
.signup-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    padding: 0 20px;
}

.signup-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.signup-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-circle.active {
    background: #111827;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1);
}

.step-circle.completed {
    background: #111827;
    color: #fff;
}

.step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 100px;
}

.signup-step.active .step-label {
    color: #000;
    font-weight: 600;
}

/* OTP Inputs */
.otp-inputs-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px auto;
    max-width: 360px;
    flex-wrap: nowrap;
}

.otp-digit {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.otp-digit:focus {
    border-color: #111827 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.05) !important;
}

.otp-digit.filled {
    border-color: #111827 !important;
    background: #f9fafb !important;
}

/* Signin Modal Styles */
.signin-phone-display {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.signin-phone-display i {
    color: #111827;
    font-size: 18px;
}

/* Modal Button Groups */
.modal-button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.modal-button-group button {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ky-customer-details-form {
        gap: 16px;
    }

    .signup-progress-bar {
        padding: 0 10px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-label {
        font-size: 10px;
        max-width: 70px;
    }

    .otp-inputs-container {
        gap: 6px;
        max-width: 280px;
    }
    
    .otp-digit {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .otp-inputs-container {
        gap: 4px;
        max-width: 240px;
    }
    
    .otp-digit {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        font-size: 16px !important;
    }
}

/* ===================================================
   SCHEDULE POPUP - COMPLETE CSS
   =================================================== */

/* Overlay - Centers the popup */
.schedule-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

/* Main popup container */
.schedule-popup-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Header section */
.schedule-popup-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: white;
}

.schedule-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* Close button */
.schedule-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.schedule-close-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

/* Body section - scrollable */
.schedule-popup-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

/* Date strip container */
.schedule-date-strip-container {
    position: relative;
    margin-bottom: 30px;
}

.schedule-date-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.schedule-date-strip::-webkit-scrollbar {
    display: none;
}

/* Date items */
.date-strip-item {
    min-width: 80px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    flex-shrink: 0;
}

.date-strip-item:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.date-strip-item.selected {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
}

.date-strip-label {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

.date-strip-item.selected .date-strip-label {
    color: white;
}

.date-strip-day {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.date-strip-date {
    font-size: 18px;
    font-weight: 700;
}

/* Arrow buttons for date strip */
.date-strip-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.2s;
}

.date-strip-arrow:hover {
    background: #f9fafb;
    border-color: #000;
}

.date-strip-arrow.left {
    left: -10px;
}

.date-strip-arrow.right {
    right: -10px;
}

/* Time slots container */
.schedule-time-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    overflow-y: auto;
    padding: 10px 0;
}

/* Individual time slot */
.time-slot-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-slot-item input[type="radio"] {
    position: relative;
    opacity: 1;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.time-slot-item label {
    display: block;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 400;
    font-size: 15px;
    color: #374151;
    flex: 1;
    border-radius: 6px;
    border: 1px solid transparent;
}

.time-slot-item:hover label {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.time-slot-item input[type="radio"]:checked + label {
    font-weight: 500;
    color: var(--accent-color);
    background: #f3f4f6;
    border-color: var(--accent-color);
}

/* Footer section - fixed at bottom */
.schedule-popup-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    background: white;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Schedule summary */
#scheduleSummary {
    margin-bottom: 15px;
    padding: 12px 16px;
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #1e40af;
    font-weight: 500;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scheduleSummary:empty {
    display: none;
}

/* Confirm button */
.primary-btn,
#confirmScheduleBtn {
    width: 100%;
    padding: 14px;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.primary-btn:hover,
#confirmScheduleBtn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.primary-btn:active,
#confirmScheduleBtn:active {
    transform: translateY(0);
}

/* ===================================================
   MOBILE RESPONSIVE
   =================================================== */

@media (max-width: 768px) {
    .schedule-popup-content {
        width: 95%;
        max-height: 90vh;
    }

    .schedule-popup-header {
        padding: 16px;
    }

    .schedule-popup-header h3 {
        font-size: 18px;
    }

    .schedule-popup-body {
        padding: 16px;
    }

    .schedule-popup-footer {
        padding: 16px;
    }

    .schedule-time-list-container {
        max-height: 300px;
    }

    .time-slot-item label {
        padding: 10px 12px;
        font-size: 14px;
    }

    .date-strip-item {
        min-width: 70px;
        padding: 10px;
    }

    .date-strip-date {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .schedule-popup-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .schedule-time-list-container {
        max-height: 250px;
    }

    .date-strip-item {
        min-width: 65px;
        padding: 8px;
    }

    #scheduleSummary {
        font-size: 13px;
        padding: 10px 12px;
    }
}

/* ===================================================
   SMOOTH ANIMATIONS
   =================================================== */

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.schedule-popup-overlay {
    animation: popupFadeIn 0.2s ease-out;
}

/* Scrollbar styling for time slots */
.schedule-time-list-container::-webkit-scrollbar {
    width: 6px;
}

.schedule-time-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.schedule-time-list-container::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.schedule-time-list-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* =====================================================
   CHECKOUT PAGE STYLES - SIGNUP/SIGNIN MODALS
   ===================================================== */

/* Inline Modal Base Styles */
.inline-signup-modal,
.inline-signin-modal,
.inline-otp-modal {
  padding: 20px;
  width: 100%;
}

/* ===================================================
   SIGNUP PROGRESS BAR
   =================================================== */
.signup-progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  padding: 0 20px;
}

.signup-progress-bar::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #e0e0e0;
  z-index: 0;
}

.signup-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-circle.active {
  background: var(--ky-accent-color);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.step-circle.completed {
  background: var(--ky-accent-color);
  color: #fff;
}

.step-label {
  font-size: 12px;
  color: #666;
  text-align: center;
  max-width: 100px;
}

.signup-step.active .step-label {
  color: #000;
  font-weight: 600;
}

/* ===================================================
   FORM SECTIONS
   =================================================== */
.signup-section {
  margin-top: 20px;
}

.signup-section .swal2-input {
  margin: 10px 0;
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.signup-section .swal2-input:focus {
  border-color: var(--ky-accent-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.signup-section .swal2-input[readonly] {
  background: #f5f5f5;
  cursor: not-allowed;
}

/* ===================================================
   BUTTON STYLES
   =================================================== */
.signup-section button,
.inline-signin-modal button,
.inline-otp-modal button {
  margin: 5px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.swal2-confirm.swal2-styled {
  background: var(--ky-accent-color) !important;
  color: #fff !important;
}

.swal2-confirm.swal2-styled:hover {
  background: #333 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.swal2-cancel.swal2-styled {
  background: #6c757d !important;
  color: #fff !important;
}

.swal2-cancel.swal2-styled:hover {
  background: #5a6268 !important;
}

/* ===================================================
   OTP INPUTS
   =================================================== */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.otp-inputs-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px auto;
  max-width: 360px;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.otp-digit {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important; /* Prevent shrinking */
  text-align: center !important;
  font-size: 20px !important;
  font-weight: bold !important;
  border: 2px solid #ddd !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
  margin: 0 !important;
}

.otp-digit:focus {
  border-color: var(--ky-accent-color) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

.otp-digit.filled {
  border-color: var(--ky-accent-color) !important;
  background: #f9fafb !important;
}

/* ===================================================
   SIGNIN MODAL STYLES
   =================================================== */
.signin-phone-display {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.signin-phone-display i {
  color: var(--ky-accent-color);
  font-size: 18px;
}

.inline-signin-modal .swal2-input {
  margin: 10px 0 !important;
  width: 100% !important;
  padding: 14px !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 15px !important;
}

.inline-signin-modal .swal2-input:focus {
  border-color: var(--ky-accent-color) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

.inline-signin-modal .swal2-input[readonly] {
  background: #f5f5f5;
  cursor: not-allowed;
}

.inline-signin-modal button {
  width: 100% !important;
  margin: 8px 0 !important;
}

/* ===================================================
   OTP MODAL STYLES
   =================================================== */
.inline-otp-modal p {
  color: #666;
  font-size: 14px;
  text-align: center;
}

/* ===================================================
   SWEETALERT2 CUSTOM STYLES
   =================================================== */
.swal2-popup {
  border-radius: 16px !important;
  padding: 30px !important;
  overflow-x: hidden !important;
}

.swal2-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #000 !important;
  margin-bottom: 20px !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.swal2-html-container {
  margin: 0 !important;
  padding: 0 !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.swal2-html-container p {
  line-height: 1.6 !important;
}

/* ===================================================
   CUSTOM BUTTON CLASSES
   =================================================== */
.swal2-confirm-btn {
  background: var(--ky-accent-color) !important;
  color: #fff !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 120px !important;
}

.swal2-confirm-btn:hover {
  background: #333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.swal2-cancel-btn {
  background: #6c757d !important;
  color: #fff !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 120px !important;
}

.swal2-cancel-btn:hover {
  background: #5a6268 !important;
  transform: translateY(-2px) !important;
}

/* ===================================================
   BUTTON SPACING FIXES
   =================================================== */
.swal2-actions-spaced {
  gap: 12px !important;
  margin-top: 24px !important;
  display: flex !important;
  justify-content: center !important;
}

.modal-button-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.modal-button-group button {
  flex: 1;
}

.signup-section .modal-button-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.signup-section .modal-button-group button {
  flex: 1;
  min-width: 100px;
}

/* ===================================================
   IMPROVED CLOSE BUTTON
   =================================================== */
.swal2-close {
  width: 36px !important;
  height: 36px !important;
  font-size: 28px !important;
  line-height: 32px !important;
  color: #666 !important;
  transition: all 0.2s ease !important;
}

.swal2-close:hover {
  color: #000 !important;
  background: #f0f0f0 !important;
  transform: scale(1.1);
}

/* ===================================================
   MODAL ERROR MESSAGES
   =================================================== */
.modal-error-message {
  color: #dc3545 !important;
  font-size: 13px !important;
  margin-top: 8px !important;
  padding: 8px 12px !important;
  background: #fee !important;
  border-radius: 4px !important;
  border-left: 3px solid #dc3545 !important;
  display: none !important;
  text-align: left !important;
}

.modal-error-message:not(:empty) {
  display: block !important;
}

/* ===================================================
   MODAL ANIMATIONS
   =================================================== */
.swal2-show {
  animation: swalSlideIn 0.25s ease !important;
}

.swal2-hide {
  animation: swalSlideOut 0.2s ease !important;
}

@keyframes swalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes swalSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
}

.swal2-backdrop-show {
  animation: backdropFadeIn 0.3s ease !important;
}

.swal2-backdrop-hide {
  animation: backdropFadeOut 0.2s ease !important;
}

@keyframes backdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes backdropFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ===================================================
   SMOOTH SECTION TRANSITIONS
   =================================================== */
.signup-section {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   MOBILE RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  .signup-progress-bar {
    padding: 0 10px;
  }

  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .step-label {
    font-size: 10px;
    max-width: 70px;
  }

  .otp-digit {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px;
  }

  .otp-inputs,
  .otp-inputs-container {
    gap: 6px;
  }

  .swal2-popup {
    padding: 20px !important;
    width: 90% !important;
  }

  .swal2-title {
    font-size: 20px !important;
  }

  .signup-section .swal2-input,
  .inline-signin-modal .swal2-input {
    padding: 10px;
    font-size: 14px;
  }

  .signup-section button,
  .inline-signin-modal button,
  .inline-otp-modal button {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .signup-progress-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .step-label {
    font-size: 9px;
    max-width: 60px;
  }

  .otp-digit {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px;
  }

  .otp-inputs,
  .otp-inputs-container {
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .otp-inputs-container {
    gap: 4px;
    max-width: 240px;
  }
  
  .otp-digit {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    font-size: 16px !important;
  }
}

/* Reset Elementor's global button styles in checkout area */
/* RESET Elementor hover without breaking base color */
.pfc-container button:hover,
.pfc-container button:focus,
.pfc-container [type="button"]:hover,
.pfc-container [type="button"]:focus,
.pfc-container [type="submit"]:hover,
.pfc-container [type="submit"]:focus,
.ky-new-checkout-container button:hover,
.ky-new-checkout-container button:focus,
.swal2-popup button:hover,
.swal2-popup button:focus,
.schedule-popup-overlay button:hover,
.schedule-popup-overlay button:focus {
    filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Confirm Details Button Hover */
#confirm-customer-details-btn,
.ky-confirm-details-btn {
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: white !important;
    transition: all 0.3s ease !important;
}

#confirm-customer-details-btn:hover,
#confirm-customer-details-btn:focus,
.ky-confirm-details-btn:hover,
.ky-confirm-details-btn:focus {
    background-color: black !important;
    color: white !important;
    border-color: black !important;
}

/* Cancel Order Button Hover */
.ky-cancel-btn {
    background: transparent !important;
    color: #111827 !important;
    border: 1px solid #E5E7EB !important;
    transition: all 0.3s ease !important;
}

.ky-cancel-btn:hover,
.ky-cancel-btn:focus {
    background: #111827 !important;
    color: white !important;
    border-color: #111827 !important;
}

/* Edit Order Button Hover */
.ky-edit-btn {
    background: transparent !important;
    color: #111827 !important;
    border: 1px solid #E5E7EB !important;
    transition: all 0.3s ease !important;
}

.ky-edit-btn:hover,
.ky-edit-btn:focus {
    background: #111827 !important;
    color: white !important;
    border-color: #111827 !important;
}

/* Edit Schedule Button Hover */
.edit-schedule-btn {
    background: none !important;
    border: none !important;
    color: var(--accent-color, #000) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.edit-schedule-btn:hover,
.edit-schedule-btn:focus {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000 !important;
    transform: scale(1.1) !important;
}

/* Schedule Confirm Button Hover */
#confirmScheduleBtn,
.primary-btn {
    background: var(--accent-color, #000) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

#confirmScheduleBtn:hover,
#confirmScheduleBtn:focus,
.primary-btn:hover,
.primary-btn:focus {
    background: var(--accent-color) !important;
    color: white !important;
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

/* SweetAlert Confirm Button Hover */
.swal2-confirm.swal2-styled,
.swal2-confirm-btn {
    background: #111827 !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm.swal2-styled:hover,
.swal2-confirm.swal2-styled:focus,
.swal2-confirm-btn:hover,
.swal2-confirm-btn:focus {
    background: #374151 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* SweetAlert Cancel Button Hover */
.swal2-cancel.swal2-styled,
.swal2-cancel-btn {
    background: white !important;
    color: #374151 !important;
    border: 2px solid #E5E7EB !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel.swal2-styled:hover,
.swal2-cancel.swal2-styled:focus,
.swal2-cancel-btn:hover,
.swal2-cancel-btn:focus {
    background: #F9FAFB !important;
    color: #374151 !important;
    border-color: #D1D5DB !important;
    transform: translateY(-2px) !important;
}

/* Apply Button (Coupon) Hover */
#coupon-section .apply-btn {
    background-color: #2D3748 !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

#coupon-section .apply-btn:hover,
#coupon-section .apply-btn:focus {
    background-color: #1A202C !important;
    color: white !important;
    opacity: 1 !important;
}

/* Payment Gateway Selection Labels Hover */
.payment-label {
    transition: all 0.3s ease !important;
}

.payment-label:hover {
    border-color: var(--ky-accent-color) !important;
    background: #f9fafb !important;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--ky-accent-color) !important;
    background: #f5f5f5 !important;
}


/* ===================================================
   ADDITIONAL IMPROVEMENTS
   =================================================== */

/* Ensure proper spacing in schedule row */
.ky-meta-value {
    text-align: right;
    font-weight: 600;
    color: #000;
    max-width: 65%; /* Slightly increased to accommodate longer text */
    word-wrap: break-word;
}

/* Improve schedule summary visibility in popup footer */
#scheduleSummary {
    margin-bottom: 15px;
    padding: 12px 16px;
    background: #f0f9ff; /* Light blue background */
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #1e40af;
    font-weight: 500;
}

/* Smooth scroll for time slots */
.schedule-time-list-container {
    scroll-behavior: smooth;
}

/* Better touch targets for mobile time slots */
@media (max-width: 768px) {
    .time-slot-item {
        padding: 4px 0;
    }
    
    .time-slot-item label {
        padding: 14px 12px; /* Larger touch target */
        font-size: 14px;
    }
}

.iti__selected-country{
    
    border-left: 1px solid #fff !important;
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #fff !important;
    border-right: unset !important;
    border-radius: 9px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;

}

#edit-schedule-btn{
    margin-left: -40px !important;
}

/* Reset margin on small screens */
@media (max-width: 783px) {
    #edit-schedule-btn{
        margin-left: 0 !important;   /* or unset */
    }
}

/* =====================================================
   CRITICAL FIX: Override Elementor Button Styles
   Add this at the TOP of your CSS file
   ===================================================== */

/* Force override Elementor's global button styles */
.pfc-container *,
.ky-new-checkout-container *,
.swal2-popup *,
.schedule-popup-overlay * {
    /* Remove Elementor's default transitions and filters */
    filter: none !important;
    -webkit-filter: none !important;
}

/* Reset ALL button hover effects from Elementor */
.pfc-container button,
.pfc-container [type="button"],
.pfc-container [type="submit"],
.ky-new-checkout-container button,
.swal2-popup button,
.schedule-popup-overlay button {
    /* Remove Elementor's brightness/contrast filters */
    filter: none !important;
    -webkit-filter: none !important;
    transition: all 0.3s ease !important;
}

.pfc-container button:hover,
.pfc-container button:focus,
.pfc-container [type="button"]:hover,
.pfc-container [type="button"]:focus,
.pfc-container [type="submit"]:hover,
.pfc-container [type="submit"]:focus,
.ky-new-checkout-container button:hover,
.ky-new-checkout-container button:focus,
.swal2-popup button:hover,
.swal2-popup button:focus,
.schedule-popup-overlay button:hover,
.schedule-popup-overlay button:focus {
    filter: none !important;
    -webkit-filter: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    /* Let our custom colors show */
}

/* =====================================================
   BUTTON-SPECIFIC HOVER FIXES
   ===================================================== */

/* 1. Confirm Details Button */
#confirm-customer-details-btn,
.ky-confirm-details-btn {
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
}

#confirm-customer-details-btn:hover,
#confirm-customer-details-btn:focus,
.ky-confirm-details-btn:hover,
.ky-confirm-details-btn:focus {
    background-color: var(--accent-color) !important;
    color: #fff !important;
    border-color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* 2. SweetAlert Buttons */
.swal2-confirm.swal2-styled,
button.swal2-confirm.swal2-styled {
    background: #111827 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm.swal2-styled:hover,
.swal2-confirm.swal2-styled:focus,
button.swal2-confirm.swal2-styled:hover,
button.swal2-confirm.swal2-styled:focus {
    background: #374151 !important;
    color: #fff !important;
    border-color: #374151 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.swal2-cancel.swal2-styled,
button.swal2-cancel.swal2-styled {
    background: #fff !important;
    color: #374151 !important;
    border: 2px solid #E5E7EB !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel.swal2-styled:hover,
.swal2-cancel.swal2-styled:focus,
button.swal2-cancel.swal2-styled:hover,
button.swal2-cancel.swal2-styled:focus {
    background: #F9FAFB !important;
    color: #374151 !important;
    border-color: #D1D5DB !important;
    transform: translateY(-2px) !important;
}

/* 3. Cancel & Edit Buttons */
.ky-cancel-btn {
    background: transparent !important;
    color: #111827 !important;
    border: 1px solid #E5E7EB !important;
    transition: all 0.3s ease !important;
}

.ky-cancel-btn:hover,
.ky-cancel-btn:focus {
    background: #111827 !important;
    color: #fff !important;
    border-color: #111827 !important;
}

.ky-edit-btn {
    background: transparent !important;
    color: #111827 !important;
    border: 1px solid #E5E7EB !important;
    transition: all 0.3s ease !important;
}

.ky-edit-btn:hover,
.ky-edit-btn:focus {
    background: #111827 !important;
    color: #fff !important;
    border-color: #111827 !important;
}

/* 4. Apply Coupon Button */
#coupon-section .apply-btn {
    background-color: #2D3748 !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

#coupon-section .apply-btn:hover,
#coupon-section .apply-btn:focus {
    background-color: #1A202C !important;
    color: #fff !important;
    opacity: 1 !important;
}

/* 5. Schedule Confirm Button */
/* #confirmScheduleBtn,
.primary-btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    transition: all 0.3s ease !important;
} */

/* #confirmScheduleBtn:hover,
#confirmScheduleBtn:focus,
.primary-btn:hover,
.primary-btn:focus {
    background: #333 !important;
    color: #fff !important;
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
} */

/* 6. Edit Schedule Button */
.edit-schedule-btn {
    background: none !important;
    border: none !important;
    color: #000 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.edit-schedule-btn:hover,
.edit-schedule-btn:focus {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000 !important;
    transform: scale(1.1) !important;
}

/* 7. Payment Gateway Labels */
.payment-label {
    transition: all 0.3s ease !important;
}

.payment-label:hover {
    border-color: var(--ky-accent-color) !important;
    background: #f9fafb !important;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--ky-accent-color) !important;
    background: #f5f5f5 !important;
}

/* =====================================================
   FIX: Schedule Icon Spacing
   ===================================================== */

.ky-meta-row.schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px !important; /* Reduced spacing */
}

.edit-schedule-btn {
    padding: 4px 6px !important;
    margin-left: 0 !important; /* Remove negative margin */
}

/* Mobile: Reset any special margins */
@media (max-width: 783px) {
    #edit-schedule-btn {
        margin-left: 0 !important;
    }
}

/* =====================================================
   FIX: Mobile Button Layout
   ===================================================== */

@media (max-width: 768px) {
    .ky-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 1rem;
    }

    .ky-card-header h2 {
        font-size: 1.3rem;
        order: 1;
        width: 100%;
        text-align: center;
        margin: 8px 0;
    }

    .ky-cancel-btn {
        order: 0;
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }
    
    .ky-card-header-actions {
        order: 2;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 0;
        padding-top: 12px;
        border-top: 1px solid var(--ky-border-color);
        gap: 10px;
    }

    .ky-edit-btn {
        flex: 1;
        justify-content: center;
    }

    .ky-item-count {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Minimal schedule highlight */
.ky-schedule-highlight {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}

.schedule-prompt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #000;
}

.schedule-prompt i.fa-bolt {
    color: #ff6b6b;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.schedule-helper {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.scheduled-time {
    font-weight: 600;
    color: #28a745;
}

.edit-schedule-btn-minimal {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edit-schedule-btn-minimal:hover {
    background: #000;
    color: #fff;
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 768px) {
    .schedule-helper {
        display: none;
    }
}


/* ========================================
   TOP HEADER - EXACTLY LIKE SCREENSHOT
   ======================================== */
.ky-checkout-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ky-checkout-top-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #000;
    text-align:left;
    flex: 1;
}

/* Back Button - Left Side */
.ky-back-btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #000;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ky-back-btn-header:hover {
    color: #333;
    background-color: #fff;
    transform: translateX(-4px);
}

.ky-back-btn-header i {
    font-size: 18px;
}

/* Cancel Order Button - Right Side */
.ky-cancel-order-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #000000 !important;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ky-cancel-order-header-btn:hover {
    color: #c82333 !important;
    text-decoration: underline;
    background-color: #fff;
}

.ky-cancel-order-header-btn i {
    font-size: 16px;
}

/* ========================================
   ORDER SUMMARY CARD HEADER
   ======================================== */
.ky-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.ky-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.ky-card-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ky-item-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ========================================
   ENHANCED SCHEDULE SECTION
   ======================================== */
.ky-schedule-highlight {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}

.schedule-prompt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #000;
}

.schedule-prompt i.fa-bolt {
    color: #ff6b6b;
    animation: pulseBolt 1.5s infinite;
}

@keyframes pulseBolt {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.schedule-helper {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.scheduled-time {
    font-weight: 600;
    color: #28a745;
}

.edit-schedule-btn-minimal {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edit-schedule-btn-minimal:hover {
    background: #000;
    color: #fff;
    transform: rotate(15deg) scale(1.1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .ky-checkout-top-header {
        padding: 16px 0;
        margin-bottom: 20px;
    }
    
    .ky-checkout-top-header h1 {
        font-size: 24px;
    }
    
    /* Back Button - Mobile */
    .ky-back-btn-header {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .ky-back-btn-header span {
        display: none; /* Hide "Back" text, show only icon */
    }
    
    /* Cancel Order Button - Mobile */
    .ky-cancel-order-header-btn {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .ky-cancel-order-header-btn span {
        display: none; /* Hide "Cancel Order" text, show only icon */
    }
    
    .ky-card-header h2 {
        font-size: 20px;
    }
    
    .schedule-helper {
        display: none;
    }
}

/* ========================================
   SWAL BUTTONS - MATCH THEME
   ======================================== */
.swal2-confirm {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.swal2-confirm:hover {
    background: #333 !important;
}

.swal2-cancel {
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    padding: 12px 32px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.swal2-cancel:hover {
    background: #000 !important;
    color: #fff !important;
}










/* Hide FA icon */
.ky-back-btn-header i {
    display: none;
}

/* Circle arrow */
.ky-back-btn-header::before {
   content: '←';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-size: 24px;
    padding-bottom: 3px;
    font-weight: 400;
    margin-right: 8px;}




    /* Base */
.ky-checkout-top-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    max-width: 1200px;
    width: 100%;

    /* padding: 20px 24px !important; */
    margin: 0 auto 30px auto !important;

    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1024px) {
    .ky-checkout-top-header {
        padding: 16px 20px !important;
        margin-bottom: 20px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ky-checkout-top-header {
        padding: 12px 14px !important;
        margin-bottom: 15px !important;
        gap: 8px;
    }

    .ky-checkout-top-header h1 {
        font-size: 18px !important;
        margin: 0;
    }
}

/* Cancel Order SweetAlert Buttons */
.swal2-confirm-red {
  background-color: #d33 !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  /* margin-right: 10px !important; */
  margin: 5px;
}

.swal2-confirm-red:hover {
  background-color: #b02a2a !important;
}

.swal2-cancel-blue {
  background-color: #fff !important;
  color: #374151 !important;
  border: 2px solid #E5E7EB !important;
  padding: 10px 24px !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin: 5px;
}

.swal2-cancel-blue:hover {
  /* background-color: #5a6268 !important; */
  background-color: #F9FAFB !important;
  color: #374151 !important;
  border-color: #D1D5DB !important;
}



@media (max-width: 768px) {
  #scheduleSummary {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.iti__selected-country{
    display:flex !important;
    align-items:center !important;
    gap:6px;
}

.iti__selected-country-primary{
    display:flex;
    align-items:center;
}

.iti__selected-dial-code{
    display:inline-flex !important;
    align-items:center;
    margin-left:4px;
}

.my-custom-toast {
    top: 50px;
    background: #fff !important;
    color: #000 !important;
    border-radius: 10px !important;
    padding: 12px !important;
}

.my-custom-toast .swal2-title {
    color: #000 !important;
    font-size: 17px !important;
}

.my-custom-toast .swal2-icon {
    margin-right: 8px;
}