:root {
    --primary-color: #032874;
    --secondary-color: #2060e4;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.fs-6 {
    font-size: 1rem !important;
}
.doctor-next-available-date {
    font-size: .7rem;
}

/* Header */
.navbar-brand {
    font-weight: 600;
}

.text-primary {
    color: var(--secondary-color) !important;
}

/* Profile Card */
.profile-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.doctor-profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

/* Tabs */
.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.nav-tabs .nav-link.active {
    color: var(--secondary-color);
    background-color: transparent;
    border-bottom: 2px solid var(--secondary-color);
}

.tab-header {
    padding-bottom: 0;
}

/* Icons */
.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(32, 96, 228, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    color: var(--secondary-color);
    background-color: rgba(32, 96, 228, 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(32, 96, 228, 0.1);
}

/* Footer */
.footer {
    background: var(--gradient);
    color: #fff;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

/* Map */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
}

/* Content Sections */
.content-section {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-section:last-child {
    border-bottom: none;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    /* background: var(--gradient);
  color: white; */
    border-radius: 0;
    margin-bottom: 0;
    position: relative;
}

.section-header h2 {
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 46px;
}

.section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.section-header h2 {
    position: relative;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    height: 2px;
    background-color: var(--secondary-color);
}

.section-content {
    padding: .5rem 1rem 1rem;
}

/* .doctors-row {
  margin: .5rem 1rem 1rem;
} */

/* Desktop Section Navigation */
.desktop-sticky-nav {
    position: sticky;
    top: 120px;
    z-index: 1;
    margin-bottom: 20px;
}

.desktop-section-nav {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.desktop-section-nav .nav-link {
    flex: 1;
    text-align: center;
    padding: 1rem 0.5rem;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.desktop-section-nav .nav-link:hover {
    color: var(--secondary-color);
    background-color: rgba(32, 96, 228, 0.05);
}

.desktop-section-nav .nav-link.active {
    color: var(--secondary-color);
    border-bottom: 3px solid var(--secondary-color);
    background-color: rgba(32, 96, 228, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-img {
        width: 120px;
        height: 120px;
    }

    .doctor-profile-img {
        width: 100px;
        height: 100px;
    }

    .nav-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.5rem;
        margin-right: 0.5rem;
    }

    .section-header {
        padding: .5rem 1rem;
    }

    .section-content {
        padding: .5rem .75rem 1rem;
    }
}

/* Sticky Sidebar for Large Screens */
@media (min-width: 992px) {
    .sticky-sidebar {
        position: sticky;
        top: 120px;
        height: fit-content;
    }
}

/* Mobile Sticky Elements */
@media (max-width: 991.98px) {
    .mobile-sticky-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 10px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    /* .mobile-sticky-buttons .btn {
        flex: 1;
    } */

    body {
        padding-bottom: 70px;
    }

    .sticky-section-nav {
        position: sticky;
        top: 80px;
        background: white;
        z-index: 1;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        margin-bottom: 15px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .sticky-section-nav .nav-link {
        color: #6c757d;
        font-weight: 600;
        font-size: 14px;
        padding: 0.5rem .5rem;
        display: inline-block;
    }

    .sticky-section-nav .nav-link.active {
        color: var(--secondary-color);
        border-bottom: 2px solid var(--secondary-color);
    }
}

#bottomReturnToTop {
    cursor: pointer;
}

#bottomReturnToTop i {
    background-color: rgba(32, 96, 228, 0.1);
    border-radius: 100%;
    font-size: .85rem;
    height: 26px;
    padding: 6px;
    width: 26px;
}

h3 a.text-primary-2 {
    width: max-content;
}

h3 a.text-primary-2:hover {
    color: var(--primary-color);
    text-decoration-color: var(--primary-color);
}

.share-icons {
    cursor: pointer;
    width: 31px;
    height: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.icon-primary {
    color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 0.25rem;
}

.icon-success {
    color: #198754;
    border: 1px solid #198754;
    border-radius: 0.25rem;
}

.icon-dark {
    color: #212529;
    border: 1px solid #212529;
    border-radius: 0.25rem;
}

.icon-secondary {
    color: #6c757d;
    border: 1px solid #6c757d;
    border-radius: 0.25rem;
}

.icon-pink {
    color: #E1306C;
    border: 1px solid #E1306C;
    border-radius: 0.25rem;
}

.icon-pink:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.icon-primary:hover {
    color: #fff;
    background-color: #0d6efd;
}

.icon-success:hover {
    color: #fff;
    background-color: #198754;
}

.icon-dark:hover {
    color: #fff;
    background-color: #212529;
}

.icon-secondary:hover {
    color: #fff;
    background-color: #6c757d;
}

.copied {
    background-color: #F7536B;
    bottom: 120%;
    border-radius: 10px;
}

.card .card-body {
    padding: 1rem;
}

@media (max-width: 576px) {
    .home-page .search-section__inner-block {
        padding: 10px !important;
    }

    .home-page .search-section__inner-block .fs-6 {
        font-size: 13px !important;
    }
}

@media (min-width: 576px) {
    .home-page .search-section__inner-block {
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    }


}

@media (min-width: 992px) {
    .home-page .search-section__inner-block {
        padding: 40px 60px 60px 60px !important;
    }
}

a.btn.disabled {
    border: none;
}

#services-list {
    min-width: 100%;
}

.services-row {
    border-bottom: 1px solid #dee2e6;
    padding: .5rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.address-row {
    border-bottom: 1px solid #dee2e6;
}

.address-row:last-child {
    border-bottom: none;
}

.services-row:hover {
    background-color: #f8f9fa;
}

.services-row:last-child {
    border-bottom: none;
}

.services-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.services-description {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.services-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.services-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-detail-icon {
    color: var(--secondary-color);
    width: 16px;
}

.services-price-tag {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.services-next-date {
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .services-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .services-detail-item {
        width: 100%;
        justify-content: space-between;
    }

    .services-detail-item.service-status-item,
    .services-detail-item.service-book-appointment-btn-item {
        justify-content: center;
    }
}

.text-decoration-primary {
    text-decoration: var(--primary-color) underline;
}
