/* /usr/local/lsws/leystore/html/Assets/css/main.css */
/* Essential base styles */
body {
    background-color: #f8f9fa;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
    }
}

/* Search Modal styles */
.modal-bottom .modal-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}

.modal-bottom .modal-content {
    border-radius: 1rem 1rem 0 0;
}

.search-results {
    height: calc(100vh - 60px);
    overflow-y: auto;
}

/* Search Results styles */
.search-input-wrapper {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    margin-top: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 991.98px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px;
        left: 15px;
        right: 15px;
        max-height: calc(100vh - 170px);
    }
    
    .fixed-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
.search-input-wrapper {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: white;
    margin-top: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .search-results-dropdown {
        max-height: 400px;
        overflow-y: auto;
    }
}

@media (max-width: 991.98px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px;
        left: 15px;
        right: 15px;
        max-height: calc(100vh - 170px);
        overflow-y: auto;
    }
}