.hero {
    background-image: url('../img/stock-hero.jpg');
    background-position: center;
    background-size: cover;
}

.static {
    position: static!important;
    transform: translate(0px)!important;
}

.btn-active {
    border-radius: .5rem .5rem 0 0!important;
}

.dd-btn svg {
    transition: .15s ease-in-out;
}

.btn-active svg {
    transform: rotate(180 deg);
}

.search-stock button {
    width: 100%;
    display: flex;
    background: #fff!important;
    color: #000!important;
    text-transform: capitalize!important;
    border: none;
    font-weight: 600;
    outline: none!important;
    transition: none;
}

.lg\:col-span-2 {
    grid-column: span 2 / span 2!important;
}

.xl\:flex-row {
    flex-direction: row!important;
}

#toSort {
    border: none!important;
}

.xl\:items-center {
    align-items: center!important;
}

#resultsAmount {
    margin-right: 4px;
}
/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 50;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    align-items: center; /* Center align modal vertically */
    justify-content: center; /* Center align modal horizontally */
}

.modal-content {
    background-color: #f5f5f5; /* Plain grey background */
    padding: 20px;
    border: none; /* Remove border for a cleaner look */
    width: 90%;
    max-width: 600px;
    position: relative; /* Needed for close button positioning */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow for better visibility */
}

.close {
    color: #aaa;
    position: absolute; /* Position it within the modal content */
    top: 10px; /* Align to top right */
    right: 20px; /* Align to top right */
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.inverted-bright {
    filter: invert(1) brightness(2);
    box-shadow: 0 0 6px 6px rgba(255, 255, 255, .05) !important;
}
