#company_map {
    height: 300px;
    width: 100%;                                    
}

#swifty-fullpage-loader {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
}

.swifty-loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* For Cart (in Topbar) */
.cart-dropdown {
    width: 500px;
    max-width: 90vw; /* avoid overflow on medium screens */
}


.swifty-loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .cart-dropdown {
        position: fixed !important; 
        top: 60px !important; 
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0;
        z-index: 9999; 
    }

    .cart-table-wrapper {
        overflow-x: auto;
    }

    .swifty_cart_data_table {
        min-width: 400px;
    }
}


/* =========================
   Metronic-style Select2
   ========================= */
.form-select + .select2-container {
    width: 100% !important;
    display: block;
    position: relative;
    font-family: inherit;
    font-size: 0.875rem; /* Matches Metronic font size */
    line-height: 1.5;
    color: #181C32; /* Metronic primary text color */
}

.form-select + .select2-container .select2-selection {
    height: 44px; /* Metronic input height */
    padding: 0.625rem 1rem;
    border: 1px solid #E4E6EF; /* Metronic input border */
    border-radius: 0.475rem; /* Metronic input radius */
    background-color: #fff;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select + .select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    width: 100%;
    padding: 0.300rem .300rem;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--bs-gray-700);
    appearance: none;
    background-color: #ffffff;
    border-radius: .475rem;
    box-shadow: false;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #F9F9F9 !important;
    color: #1B84FF !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
        background-color: var(--bs-body-bg);
    padding: 0.55rem 0.75rem;
    color: var(--bs-gray-700);
    font-size: 0.95rem;
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.425rem;
    outline: 0 !important;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder {
    color: var(--bs-gray-500);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    font-size: 14px;
    background-color: #e4e4e4 !important;
    border: 1px solid #aaa !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    margin-left: 5px !important;
    margin-top: 5px !important;
    padding: 0 !important;
    padding-left: 20px !important;
    position: relative !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: bottom !important;
    white-space: nowrap !important;
}

.select2-container .select2-search--inline .select2-search__field {
    font-size: 14px !important;
}    

/* ACF Form */
.acf-form input.form-control, .acf-form textarea.form-control, .acf-form select.form-select {
    padding: .775rem 1rem !important;
    height: auto;
    box-sizing: border-box;
}

.acf-button-group label.selected {
    border-color: var(--bs-primary) !important;
    background: var(--bs-primary) !important;
    color: #fff;
    z-index: 2;
}

/* Hosted form related */
#hpf-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #555;
    z-index: 100;
}

.swifty-hpf-spinner-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 50px;
    height: 50px;
}

.swifty-hpf-spinner-loader .circle-loader {
    border: 6px solid #f3f3f3;       /* Light gray background */
    border-top: 6px solid #007bff;    /* Blue spinning part */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: swifty-hpf-spin 1s linear infinite;
}

@keyframes swifty-hpf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.acf-frontend-hidden{
    display: none !important;
}