/* ==========================================================================
   SCROLLABLE DROPDOWN MENU & SCROLLBAR
   ========================================================================== */
.scrollable-menu {
    max-height: 300px; 
    overflow-y: auto;  
    overflow-x: hidden; 
}

.scrollable-menu::-webkit-scrollbar {
    width: 12px;
}

.scrollable-menu::-webkit-scrollbar-track {
    background: #f8f9fa; 
    border-radius: 10px;
}

.scrollable-menu::-webkit-scrollbar-thumb {
    background-color: #F53F1B; 
    border-radius: 10px;
    border: 2px solid #f8f9fa;
}

.scrollable-menu::-webkit-scrollbar-thumb:hover {
    background-color: #d83515; 
}

/* Dropdown item styling */
.scrollable-menu .dropdown-item {
    color: #1C132E !important;
}

.scrollable-menu .flag-emoji {
    font-size: 1.2rem;
}

.scrollable-menu .dial-code {
    font-size: 0.9rem;
}

/* ==========================================================================
   SELECT2 CUSTOM STYLING (Végleges, letisztított UI)
   ========================================================================== */
/* Main container styling (Border, radius, padding) */
.select2.select2-container.select2-container--default {
    border-radius: 25px !important;
    border: 2px solid #F53F1B !important;
    padding: 4px !important;
}

.select2-container .select2-selection--single {
    height: 36px !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 0 !important;
    font-size: 14px;
    color: #495057; 
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-container--open .select2-selection--single {
    border: none !important; 
    box-shadow: none !important;
    outline: none !important;
}

.select2-dropdown {
    border: 2px solid #F53F1B !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 20px rgba(0,0,0,.15) !important;
    margin-top: 5px !important;
}

.select2-search--dropdown {
    padding: 15px 15px 5px 15px !important;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 15px !important;
    border: 1px solid #ddd !important;
    padding: 5px 10px !important;
    outline: none !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #F53F1B !important;
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(245, 63, 27, 0.1) !important; 
    color: #F53F1B !important;
    font-weight: bold;
}

/* ==========================================================================
   PalletGo: Select2 FOUC (Villogás) elleni álcázás betöltés előtt
   ========================================================================== */
/* Általános álcázás minden rejtett selectre */
select.select2-country:not(.select2-hidden-accessible),
select#inputCityStartDummy:not(.select2-hidden-accessible),
select#inputCityFinishDummy:not(.select2-hidden-accessible) {
    display: block !important;
    box-sizing: border-box !important;
    height: 45px !important;
    width: 100% !important;
    border-radius: 25px !important;
    border: 2px solid #F53F1B !important;
    padding: 0 10px !important;
    background-color: transparent !important;
    color: transparent !important; 
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    pointer-events: none !important;
}

/* Kiemelt, célzott fixek a rakoncátlankodó rejtett (tab) elemekre */
select#dest-countries:not(.select2-hidden-accessible),
select#src-countries:not(.select2-hidden-accessible) {
    height: 45px !important;
    min-width: 100% !important; 
    width: 100% !important;
}

/* ==========================================================================
   BOOTSTRAP SELECT FIX
   ========================================================================== */
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

/* ==========================================================================
   MAP & PHONE COMPONENT STYLING
   ========================================================================== */
#map {
    height: 380px;
}

.phone-btn-connection {
    height: 44px;
    margin-left: 10px;
}

.phone-btn-connection .emoji {
    font-weight: normal;
    padding-bottom: 5px;
}

.phone-country-addon {
    border-top: 2px solid #F53F1B !important;
    border-bottom: 2px solid #F53F1B !important;
    background-color: transparent !important;
    text-align: center;
    padding: 10px 12px 0 12px !important;
}

.phone-input-field {
    height: 44px !important;
}

/* ==========================================================================
   JQUERY VALIDATE LAYOUT FIX
   ========================================================================== */
/* Prevent form jumping; allow space for absolute error labels */
form.form-horizontal .row {
    margin-bottom: 25px !important; 
}

/* Position error labels below inputs */
form.form-horizontal label.error {
    position: absolute !important;
    bottom: -20px !important; 
    left: 15px !important;    
    margin: 0 !important;
    z-index: 10;
}

/* ==========================================================================
   UTILITIES & GRID OVERRIDES (Narrower layout)
   ========================================================================== */
.justify-content-center {
    justify-content: center !important;
}

.d-flex {
    display: flex !important;
}

/* Reduce standard column padding to make content narrower */
.col-xl, .col-xl-auto, .col-xl-12, .col-xl-11, .col-xl-10, .col-xl-9, .col-xl-8, .col-xl-7, .col-xl-6, .col-xl-5, .col-xl-4, .col-xl-3, .col-xl-2, .col-xl-1, .col-lg, .col-lg-auto, .col-lg-12, .col-lg-11, .col-lg-10, .col-lg-9, .col-lg-8, .col-lg-7, .col-lg-6, .col-lg-5, .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-1, .col-md, .col-md-auto, .col-md-12, .col-md-11, .col-md-10, .col-md-9, .col-md-8, .col-md-7, .col-md-6, .col-md-5, .col-md-4, .col-md-3, .col-md-2, .col-md-1, .col-sm, .col-sm-auto, .col-sm-12, .col-sm-11, .col-sm-10, .col-sm-9, .col-sm-8, .col-sm-7, .col-sm-6, .col-sm-5, .col-sm-4, .col-sm-3, .col-sm-2, .col-sm-1, .col, .col-auto, .col-12, .col-11, .col-10, .col-9, .col-8, .col-7, .col-6, .col-5, .col-4, .col-3, .col-2, .col-1 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }
}

/* ==========================================================================
   Promotion
   ========================================================================== */

/* Promotion feedback alapértelmezett színe */
.promo-feedback-text {
    color: blue;
}