.box_profile figure img {
    border-radius: 14px;
    box-shadow: 5px 3px 6px rgba(0, 0, 0, 0.2);
}
.box_profile figure {
    background-color: transparent;
}

/* ------ */
.doctorCard_cardContainerItem__S3qaF {
    margin: 0 -15px;
}

.doctorCard_cardContainerItem__S3qaF > div {
    padding: 0 15px;
}

.doctor-contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .doctorCard_additionalInfo__bq9bD {
        margin-top: 20px;
    }
}

.statistic li:first-child {
    margin-left: 0;
}
ul.statistic li {
    border-radius: 3px;
    line-height: normal;
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    font-size: .75rem;
  }
ul.statistic li {
    /* background-color: #007bff; */
    background: linear-gradient(45deg, #2196F3, #1976D2);
    transition: all 0.3s ease;
    transform: translateZ(20px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    font-weight: 600;
    min-width: 94px;
    margin: 4px;
    display: inline-block;
  }
  .doctorCard_specialityDisplay__8FMQ3 {
    background: linear-gradient(45deg, #4e54c8, #8089ff);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin: 5px 0;
    box-shadow: 0 2px 8px rgba(78, 84, 200, 0.2);
    transition: all 0.3s ease;
}

.doctorCard_specialityDisplay__8FMQ3:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(78, 84, 200, 0.3);
}

.doctorCard_docSpecility__rcIMQ {
    margin: 10px 0;
}

/* View Profile Link Start */
.fixed-profile-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.profile-view-btn {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .fixed-profile-btn {
        display: block;
    }
    
    /* Add padding to prevent content from hiding behind fixed button */
    body {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    .fixed-profile-btn {
        width: auto;
        right: 20px;
        left: auto;
        bottom: 20px;
        padding: 0;
        display: block;
    }
    
    .profile-view-btn {
        width: auto !important;
        padding: 10px 20px !important;
        border-radius: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}
/* View Profile Link End */

/* Doctor Appointment CSS Start */
.booking-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.doctor-brief {
    display: flex;
    gap: 15px;
}

.doctor-modal-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-brief-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.consultation-fee {
    text-align: right;
}

.fee {
    font-size: 24px;
    color: #4e54c8;
    font-weight: bold;
}

.booking-steps {
    padding: 20px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    padding: 5px 10px;
    /* background: #f5f5f5; */
    border-radius: 20px;
    position: relative;
}

.step.active {
    /* background: #4e54c8; */
    color: white;
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: #f0f0f0;
}

.time-slot.selected {
    background: #4e54c8;
    color: white;
    border-color: #4e54c8;
}

.modal {
    background: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-dialog {
    transform: none !important;
    margin: 1.75rem auto;
}

.doctor-modal-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.doctor-brief {
    display: flex;
    gap: 15px;
}

.doctor-brief-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.consultation-fee {
    text-align: right;
}

.fee {
    font-size: 24px;
    color: #4e54c8;
    font-weight: bold;
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.modal-dialog {
    max-width: 800px;
}

.modal-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 500;
}

.doctor-info {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.doctor-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-details h4 {
    margin: 0;
    font-size: 18px;
    color: #272b41;
}

.doctor-details .speciality {
    color: #757575;
    font-size: 14px;
    margin: 5px 0;
}

.doctor-details .location {
    color: #757575;
    font-size: 14px;
}

.consultation-fee {
    text-align: right;
}

.consultation-fee p {
    margin: 0;
    color: #757575;
    font-size: 14px;
}

.consultation-fee h3 {
    color: #1977cc;
    margin: 5px 0 0;
    font-weight: 600;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    background: #f8f9fa;
}

.time-slot.selected {
    background: #1977cc;
    color: white;
    border-color: #1977cc;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
    padding: 15px 20px;
}

.btn-primary {
    background: #1977cc;
    border-color: #1977cc;
}

.btn-primary:hover {
    background: #1464ac;
    border-color: #1464ac;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 1050;
}

.modal-dialog {
    z-index: 1051;
    position: relative;
    pointer-events: auto;
}

.modal-open {
    overflow: hidden;
}

.modal-backdrop {
    z-index: 1040;
}

/* Calendar Styles */
.datepicker {
    width: 100% !important;
    display: block !important;
}

.datepicker table {
    width: 100% !important;
    table-layout: fixed;
}

.datepicker table tr td,
.datepicker table tr th {
    width: calc(100% / 7);
    height: 40px;
    text-align: center;
    padding: 8px 2px;
}

.datepicker-days {
    width: 100% !important;
}

.datepicker.dropdown-menu {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    float: none !important;
}

.calendar-section {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .datepicker table tr td,
    .datepicker table tr th {
        height: 35px;
        font-size: 13px;
    }
}

/* Doctor Appointment CSS End */

/* Search Page Style Start */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.booking-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.booking-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #007bff;
    color: white;
    border-radius: 10px 10px 0 0;
}
.booking-modal-header h4 {
    color: #ffffff;
}

.close-modal {
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.booking-modal-body {
    padding: 20px;
}

.doctor-info-section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.doctor-image img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
}

.doctor-details {
    flex: 1;
}

.doctor-details h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.doctor-details .speciality {
    color: #007bff;
    margin-bottom: 5px;
}

.doctor-details .location {
    color: #666;
    margin-bottom: 15px;
}

.consultation-fee {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.consultation-fee span {
    display: block;
    font-size: 14px;
    color: #666;
}

.consultation-fee h5 {
    margin: 5px 0 0 0;
    color: #007bff;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 0 20px;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step.active .step-number {
    background: #007bff;
    color: white;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.step-text {
    display: block;
    font-size: 14px;
    color: #666;
}

.calendar-section {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 20px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.time-slot.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.booking-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.booking-footer button {
    margin-left: 10px;
}

.datepicker {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.datepicker table {
    width: 100%;
}

.datepicker table tr td.active.active {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.datepicker table tr td {
    border-radius: 4px;
    padding: 8px;
}

.time-slots-container {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.time-slots-container h4 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    padding: 10px;
}

.time-slot {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-slot:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.time-slot.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.time-slot.selected:before {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 12px;
}

.time-slot.booked {
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

.time-slot.booked:after {
    content: 'Booked';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #666;
}

@media (max-width: 768px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .time-slot {
        padding: 10px;
        font-size: 14px;
    }
}

.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.booking-modal-content {
    position: relative;
    background-color: #fff;
    margin: 20px auto;
    width: 95%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
}

.booking-modal-header {
    padding: 10px 10px 5px;
    background: linear-gradient(45deg, #4e54c8, #8089ff);
}

.booking-modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 30px;
}

.doctor-info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .booking-modal {
        padding: 10px;
    }

    .booking-modal-content {
        margin: 10px auto;
        width: 98%;
    }

    .booking-modal-header {
        padding: 15px 20px;
    }

    .booking-modal-header h3 {
        font-size: 18px;
    }

    .booking-modal-body {
        padding: 15px;
        max-height: calc(100vh - 150px);
    }

    .doctor-info-section {
        flex-direction: column;
        text-align: center;
    }

    .doctor-image img {
        width: 100px;
        height: 100px;
        margin: 0 auto 15px;
    }

    .booking-steps {
        padding: 0;
        margin: 20px 0;
    }

    .step-text {
        font-size: 12px;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

/* Enhanced Scrollbar Style */
.booking-modal-body::-webkit-scrollbar {
    width: 8px;
}

.booking-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.booking-modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.booking-modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Smooth Transitions */
.calendar-section, .time-slots {
    transition: all 0.3s ease-in-out;
}

/* Enhanced Time Slots */
.time-slot {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.time-slot.selected {
    background: linear-gradient(135deg, #007bff, #0056b3);
    transform: scale(1.02);
}

/* Add these styles */
.clinic-tabs {
    padding: 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.clinic-tabs .nav-tabs {
    border: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.clinic-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.clinic-tabs .nav-item {
    margin: 0 5px;
}

.clinic-tabs .nav-link {
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    color: #666;
    background: #f8f9fa;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.clinic-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(45deg, #4e54c8, #8089ff);
    box-shadow: 0 2px 8px rgba(78, 84, 200, 0.3);
}

.clinic-tabs .clinic-info {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.tab-content {
    padding: 20px 0;
}
/* Replace the existing clinic-tabs styles with these new styles */
.clinic-selection {
    margin: 20px 0;
    padding: 0 10px;
}

.section-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.clinic-cards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.clinic-cards::-webkit-scrollbar {
    height: 4px;
}

.clinic-cards::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.clinic-cards::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.clinic-card {
    min-width: 200px;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clinic-card:hover {
    border-color: #4e54c8;
    transform: translateY(-2px);
}

.clinic-card.active {
    background: linear-gradient(45deg, #4e54c8, #8089ff);
    border-color: #4e54c8;
    color: white;
}

.clinic-name {
    font-weight: 500;
    margin-bottom: 8px;
}

.clinic-name i {
    margin-right: 8px;
}

.clinic-fee {
    font-size: 14px;
    opacity: 0.9;
}

.clinic-fee i {
    margin-right: 4px;
}

/* Replace existing clinic selection styles with these */
.clinic-selection {
    margin: 15px 0;
    padding: 0 15px;
}

.section-title {
    font-size: 15px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
}

.clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 5px 0;
}

.clinic-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.clinic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border-color: #4e54c8;
}

.clinic-item.active {
    background: linear-gradient(135deg, #4e54c8, #8089ff);
    border-color: transparent;
    color: white;
}

.clinic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.clinic-header i {
    color: inherit;
}

.fee {
    font-weight: 500;
}

.clinic-name {
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* Search Page Style End */