/* ==========================================================================
   MEDSUGGEST INDUSTRY-STANDARD ONCOLOGY DOCTORS DIRECTORY & PROFILE STYLES
   ========================================================================== */

:root {
    --doc-teal: #0e6b76;
    --doc-teal-dark: #0a4d55;
    --doc-teal-light: #e6f6f8;
    --doc-cyan: #00b4d8;
    --doc-cyan-light: #e0f2fe;
    --doc-emerald: #10b981;
    --doc-emerald-light: #ecfdf5;
    --doc-orange: #0e6b76;
    --doc-orange-hover: #0a4d55;
    --doc-orange-light: #fff7ed;
    --doc-dark: #0f172a;
    --doc-text: #334155;
    --doc-muted: #64748b;
    --doc-border: #e2e8f0;
    --doc-bg-soft: #f8fafc;
    --doc-radius-sm: 8px;
    --doc-radius-md: 14px;
    --doc-radius-lg: 20px;
    --doc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --doc-shadow-md: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
    --doc-shadow-lg: 0 16px 36px -8px rgba(14, 107, 118, 0.16);
    --doc-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. BREADCRUMBS
   ========================================================================== */
.doc-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: var(--doc-muted);
    margin-bottom: 24px;
}

.doc-breadcrumbs a {
    color: var(--doc-muted);
    text-decoration: none;
    transition: var(--doc-transition);
}

.doc-breadcrumbs a:hover {
    color: var(--doc-teal);
    text-decoration: underline;
}

.doc-breadcrumbs .current-crumb {
    color: var(--doc-dark);
    font-weight: 600;
}

/* ==========================================================================
   2. DOCTORS DIRECTORY HERO & SEARCH / FILTER SECTION (INDEX PAGE)
   ========================================================================== */
.doctors-hero-section {
    background: linear-gradient(180deg, #edfbf9 0%, #ffffff 100%);
    padding: 36px 0 24px;
    border-bottom: 1px solid var(--doc-border);
}

.doctors-hero-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.doc-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--doc-teal-light);
    color: var(--doc-teal);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    border: 1px solid rgba(14, 107, 118, 0.2);
}

.doctors-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--doc-dark);
    line-height: 1.25;
    margin: 0 0 12px;
}

.doctors-hero-title span {
    background: linear-gradient(135deg, var(--doc-teal), var(--doc-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.doctors-hero-subtitle {
    font-size: 16px;
    color: var(--doc-muted);
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 720px;
}

/* Search Bar & City Selector Container */
.doc-search-bar-wrap {
    background: #ffffff;
    border: 2px solid var(--doc-teal);
    border-radius: 40px;
    padding: 6px 8px 6px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(14, 107, 118, 0.12);
    margin: 0 auto 24px;
    max-width: 820px;
    gap: 12px;
}

.doc-search-icon {
    color: var(--doc-teal);
    font-size: 18px;
}

.doc-search-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 15px;
    color: var(--doc-dark);
    background: transparent;
}

.doc-search-input::placeholder {
    color: #94a3b8;
}

.doc-city-select-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    border-left: 1px solid #cbd5e1;
    padding-left: 14px;
}

.doc-city-select-wrap i {
    color: var(--doc-orange);
    font-size: 15px;
}

.doc-city-select {
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--doc-dark);
    background: transparent;
    cursor: pointer;
    padding-right: 8px;
}

.btn-doc-search {
    background: linear-gradient(135deg, var(--doc-teal), var(--doc-teal-dark));
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--doc-transition);
    white-space: nowrap;
}

.btn-doc-search:hover {
    background: linear-gradient(135deg, var(--doc-teal-dark), #06393e);
    box-shadow: 0 4px 12px rgba(14, 107, 118, 0.3);
}

/* Specialty Filters Pills Carousel */
.doc-specialty-pills-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.specialty-pill-btn {
    background: #ffffff;
    border: 1px solid var(--doc-border);
    color: var(--doc-text);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--doc-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.specialty-pill-btn:hover {
    border-color: var(--doc-teal);
    color: var(--doc-teal);
    background: var(--doc-teal-light);
    transform: translateY(-2px);
}

.specialty-pill-btn.active {
    background: var(--doc-teal);
    border-color: var(--doc-teal);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 107, 118, 0.25);
}

/* ==========================================================================
   3. DOCTORS LISTING SECTION & METRICS BAR
   ========================================================================== */
.doctors-listing-section {
    padding: 36px 0 70px;
    background: #f8fafc;
    min-height: 600px;
}

.doc-results-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--doc-border);
}

.doc-count-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--doc-dark);
}

.doc-count-badge {
    background: var(--doc-teal);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    margin-right: 6px;
}

.doc-sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-sort-label {
    font-size: 13.5px;
    color: var(--doc-muted);
    font-weight: 600;
}

.doc-sort-select {
    border: 1.5px solid var(--doc-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--doc-dark);
    background: #ffffff;
    cursor: pointer;
    outline: none;
    transition: var(--doc-transition);
}

.doc-sort-select:focus {
    border-color: var(--doc-teal);
}

/* ==========================================================================
   4. DOCTOR CARDS GRID & ULTRA-MODERN CARD COMPONENT
   ========================================================================== */
.doctors-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.doctor-card {
    background: #ffffff;
    border: 1.5px solid var(--doc-border);
    border-radius: var(--doc-radius-lg);
    box-shadow: var(--doc-shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--doc-transition);
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--doc-shadow-lg);
    border-color: #a5f3fc;
}

/* Card Header Strip: Specialty & Online indicator */
.doc-card-header-strip {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-cat-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--doc-teal);
    background: var(--doc-teal-light);
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.doc-online-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--doc-emerald);
}

.online-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--doc-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: docPulse 2s infinite;
}

@keyframes docPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Card Body */
.doc-card-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doc-profile-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.doc-avatar-container {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(14, 107, 118, 0.15);
}

.doc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doc-verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    color: var(--doc-teal);
    font-size: 18px;
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.doc-header-info {
    flex: 1;
    min-width: 0;
}

.doc-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--doc-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.doc-name a {
    color: var(--doc-dark);
    text-decoration: none;
    transition: var(--doc-transition);
}

.doc-name a:hover {
    color: var(--doc-teal);
}

.doc-degrees {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--doc-teal);
    line-height: 1.35;
    margin-bottom: 4px;
}

.doc-designation {
    font-size: 13px;
    color: var(--doc-muted);
    line-height: 1.35;
    margin: 0;
}

/* Rating & Consults Strip */
.doc-trust-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: var(--doc-radius-sm);
    margin-bottom: 14px;
}

.doc-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef08a;
    color: #854d0e;
    font-size: 12.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
}

.doc-reviews-count {
    font-size: 12px;
    color: var(--doc-muted);
    font-weight: 600;
}

.doc-exp-pill {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 12px;
}

/* Hospital & City Meta */
.doc-hospital-meta {
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.doc-hospital-meta i {
    color: var(--doc-teal);
    margin-top: 3px;
    flex-shrink: 0;
}

.doc-languages-meta {
    font-size: 12.5px;
    color: var(--doc-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-languages-meta i {
    color: #94a3b8;
}

/* Sub-specialties tags */
.doc-subspecialties-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.doc-sub-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Pricing & Next Slot Box */
.doc-card-timing-price {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.doc-next-slot {
    font-size: 12px;
    font-weight: 700;
    color: #047857;
    background: #dcfce7;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.doc-pricing-box {
    text-align: right;
}

.doc-fee-label {
    font-size: 11px;
    color: var(--doc-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.doc-fee-val {
    font-size: 17px;
    font-weight: 800;
    color: var(--doc-teal);
}

/* Card CTA Buttons */
.doc-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-doc-view {
    background: #ffffff;
    color: var(--doc-teal);
    border: 1.5px solid var(--doc-teal);
    border-radius: var(--doc-radius-md);
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: var(--doc-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-doc-view:hover {
    background: var(--doc-teal-light);
    color: var(--doc-teal-dark);
}

.btn-doc-book {
    background: linear-gradient(135deg, var(--doc-teal), var(--doc-teal-dark));
    color: #ffffff;
    border: none;
    border-radius: var(--doc-radius-md);
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--doc-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-doc-book:hover {
    background: linear-gradient(135deg, var(--doc-teal-dark), #06393e);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 107, 118, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. SINGLE DOCTOR PROFILE DETAIL PAGE (`show.blade.php`)
   ========================================================================== */
.doc-profile-header-section {
    background: linear-gradient(180deg, #edfbf9 0%, #ffffff 100%);
    padding: 30px 0 36px;
    border-bottom: 1px solid var(--doc-border);
}

.doc-profile-hero-card {
    background: #ffffff;
    border: 1.5px solid var(--doc-border);
    border-radius: var(--doc-radius-lg);
    padding: 32px 36px;
    box-shadow: var(--doc-shadow-md);
    display: grid;
    grid-template-columns: 160px 1fr auto;
    gap: 32px;
    align-items: center;
}

.doc-profile-avatar-box {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(14, 107, 118, 0.2);
}

.doc-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doc-profile-verified-stamp {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: #ffffff;
    color: var(--doc-emerald);
    font-size: 28px;
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.doc-profile-main-meta {
    flex: 1;
}

.doc-profile-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.doc-pill-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pill-teal { background: var(--doc-teal-light); color: var(--doc-teal); }
.pill-emerald { background: var(--doc-emerald-light); color: var(--doc-emerald); }
.pill-orange { background: var(--doc-orange-light); color: var(--doc-orange); }

.doc-profile-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--doc-dark);
    margin: 0 0 6px;
    line-height: 1.25;
}

.doc-profile-degrees {
    font-size: 15px;
    font-weight: 700;
    color: var(--doc-teal);
    margin-bottom: 6px;
}

.doc-profile-desig {
    font-size: 16px;
    color: var(--doc-muted);
    margin-bottom: 14px;
}

.doc-profile-hosp {
    font-size: 14.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.doc-profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.doc-stat-cell {
    text-align: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: var(--doc-radius-sm);
}

.doc-stat-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--doc-dark);
}

.doc-stat-label {
    font-size: 11.5px;
    color: var(--doc-muted);
    font-weight: 600;
}

/* Quick Action Box on Hero */
.doc-profile-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding-left: 24px;
    border-left: 1px solid #f1f5f9;
}

.doc-quick-fee {
    font-size: 26px;
    font-weight: 800;
    color: var(--doc-teal);
}

.doc-quick-fee span {
    font-size: 12px;
    color: var(--doc-muted);
    font-weight: 600;
    display: block;
}

/* ==========================================================================
   6. DOCTOR PROFILE MAIN BODY & SIDEBAR BOOKING SECTION
   ========================================================================== */
.doc-profile-body-section {
    padding: 36px 0 80px;
    background: #f8fafc;
}

.doc-profile-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 36px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Left Main Details Column */
.doc-profile-main-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.doc-info-card {
    background: #ffffff;
    border: 1.5px solid var(--doc-border);
    border-radius: var(--doc-radius-md);
    padding: 28px 32px;
    box-shadow: var(--doc-shadow-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.doc-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--doc-dark);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-word;
}

.doc-card-title i {
    color: var(--doc-teal);
    flex-shrink: 0;
}

.doc-bio-p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Specializations Tag Cloud */
.doc-specialty-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.doc-full-specialty-pill {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Education Timeline */
.doc-education-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    padding-left: 24px;
    border-left: 2px solid #e2e8f0;
}

.edu-timeline-item {
    position: relative;
}

.edu-timeline-dot {
    position: absolute;
    left: -31px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--doc-teal);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--doc-teal);
}

.edu-degree {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--doc-dark);
    margin: 0 0 2px;
}

.edu-inst {
    font-size: 14px;
    color: #475569;
    margin: 0 0 2px;
}

.edu-year {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--doc-teal);
}

/* Procedures & Treatments Grid */
.doc-procedures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.proc-item-box {
    background: #f8fafc;
    border: 1px solid var(--doc-border);
    border-radius: var(--doc-radius-sm);
    padding: 16px 18px;
}

.proc-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--doc-dark);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.proc-name i {
    color: var(--doc-teal);
    font-size: 13px;
}

.proc-desc {
    font-size: 13px;
    color: var(--doc-muted);
    line-height: 1.5;
    margin: 0;
}

/* OPD Clinic Schedule Table */
.opd-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

.opd-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.opd-schedule-table th {
    background: #f1f5f9;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--doc-dark);
    text-align: left;
    border-bottom: 2px solid var(--doc-border);
}

.opd-schedule-table td {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--doc-text);
    border-bottom: 1px solid #f1f5f9;
}

/* Patient Reviews Cards */
.patient-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item-card {
    background: #f8fafc;
    border: 1px solid var(--doc-border);
    border-radius: var(--doc-radius-sm);
    padding: 18px 20px;
}

.review-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--doc-dark);
}

.review-date {
    font-size: 12px;
    color: var(--doc-muted);
}

.review-treatment-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--doc-teal);
    background: var(--doc-teal-light);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.review-comment {
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
    font-style: italic;
    margin: 0;
}

/* ==========================================================================
   RELATED ONCOLOGY SPECIALISTS CARDS GRID
   ========================================================================== */
.related-doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .related-doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .related-doctors-grid {
        grid-template-columns: 1fr;
    }
}

.related-doctor-card {
    background: #ffffff;
    border: 1.5px solid var(--doc-border);
    border-radius: var(--doc-radius-md);
    padding: 22px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--doc-shadow-sm);
    transition: var(--doc-transition);
    position: relative;
    box-sizing: border-box;
}

.related-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--doc-shadow-md);
    border-color: var(--doc-teal);
}

.related-doc-avatar-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    margin-bottom: 12px;
}

.related-doc-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(14, 107, 118, 0.15);
}

.related-doc-check {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffffff;
    color: var(--doc-teal);
    font-size: 16px;
    border-radius: 50%;
    line-height: 1;
}

.related-doc-name {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--doc-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.related-doc-name a {
    color: var(--doc-dark);
    text-decoration: none;
    transition: var(--doc-transition);
}

.related-doc-name a:hover {
    color: var(--doc-teal);
}

.related-doc-spec {
    font-size: 12px;
    font-weight: 700;
    color: var(--doc-teal);
    background: var(--doc-teal-light);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 6px;
}

.related-doc-exp {
    font-size: 12px;
    color: var(--doc-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.related-doc-hosp {
    font-size: 12px;
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.related-doc-rating {
    font-size: 12px;
    font-weight: 700;
    color: #854d0e;
    background: #fef08a;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.related-doc-btn {
    margin-top: auto;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--doc-teal);
    color: var(--doc-teal);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--doc-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.related-doc-btn:hover {
    background: var(--doc-teal);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(14, 107, 118, 0.25);
}

/* ==========================================================================
   7. STICKY CONSULTATION BOOKING WIDGET (RIGHT COLUMN) - COMPACT FRAME
   ========================================================================== */
.doc-profile-sidebar-col {
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
    z-index: 90;
    align-self: start;
    height: fit-content;
}

.doc-booking-widget-card {
    background: #ffffff;
    border: 1.5px solid #0e6b76;
    border-top: 4px solid var(--doc-teal);
    border-radius: 16px;
    box-shadow: 0 10px 28px -6px rgba(14, 107, 118, 0.16), 0 0 0 1px rgba(14, 107, 118, 0.06);
    padding: 16px 18px;
    box-sizing: border-box;
    transition: var(--doc-transition);
}

.doc-booking-widget-card:hover {
    box-shadow: 0 14px 34px -6px rgba(14, 107, 118, 0.22);
}

/* Compact Header */
.booking-widget-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.booking-title-compact {
    font-size: 17px;
    font-weight: 800;
    color: var(--doc-dark);
    margin: 0;
    line-height: 1.2;
}

.booking-instant-badge {
    font-size: 11px;
    font-weight: 700;
    color: #047857;
    background: #dcfce7;
    padding: 2px 7px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
}

.booking-fee-badge-compact {
    font-size: 21px;
    font-weight: 800;
    color: var(--doc-teal);
    letter-spacing: -0.5px;
    text-align: right;
}

/* Compact Mode Switcher */
.booking-mode-toggle-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    margin-bottom: 12px;
    gap: 3px;
}

.btn-mode-tab-compact {
    border: none;
    background: transparent;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--doc-muted);
    cursor: pointer;
    transition: var(--doc-transition);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-mode-tab-compact.active {
    background: #ffffff;
    color: var(--doc-teal);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Compact Labels */
.booking-label-compact {
    font-size: 12px;
    font-weight: 700;
    color: var(--doc-dark);
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Compact Dates Row */
.booking-dates-row-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.btn-date-slot-compact {
    background: #f8fafc;
    border: 1.5px solid var(--doc-border);
    border-radius: 8px;
    padding: 6px 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--doc-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn-date-slot-compact:hover {
    border-color: var(--doc-teal);
}

.btn-date-slot-compact.active {
    background: var(--doc-teal);
    border-color: var(--doc-teal);
    color: #ffffff;
}

.btn-date-slot-compact.active .slot-day-compact,
.btn-date-slot-compact.active .slot-date-compact {
    color: #ffffff;
}

.slot-day-compact {
    font-size: 10px;
    font-weight: 700;
    color: var(--doc-muted);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.slot-date-compact {
    font-size: 13px;
    font-weight: 800;
    color: var(--doc-dark);
    line-height: 1.1;
}

/* Compact Time Grid */
.booking-time-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.btn-time-slot-compact {
    background: #ffffff;
    border: 1px solid var(--doc-border);
    border-radius: 7px;
    padding: 5px 2px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--doc-dark);
    text-align: center;
    cursor: pointer;
    transition: var(--doc-transition);
}

.btn-time-slot-compact:hover {
    border-color: var(--doc-teal);
    color: var(--doc-teal);
}

.btn-time-slot-compact.active {
    background: #ecfeff;
    border-color: var(--doc-teal);
    color: var(--doc-teal);
    font-weight: 800;
}

/* Compact Inputs */
.doc-compact-input {
    font-size: 12.5px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--doc-dark) !important;
}

.doc-compact-input:focus {
    border-color: var(--doc-teal) !important;
    box-shadow: 0 0 0 2px rgba(14, 107, 118, 0.15) !important;
}

/* Compact Submit Button */
.btn-submit-booking-compact {
    width: 100%;
    background: linear-gradient(135deg, var(--doc-orange), var(--doc-orange-hover));
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--doc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(14, 107, 118, 0.3);
}

.btn-submit-booking-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 107, 118, 0.4);
    color: #ffffff;
}

/* Compact Guarantee & Helpline */
.booking-compact-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--doc-muted);
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.booking-compact-guarantee .helpline-link {
    color: var(--doc-teal);
    font-weight: 700;
    text-decoration: none;
}

.booking-compact-guarantee .helpline-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   8. APPOINTMENT CONFIRMATION MODAL
   ========================================================================== */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-modal-card {
    background: #ffffff;
    border-radius: var(--doc-radius-lg);
    box-shadow: var(--doc-shadow-lg);
    max-width: 500px;
    width: 100%;
    padding: 30px 32px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* ==========================================================================
   9. MOBILE STICKY BOTTOM BOOKING BAR (SMARTPHONES)
   ========================================================================== */
.doc-mobile-sticky-bar {
    display: none;
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE OPTIMIZATION)
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. TABLET DEVICES (768px to 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Hero Section */
    .doctors-hero-section {
        padding: 28px 0 20px;
    }

    .doctors-hero-title {
        font-size: 30px;
    }

    .doctors-hero-subtitle {
        font-size: 14.5px;
        margin-bottom: 22px;
    }

    /* Doctor Cards Grid: 2 columns on tablet */
    .doctors-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .doc-card-body {
        padding: 18px 16px;
    }

    /* Doctor Profile Header (show.blade.php) */
    .doc-profile-header-section {
        padding: 24px 0 28px;
    }

    .doc-profile-hero-card {
        grid-template-columns: 130px 1fr;
        gap: 24px;
        padding: 24px 22px;
        align-items: center;
    }

    .doc-profile-avatar-box {
        width: 130px;
        height: 130px;
    }

    .doc-profile-name {
        font-size: 26px;
    }

    .doc-profile-quick-action {
        grid-column: 1 / -1;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-left: 0;
        padding-top: 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: left;
    }

    .doc-profile-quick-action .btn {
        margin: 0;
    }

    .doc-profile-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .doc-stat-cell {
        padding: 8px 6px;
    }

    .doc-stat-num {
        font-size: 16px;
    }

    /* Layout Grid: Stacks main and booking widget */
    .doc-profile-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .doc-profile-sidebar-col {
        position: static;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .doc-booking-widget-card {
        padding: 20px 22px;
    }

    /* Related doctors: 2 columns */
    .related-doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   B. LARGE PHONES & SMALL TABLETS (576px to 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .doc-breadcrumbs {
        font-size: 12.5px;
        margin-bottom: 16px;
    }

    .doctors-hero-section {
        padding: 22px 0 18px;
    }

    .doc-badge-pill {
        font-size: 11.5px;
        padding: 5px 12px;
        line-height: 1.35;
    }

    .doctors-hero-title {
        font-size: 25px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .doctors-hero-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    /* Mobile Search Bar Wrap */
    .doc-search-bar-wrap {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
        position: relative;
        background: #ffffff;
    }

    .doc-search-icon {
        position: absolute;
        left: 18px;
        top: 20px;
        font-size: 16px;
    }

    .doc-search-input {
        width: 100%;
        padding: 6px 10px 6px 32px;
        font-size: 14px;
    }

    .doc-city-select-wrap {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-left: 6px;
        padding-top: 8px;
        width: 100%;
        justify-content: flex-start;
    }

    .doc-city-select {
        width: 100%;
        font-size: 13.5px;
        padding: 4px 0;
    }

    .btn-doc-search {
        width: 100%;
        border-radius: 12px;
        padding: 11px;
        font-size: 14px;
        justify-content: center;
    }

    /* Horizontal Scrollable Specialty Category Pills */
    .doc-specialty-pills-bar {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px 2px 8px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .doc-specialty-pills-bar::-webkit-scrollbar {
        display: none;
    }

    .specialty-pill-btn {
        padding: 6px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Results Meta Bar */
    .doc-results-meta-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .doc-count-text {
        font-size: 14px;
    }

    .doc-sort-group {
        width: 100%;
        justify-content: space-between;
    }

    .doc-sort-group form {
        flex: 1;
    }

    .doc-sort-select {
        width: 100%;
        font-size: 13px;
        padding: 8px 10px;
    }

    /* Doctors Listing Grid: 1 column on phones */
    .doctors-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Single Doctor Show Page (Mobile) */
    .doc-profile-header-section {
        padding: 18px 0 20px;
    }

    .doc-profile-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }

    .doc-profile-avatar-box {
        width: 115px;
        height: 115px;
        margin: 0 auto;
    }

    .doc-profile-badges-row {
        justify-content: center;
        gap: 6px;
    }

    .doc-pill-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    .doc-profile-name {
        font-size: 23px;
    }

    .doc-profile-degrees {
        font-size: 13.5px;
    }

    .doc-profile-desig {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    .doc-profile-hosp {
        justify-content: center;
        font-size: 13px;
    }

    .doc-profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .doc-stat-num {
        font-size: 16px;
    }

    .doc-stat-label {
        font-size: 11px;
    }

    .doc-profile-quick-action {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .doc-profile-quick-action .btn {
        width: 100%;
        padding: 11px;
    }

    /* Main Details Cards */
    .doc-profile-body-section {
        padding: 24px 0 95px;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .doc-profile-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .doc-profile-main-col {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .doc-info-card {
        padding: 18px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .doc-card-title {
        font-size: 16.5px !important;
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
        word-break: break-word !important;
    }

    .doc-bio-p {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    .doc-procedures-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .opd-table-wrapper {
        border: 1px solid var(--doc-border) !important;
        border-radius: 8px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .opd-schedule-table {
        min-width: 480px !important;
        width: 100% !important;
    }

    .related-doctors-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
    }

    /* Mobile Sticky Bottom Bar */
    .doc-mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--doc-border);
        padding: 10px 16px;
        z-index: 1000;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    }

    .sticky-bar-fee-box {
        display: flex;
        flex-direction: column;
    }

    .sticky-bar-fee {
        font-size: 19px;
        font-weight: 800;
        color: var(--doc-teal);
        line-height: 1.1;
    }

    .sticky-bar-slot {
        font-size: 11px;
        font-weight: 700;
        color: #047857;
    }

    .btn-sticky-book {
        background: linear-gradient(135deg, var(--doc-orange), var(--doc-orange-hover));
        color: #ffffff;
        font-size: 13.5px;
        font-weight: 700;
        padding: 10px 20px;
        border-radius: 24px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        box-shadow: 0 4px 14px rgba(14, 107, 118, 0.35);
        transition: var(--doc-transition);
    }

    .btn-sticky-book:hover {
        color: #ffffff;
        transform: translateY(-1px);
    }

    /* Modal Mobile Formatting */
    .booking-modal-card {
        padding: 20px 16px;
        border-radius: 16px;
        max-width: 95%;
        margin: 10px auto;
    }
}

/* --------------------------------------------------------------------------
   C. COMPACT SMARTPHONES (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .doctors-hero-title {
        font-size: 22px;
    }

    .doctor-card {
        border-radius: 14px;
    }

    .doc-card-body {
        padding: 14px 12px;
    }

    .doc-profile-row {
        gap: 12px;
        margin-bottom: 12px;
    }

    .doc-avatar-container {
        width: 68px;
        height: 68px;
    }

    .doc-verified-badge {
        font-size: 15px;
    }

    .doc-name {
        font-size: 16px;
    }

    .doc-degrees {
        font-size: 11.5px;
    }

    .doc-designation {
        font-size: 12px;
    }

    .doc-trust-strip {
        padding: 6px 8px;
        gap: 6px;
    }

    .doc-rating-pill {
        font-size: 11px;
        padding: 2px 6px;
    }

    .doc-reviews-count {
        font-size: 11px;
    }

    .doc-exp-pill {
        font-size: 10.5px;
        padding: 2px 6px;
    }

    .doc-hospital-meta {
        font-size: 11.5px;
    }

    .doc-languages-meta {
        font-size: 11.5px;
        margin-bottom: 10px;
    }

    .doc-sub-tag {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .doc-card-timing-price {
        padding-top: 10px;
        margin-bottom: 10px;
    }

    .doc-next-slot {
        font-size: 10.5px;
        padding: 3px 8px;
    }

    .doc-fee-val {
        font-size: 15.5px;
    }

    .doc-card-actions {
        gap: 6px;
    }

    .btn-doc-view,
    .btn-doc-book {
        font-size: 12px;
        padding: 8px 6px;
    }

    /* Profile page details on <= 480px */
    .doc-profile-hero-card {
        padding: 16px 12px;
    }

    .doc-profile-avatar-box {
        width: 95px;
        height: 95px;
    }

    .doc-profile-name {
        font-size: 21px;
    }

    .doc-stat-num {
        font-size: 14.5px;
    }

    .doc-stat-label {
        font-size: 10px;
    }

    .doc-info-card {
        padding: 16px 12px;
    }

    .doc-card-title {
        font-size: 16px;
    }

    .edu-degree {
        font-size: 14px;
    }

    .edu-inst {
        font-size: 12.5px;
    }

    .booking-dates-row-compact,
    .booking-time-grid-compact {
        gap: 4px;
    }

    .btn-time-slot-compact {
        font-size: 10.5px;
        padding: 4px 1px;
    }
}

/* --------------------------------------------------------------------------
   D. EXTRA-SMALL MOBILE PHONES (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .doctors-hero-title {
        font-size: 20px;
    }

    .doc-profile-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doc-avatar-container {
        margin: 0 auto;
    }

    .doc-card-actions {
        grid-template-columns: 1fr;
    }

    .doc-card-timing-price {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .doc-pricing-box {
        text-align: left;
    }
}

/* ==========================================================================
   10. PRINT MEDIA STYLES FOR CLEAN DOCTOR PROFILE EXPORT
   ========================================================================== */
@media print {
    header,
    footer,
    nav,
    aside,
    .site-header,
    .med-modern-footer,
    .cancer-btn,
    .cart-drawer,
    .cart-drawer-overlay,
    .doc-booking-widget-card,
    .btn-submit-booking,
    .btn-doc-book,
    .btn-doc-view,
    .booking-modal-overlay,
    .modal,
    .doc-breadcrumbs,
    .doc-specialty-pills-bar,
    .doc-search-bar-wrap {
        display: none !important;
        visibility: hidden !important;
    }

    body {
        background: #ffffff !important;
        color: #1e293b !important;
        font-size: 11pt !important;
    }

    .doc-profile-layout-grid {
        display: block !important;
        width: 100% !important;
    }

    .doc-info-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        margin-bottom: 20px !important;
        page-break-inside: avoid;
    }
}
