/* Mobile Arrow Alignment Fixes for Search Form */

@media (max-width: 1333px) {
    .twitter-typeahead {
        width: 85px;
    }
}

/* Tablet and above devices - center content */
@media (min-width: 768px) {
    .filter-section .custom-select1 .select-box {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 12px;
        min-height: 38px;
    }
    
    .filter-section .custom-select1 .selected-option {
        text-align: center;
        flex: 1;
    }
    
    .filter-section .custom-select1 .arrow {
        margin-left: 8px;
    }
}

/* Tablet and smaller screens */
@media (max-width: 767px) {
    
      
    .filter-section .custom-select1 .select-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0px;
        min-height: 38px;
    }
    
    .filter-section .custom-select1 .selected-option {
        flex: 1;
        font-size: 14px;
        line-height: 1.4;
    }
    
    .filter-section .custom-select1 {
        height: 38px;
        display: flex;
        align-items: center;
    }
    
    /* Ensure consistent styling with search input */
    .filter-section .custom-select1 .select-input-dark {
        border-radius: 0;
        border: none;
        background-color: #fff;
    }
}

/* Mobile phones */
@media (max-width: 575px) {
    
    .filter-section .custom-select1 .select-box {
        padding: 6px 0px;
        min-height: 36px;
    }
    
    .filter-section .custom-select1 {
        height: 36px;
    }
    
    /* Ensure search input and selects have consistent styling */
    .filter-section .form-control {
        height: 36px;
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .filter-section .input-group {
        margin-top: 10px;
    }
    
    /* Improve spacing between elements on mobile */
    .filter-section .col-md-4 {
        margin-bottom: 10px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .twitter-typeahead{
        width: 85px;
    }
    .filter-section .custom-select1 .select-box {
        padding: 4px 0px;
        min-height: 34px;
    }
    
    .filter-section .custom-select1 {
        height: 34px;
    }
    
    .filter-section .form-control {
        height: 34px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Owl Carousel Mobile Arrow Optimizations */

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {
    .owl-carousel .nav-btn {
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Add subtle background for better visibility */
    .owl-carousel .prev-slide,
    .owl-carousel .next-slide {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        margin: 0 5px;
    }
}

/* Improved arrow visibility on mobile */
@media (max-width: 480px) {
    .owl-carousel .nav-btn {
        min-height: 40px;
    }
    
    /* Add shadow for better contrast */
    .owl-carousel .prev-slide,
    .owl-carousel .next-slide {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .owl-carousel .nav-btn {
        min-height: 36px;
    }
    
    .owl-carousel .prev-slide,
    .owl-carousel .next-slide {
        margin: 0 2px;
    }
}

.custom-select1 .arrow{
    display: none;
}