/* banner doctor desktop */
.about-banner-img {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
}

/* banner doctor mobile */
.about-banner-mobile-img {
    width: 100%;
    max-height: 811px;
    object-fit: cover;

}

/* find đội ngũ bác sĩ */
/* css hiện gợi ý 
.autocomplete-list {
    background: #f0f9f6;
    color: #333;
    position: absolute;
    z-index: 100;
    max-width: 400px;
    width: 100%;
    border-radius: 50px;
    top: 53px;
    text-align: left;
    padding: 20px 30px;
    display: none;
}


.autocomplete-list div:hover {
    cursor: pointer;
    color: #0C4242;
} */

.doctor-search {
    text-align: center;
}

.search-bar input::placeholder {
    font-family: 'Helvetica Neue';
    font-size: 16px;
    color: #0C4242;
    font-weight: 300;
    line-height: 26px;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}


.search-bar input {
    font-size: clamp(12px, 0.7vw, 14px);
    width: 100%;
    max-width: 400px;
    padding: 16px 25px;
    border: 1px solid #AFBEBB;
    border-radius: 30px;
    outline: none;
    box-sizing: border-box;

}


.search-bar button {
    padding: 12px 18px;
    border: 1px solid #ccc;
    border-left: none;
    background-color: white;
    border-radius: 0 24px 24px 0;
    cursor: pointer;
}

.search-bar i {
    position: absolute;
    right: calc(50% - 175px);
    top: 50%;
    transform: translateY(-50%);
    color: #7F7F7F;
    pointer-events: none;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 60px;
    color: #103f3f;
    letter-spacing: -1px;
}

.location-buttons {
    display: flex;
    justify-content: center;
    gap: 17px;
}

.location-buttons button {
    font-family: 'Helvetica Neue';
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    background-color: #AFBEBB;
    color: #ffffff;
    max-width: 205px;
    width: 100%;
    height: 50px;
    text-transform: uppercase
}

.location-buttons .active {
    background-color: #0d4b4b;
    color: white;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    font-family: 'Helvetica Neue', sans-serif;
}

.custom-dropdown {
    position: relative;
    width: 315px;
    font-size: clamp(12px, 0.8vw, 16px);
    color: #0C4242;
}

.dropdown-header {
    font-family: 'Helvetica Neue';
    font-size: clamp(12px, 0.8vw, 16px);
    border: 1px solid #AFBEBB;
    border-radius: 50px;
    padding: 16px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0C4242;
    height: 60px;
}

.dropdown-list {
    position: absolute;
    left: 0;
    right: 0;
    background: #f0f9f6;
    border-radius: 30px;
    padding: 10px 25px;
    display: none;
    z-index: 10;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}


.dropdown-list li {
    border-bottom: 1px solid #AFBEBB;
    cursor: pointer;
    list-style: none;
    text-align: left;
    color: #7F7F7F;
}

.dropdown-list li:hover {
    color: #0C4242;
}

.dropdown-list li:last-child {
    border-bottom: none;
}

.custom-dropdown.active .dropdown-list {
    display: block;
}


/* đôi ngũ bác sĩ mobile */
.doctor-search-mobile {
    padding: 20px;
    background-color: #EFF6F4;
    font-family: 'Helvetica', sans-serif;
}

.search-bar-mobile {
    position: relative;
    width: 305px;
    margin: auto;
}

.search-bar-mobile input::placeholder {
    font-family: 'Helvetica Neue';
    font-size: clamp(12px, 3.3vw, 14px);
    color: #0C4242;
    font-weight: 300;
    line-height: 1.6;
}

.search-bar-mobile input {
    width: 100%;
    padding: 14px 25px 15px 25px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    background-color: white;
}

.search-bar-mobile i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.section-title-mobile {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    line-height: 40px;
    font-weight: 400;
    margin: 15px 0;
    text-align: center;
    color: #0C4242;
    letter-spacing: -2px;

}

.location-buttons-mobile {
    display: flex;
    justify-content: center;
    gap: 4px;
    max-width: 368px;
    height: 47px;
    margin: 0 auto;
    margin-bottom: 15px;
}

.location-buttons-mobile button {
    padding: 10px 0px;
    border-radius: 30px;
    max-width: 120px;
    max-height: 35px;
    width: 100%;
    height: 100%;
    border: none;
    background-color: #ffffff;
    color: #0C4242;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 16px;
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-weight: 500;
    font-size: 10px;
}

.location-buttons-mobile .active {
    background-color: #0C4242;
    color: #ffffff;
}

.filters-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-family: 'Helvetica Neue', sans-serif;
    flex-wrap: nowrap;
}

.custom-dropdown-mobile {
    position: relative;
    max-width: 368px;
    max-height: 35px;
    color: #0C4242;
    font-family: 'Helvetica Neue';
}

.dropdown-header-mobile {
    font-size: clamp(10px, 3.3vw, 14px);
    font-family: 'Helvetica Neue';
    font-weight: 300;
    line-height: 1.6;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 16px 15px 16px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0C4242;
    height: 100%;
    width: 180px;
}

.dropdown-icon-mobile {
    transition: transform 0.3s ease;
    width: 12px;
    height: auto;
    margin-left: 8px;
}

.custom-dropdown-mobile.active .dropdown-icon-mobile {
    transform: rotate(180deg);
}

.custom-dropdown-mobile:not(.active) .dropdown-icon-mobile {
    transform: rotate(0deg);
}


.dropdown-list-mobile {
    position: absolute;
    left: 0;
    right: 0;
    background: #AFBEBB;
    border-radius: 18px;
    padding: 10px 25px;
    display: none;
    z-index: 10;
    list-style: none;
}

.custom-dropdown-mobile.active .dropdown-list-mobile {
    display: block;
}

.dropdown-list-mobile li {
    border-bottom: 1px solid #ffffff;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    font-family: 'Helvetica Neue';
    font-size: clamp(10px, 3.3vw, 14px);
    font-weight: 300;
    line-height: 1.6;
}

.dropdown-list-mobile li:hover {
    color: #0C4242;
}

.dropdown-list-mobile li:last-child {
    border-bottom: none;
}



/* list bác sĩ desktop*/

/* .doctor-list {
    margin-top: 50px;
} */

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    row-gap: 45px;
}

.doctor-card {
    background: #EFF6F4;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.doctor-card:hover {
    box-shadow: 0px 5px 30px 0px rgba(112, 142, 134, 0.6);
    transform: translateY(-5px);
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(112, 142, 134, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.doctor-card:hover .overlay {
    opacity: 1;
}

.doctor-card>*:not(.overlay) {
    position: relative;
    z-index: 2;
}


.doctor-card-img {
    width: 100%;
    height: auto;
}

/* .img-doctor {
    width: 100%;
    height: auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
} */



.doctor-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-info h2 {
    font-family: 'Playfair Display';
    font-weight: 500;
    font-size: clamp(18px, 1.4vw, 26px);
    line-height: 1.4;
    color: #7F7F7F;
    letter-spacing: -1px;
    margin: 0;
}

.doctor-info p {
    font-family: 'Helvetica Neue Medium';
    font-size: clamp(12px, 0.8vw, 15px);
    font-weight: 500;
    line-height: 1.6;
    color: #687276;
    margin-bottom: 21px;
}

.btn-detail {
    text-decoration: none;
    color: #7F7F7F;
    font-family: 'Helvetica Neue';
    font-weight: 700;
    font-size: clamp(12px, 0.8vw, 16px);
    line-height: 1.3;
}

.doctor-info a:hover {
    color: #7F7F7F;
}

.doctor-card.placeholder {
    background-color: #AFBEBB;
    height: 574px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    gap: 12px;
}

.pagination .nav {
    width: 50px;
    height: 50px;
    border: none;
    background: #EFF6F4;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.pagination .nav img {
    display: block;
    max-width: none;
}

.pagination .dot {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b0c5c2;
    border-radius: 50%;
    color: #EFF6F4;
    text-decoration: none;
    font-size: 24px;
    cursor: pointer;
}

.pagination .nav:last-of-type {
    margin-left: 67px;
}

.pagination .nav:last-of-type:hover {
    background: rgba(12, 66, 66, 0.2);
}

.pagination .nav:first-of-type {
    margin-right: 67px;
}

.pagination .nav:first-of-type:hover {
    background: rgba(12, 66, 66, 0.2);
}


.pagination .dot.active {
    background: #0C4242;
}

ul.record-list {
    display: none;
}

ul.pagination {
    display: none;
}

/* list bác sĩ mobile*/
.doctor-list-mobile {
    padding: 16px;
    background-color: #EFF6F4;
}

.doctor-card-mobile {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 25px;
}

.doctor-avatar {
    width: 157px;
    height: 157px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.doctor-info-mobile {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px 16px 10px 19px;
    white-space: nowrap;
}

.doctor-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 2px;
    color: #000000;
}

.doctor-text p {
    font-family: 'Helvetica Neue Light';
    font-weight: 300;
    line-height: 22px;
    margin: 0;
    font-size: 14px;
    margin-bottom: 2px;
}

.doctor-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    color: #004d40 !important;
    text-decoration: none;
    font-size: 14px;
}

.doctor-link .arrow {
    width: 24px;
    height: 15px;
}