/* Search Page Css  */
.search-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.search-div {
    width: 303px;
}

.search-bar .input-group {
    border-bottom: 1px solid var(--very-light-gray);
}

.search-bar .input-group-text {
    border: 0px !important;
    background-color: unset !important;
    padding: 0px;
}

.search-bar .form-control {
    outline: none !important;
    box-shadow: none !important;
    font-size: var(--font-size-18);
    color: #BBBBBB;
    font-weight: var(--font-weight-400);
    padding: 15px 0px 15px 15px;
}

.sorting-text {
    font-size: 10px;
    font-weight: var(--font-weight-700);
    line-height: 26px;
}

.search-bar .dropdown {
    border-bottom: 1px solid var(--very-light-gray);
    border-radius: 0;
}

/* Flexbox layout for the dropdown wrapper */
.sort-div {
    display: flex;
    gap: 60.98px;
}

/* Dropdown containers: 50% width on mobile, 110px on large screens */
.sort-div>div {
    width: 50%;
}

.search-bar .dropdown .btn-link {
    font-family: var(--roboto-font);
    font-size: var(--font-size-12);
    font-weight: var(--font-weight-600);
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    padding-right: 0;
    line-height: 2;
    width: 100%;
    position: relative;
    text-align: left;
    margin: 0px 0px 5.78px 0px;
}

.search-bar .dropdown .btn-link:hover {
    color: var(--black) !important;
}

.search-bar .dropdown-toggle::after {
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11px' height='18.51px' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17 9.17a1 1 0 0 0-1.41 0L12 12.71L8.46 9.17a1 1 0 0 0-1.41 0a1 1 0 0 0 0 1.42l4.24 4.24a1 1 0 0 0 1.42 0L17 10.59a1 1 0 0 0 0-1.42'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 18px;
    border: none;
}

.loader-overlay {
    position: relative;
    margin-top: 20px;
    /* Adjust as needed */
    width: 100%;
    height: 50px;
    /* Adjust as needed */
    display: none;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #777051;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

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

    100% {
        transform: rotate(360deg);
    }
}

#imageContainer .caption {
    font-family: var(--roboto-font);
    font-weight: var(--font-weight-600);
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-align: center;
}

#imageContainerAdminSearch .caption {
    font-family: var(--roboto-font);
    font-weight: var(--font-weight-600);
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-align: center;
}

.go-btn {
    display: none;
    border-radius: 0px;
    background: black;
    font-family: var(--roboto-font);
    font-weight: 700 !important;
    font-size: 12px !important;
    line-height: 26px !important;
    letter-spacing: 0.12em;
    border: 0px !important;
    height: 35px;
    width: 37.03px;
    padding: 0px;
}

.go-btn:hover {
    background: black;
}

.go-btn.visible {
    display: inline-block;
}

/* .go-btn.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
    background: black !important;
} */


.match-making .form-control {
    outline: none !important;
    box-shadow: none !important;
    font-size: var(--font-size-14);
    color: #6D6D6D !important;
    background: transparent !important;
    font-weight: var(--font-weight-400);
    padding: 15px 0px 15px 15px;
}


input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

#searchForm .dropdown-item.active {
    background: #f8f9fa;
    color: unset;
}

#searchForm .dropdown-item:active {
    background: #f8f9fa !important;
    color: unset;
}

/* Fix container css */

.custom-fixed-container {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
}

.female-search {
    padding: 15px 0px 10.92px 15px !important;
}

.search-image-class {
    max-height: inherit;
    height: 255px;
    object-fit: cover;
    width: 100%;
}

/* skeleton */

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.skeleton-card {
    width: 225px;
    height: 255px;
    margin-bottom: 50px;
    border-radius: 0px;
}

.skeleton-img {
    width: 100%;
    height: 225px;
    margin-bottom: 8px;
}
.skeleton-name {
    width: 100%;
    height: 20px;
    margin-top: 7px;
}

/* Responsive Screen */

@media (max-width: 767.98px) {
    .search-bar .search-div {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .search-bar {
        width: 100%;
        display: block !important;
    }
}

@media (min-width: 768px) {
    .sort-div>div {
        width: 110px;
    }
}

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 400px) {
    .search-image-class {
        height: 200px !important;
    }
}

@media (max-width: 575.98px) {}

/* Small Devices (phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sort-div>div {
        width: 110px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}
