/* Aaquib CSS Starts */
/* Header Live Search Styling */
#header-search-wrapper {
    max-width: 100%;
}

.header-search-input {
    padding-right: 50px;
    border-radius: 8px;
    height: 50px;
    font-size: 15px;
}

#header-search-results {
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.search-result-group {
    padding: 10px 20px;
    background: #f8f9fa;
    font-size: 13px;
    font-weight: 700;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f0f7ff;
    color: #d32f2f;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-doc-img {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-doc-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.search-result-item mark {
    background: #fff3cd;
    color: #d32f2f;
    padding: 0;
}

.doctor-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


/* Large Tablets (portrait/landscape) and below */
@media screen and (max-width: 1200px) {
    /* Styles for devices <= large tablets */
}

/* Medium Tablets and below */
@media screen and (max-width: 992px) {
    /* Styles for <= 10" tablets */
}

/* Small Tablets / Large Phones */
@media screen and (max-width: 768px) {
    /* Styles for small tablets + large phones */
}

/* Mobile Phones */
@media screen and (max-width: 576px) {
    /* Styles for mobile devices only */
}


/*Part #2*/
/* Tablet Landscape and below (≤ 1024px) */
@media screen and (max-width: 1024px) {
    /* Tablet landscape + portrait + phones */
}

/* Tablet Portrait and below (≤ 820px) */
@media screen and (max-width: 820px) {
    /* Narrow tablets + phones */
}

/* Phones (≤ 600px) */
@media screen and (max-width: 600px) {
    /* All mobile phones */
}
/*Part #2 Ends*/


/* From tablets (768px) up to any larger resolution */
@media screen and (min-width: 768px) {
   .location-info > span, .doctor-content > p.doctor-title{
     display: inline-block;
     max-width: 21ch;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
   }
}




@media screen and (min-width: 991px) and (max-width: 1399px) {

    .doctor-card .button-group {
        display: flex;
        flex-direction: column;   /* Stack vertically */
        gap: 12px;                /* Space between buttons */
    }

    .doctor-card .button-group a {
        width: 100%;              /* Full width buttons */
        display: block;
        text-align: center;
    }
}


#registerModal .register-modal-clean {
    position: relative;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
#registerModal .register-close-outside {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 44px;
    height: 44px;
    background: #f7f7f7 var(--bs-btn-close-bg) center / 1em auto no-repeat;
    border: 3px solid #f7f7f7;
    border-radius: 50%;                        
    z-index: 1070;
    opacity: 1;
    transition: all 0.2s ease;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 576px) {
    #registerModal .register-close-outside {
        width: 40px;
        height: 40px;
        top: -10px;
        right: -10px;
    }
}
.btn-close{
    filter: unset !important;
}

/* Unavailable/Blocked/Booked Slots – Red Theme */
.ainu-time-slot.booked {
    background-color: #efefef !important;
    color: #b7b7b7 !important;
    border: 1px solid #c1c1c1 !important;
    opacity: 0.8;
}
/* Aaquib CSS Ends */