/* ============================================================
   ডাক্তারপাড়া — dp-doctor-profile.css
   ডাক্তার প্রোফাইল পেজ: হিরো, পরিসংখ্যান, শিক্ষা, সেবা, রোগ, মতামত,
   অন্যান্য ডাক্তার, ডানের বুকিং ও সময়সূচি কার্ড, নিচের ব্যানার।
   টোকেন আসে dp-chrome.css থেকে।
   ============================================================ */

:root {
    --dpv-ink:  #0e2a25;
    --dpv-line: #dfe8e6;
    --dpv-mint: #e7f7ee;
}

/* ── ব্রেডক্রাম্ব ── */
.dpv-crumb { background: #f2f6fc; border-bottom: 1px solid #e8eef6; }
.dpv-crumb .dp-wrap { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--dpv-ink); }
.dpv-crumb a { color: var(--dpv-ink); }
.dpv-crumb a:hover { color: var(--dp-green); }
.dpv-crumb .bi-house-door { font-size: 19px; color: var(--dp-green); }
.dpv-crumb .bi-chevron-right { font-size: 11px; color: var(--dp-muted); }

/* ── কমন বোতাম ── */
.dpv-btn-green,
.dpv-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.dpv-btn-green { color: #fff; background: linear-gradient(180deg, #11a04a 0%, var(--dp-green-dark) 100%); box-shadow: 0 6px 14px rgba(10, 138, 58, .26), inset 0 1px 0 rgba(255, 255, 255, .25); }
.dpv-btn-green:hover { color: #fff; transform: translateY(-1px); }
.dpv-btn-outline { color: #0a7a33; background: #fff; border-color: #53b774; }
.dpv-btn-outline:hover { color: #fff; background: var(--dp-green); border-color: var(--dp-green); }
.dpv-btn-outline.is-small { height: 36px; padding: 0 14px; font-size: 14.5px; }
.is-block { display: flex; width: 100%; }

/* ── লেআউট ── */
.dpv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; padding: 20px 0 10px; }
.dpv-main { min-width: 0; }
.dpv-main > * + * { margin-top: 18px; }

/* ============================================================
   হিরো
   ============================================================ */
.dpv-hero { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
.dpv-photo { height: 210px; overflow: hidden; border-radius: 12px; background: #eaf1ef; box-shadow: 0 8px 20px rgba(11, 42, 91, .1); }
.dpv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dpv-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.dpv-title-row h1 { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.2; color: var(--dpv-ink); }
.dpv-online { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #0b6b30; background: #d4f2e0; }
.dpv-online i { font-size: 9px; color: #12a04a; }
.dpv-spec { display: inline-block; max-width: 100%; margin-bottom: 8px; padding: 4px 18px; border-radius: 6px; font-size: 18px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #0f9a48 0%, #0a7a33 100%); }
.dpv-meta { margin: 0; padding: 0; list-style: none; }
.dpv-meta li { display: flex; align-items: flex-start; gap: 10px; padding: 3px 0; font-size: 16px; line-height: 1.5; color: var(--dpv-ink); }
.dpv-meta li > i { flex-shrink: 0; margin-top: 3px; width: 22px; font-size: 19px; color: #0a8a3a; text-align: center; }
.dpv-meta li.is-strong { font-weight: 700; }
.dpv-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ── পরিসংখ্যান বার ── */
.dpv-main > .dpv-stats { margin-top: 20px; }
.dpv-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 8px; list-style: none; border: 1px solid var(--dpv-line); border-radius: 12px; background: #f4f9f7; }
.dpv-stats li { display: flex; align-items: center; gap: 14px; padding: 8px 20px; border-left: 1px solid #d9e6e2; }
.dpv-stats li:first-child { border-left: 0; }
.dpv-stats > li > i { font-size: 38px; line-height: 1; color: #0a8a3a; }
.dpv-stats strong { display: block; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--dpv-ink); }
.dpv-stats strong small { font-size: 15px; font-weight: 500; color: var(--dp-muted); }
.dpv-stats span { display: block; font-size: 15px; color: var(--dp-text); }

/* ============================================================
   কার্ড
   ============================================================ */
.dpv-card { border: 1px solid var(--dpv-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(11, 42, 91, .05); overflow: hidden; }
.dpv-card-title { display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 18px; font-size: 23px; font-weight: 800; color: var(--dpv-ink); background: #f4f9f7; border-bottom: 1px solid #e3eceb; }
.dpv-card-title i { font-size: 26px; color: #0a8a3a; }
.dpv-card-title.is-plain { padding: 0 0 10px; background: none; border: 0; }

/* শিক্ষা */
.dpv-edu { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.dpv-checks { margin: 0; padding: 14px 18px; list-style: none; }
.dpv-checks li { display: flex; align-items: flex-start; gap: 10px; padding: 3px 0; font-size: 16px; line-height: 1.45; color: var(--dpv-ink); }
.dpv-checks i { flex-shrink: 0; margin-top: 4px; font-size: 17px; color: #12a04a; }
.dpv-edu-side { padding: 14px 18px; border-left: 1px solid #e3eceb; }
.dpv-edu-item { display: flex; align-items: flex-start; gap: 14px; padding: 6px 0; }
.dpv-edu-item > i { flex-shrink: 0; width: 34px; font-size: 30px; line-height: 1; color: #0a8a3a; text-align: center; }
.dpv-edu-item b { display: block; font-size: 16px; font-weight: 700; color: var(--dpv-ink); }
.dpv-edu-item span { display: block; font-size: 15px; line-height: 1.45; color: var(--dp-text); }
.dpv-bio { padding: 0 18px 14px; }
.dpv-bio p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--dp-text); }

/* সেবা (২ সারি × ৪ কার্ড) */
.dpv-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 14px 14px; }
.dpv-service { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 12px; border: 1px solid #dcebe3; border-radius: 10px; background: #f2fbf6; }
.dpv-service > i { flex-shrink: 0; width: 34px; font-size: 30px; line-height: 1; color: #0a8a3a; text-align: center; }
.dpv-service b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--dpv-ink); }
.dpv-service span { display: block; font-size: 13.5px; line-height: 1.3; color: var(--dp-text); }

/* রোগ (৩ কলাম) */
.dpv-diseases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 12px 8px 14px; list-style: none; }
.dpv-diseases li { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 12px; border-left: 1px solid #e3eceb; }
.dpv-diseases li:nth-child(3n+1) { border-left: 0; }
.dpv-diseases li > i { flex-shrink: 0; margin: 0; font-size: 20px; line-height: 1; color: #12a04a; }
.dpv-diseases li > div { min-width: 0; }
.dpv-diseases b { display: block; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--dpv-ink); }
.dpv-diseases span { display: block; font-size: 14px; line-height: 1.35; color: var(--dp-text); }

/* মতামত */
.dpv-no-reviews { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px 30px; text-align: center; }
.dpv-no-reviews > i { font-size: 38px; color: #aeb9b7; }
.dpv-no-reviews b { font-size: 19px; color: var(--dpv-ink); }
.dpv-no-reviews span { font-size: 15.5px; color: var(--dp-text); }
.dpv-rating { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; padding: 16px 20px; }
.dpv-rating-big { text-align: center; }
.dpv-rating-big strong { display: block; font-size: 46px; font-weight: 800; line-height: 1; color: var(--dpv-ink); }
.dpv-rating-big span { font-size: 14.5px; color: var(--dp-muted); }
.dpv-stars { color: #f5b400; font-size: 16px; }
.dpv-bar-row { display: grid; grid-template-columns: 38px 1fr 28px; gap: 8px; align-items: center; font-size: 14px; color: var(--dp-text); }
.dpv-bar-row i { color: #f5b400; font-size: 12px; }
.dpv-bar { height: 8px; border-radius: 8px; background: #e6eeec; overflow: hidden; }
.dpv-bar-fill { height: 100%; width: 0; border-radius: 8px; background: #f5b400; }
.dpv-review { display: flex; gap: 14px; padding: 14px 20px; border-top: 1px solid #edf1f0; }
.dpv-review-av { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; font-size: 18px; font-weight: 800; color: #0a7a33; background: #d4f2e0; }
.dpv-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dpv-review p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--dp-text); }
.dpv-review .dpv-review-title { font-weight: 700; color: var(--dpv-ink); }
.dpv-review small { color: var(--dp-muted); }

/* অন্যান্য ডাক্তার */
.dpv-related { padding-top: 8px; }
.dpv-related .dpv-card-title.is-plain { font-size: 23px; }
.dpv-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dpv-rel { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid var(--dpv-line); border-radius: 12px; background: #fff; box-shadow: 0 6px 16px rgba(11, 42, 91, .05); }
.dpv-rel img { width: 74px; height: 92px; object-fit: cover; object-position: top; border-radius: 8px; background: #eaf1ef; }
.dpv-rel b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.3; color: var(--dpv-ink); }
.dpv-rel > div > span { display: block; font-size: 14px; color: var(--dp-text); }
.dpv-rel small { display: block; margin: 2px 0 8px; font-size: 13.5px; color: var(--dp-text); }
.dpv-rel small i { color: #0a8a3a; }

/* ============================================================
   ডান পাশ
   ============================================================ */
.dpv-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.dpv-book { overflow: hidden; border: 1px solid var(--dpv-line); border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(11, 42, 91, .08); }
.dpv-book-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #0f9a48 0%, #0a7a33 100%); }
.dpv-book-head i { font-size: 24px; }
.dpv-book-body { padding: 14px 16px 18px; }
.dpv-fee-box { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 12px 16px; border-radius: 10px; background: #e2f5ea; }
.dpv-fee-box > i { font-size: 40px; line-height: 1; color: #0a8a3a; }
.dpv-fee-box small { display: block; font-size: 15px; color: var(--dp-text); }
.dpv-fee-box strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--dpv-ink); }
.dpv-field-label { display: block; margin: 0 0 6px; font-size: 15.5px; color: var(--dpv-ink); }
.dpv-select-wrap { position: relative; display: flex; align-items: center; height: 46px; margin-bottom: 14px; border: 1px solid #cfdcdf; border-radius: 8px; background: #fff; }
.dpv-select-wrap > i { position: absolute; left: 12px; z-index: 1; font-size: 18px; color: var(--dpv-ink); pointer-events: none; }
.dpv-select-wrap .dps { width: 100%; height: 100%; padding: 0 32px 0 40px; font-size: 15.5px; color: var(--dpv-ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500 6 6.500 11 1.500' fill='none' stroke='%230e2a25' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; }
.dpv-select-wrap .dps-list { left: -1px; min-width: calc(100% + 2px); }
.dpv-book-body .dpv-btn-green,
.dpv-book-body .dpv-btn-outline { margin-top: 10px; height: 48px; font-size: 16.5px; }

.dpv-schedule { overflow: hidden; border: 1px solid var(--dpv-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(11, 42, 91, .06); }
.dpv-schedule-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #f2f8f6; border-bottom: 1px solid #e3eceb; }
.dpv-schedule-head > i { font-size: 28px; color: #0a8a3a; }
.dpv-schedule-head b { display: block; font-size: 19px; font-weight: 800; color: var(--dpv-ink); }
.dpv-schedule-head span { display: block; font-size: 15px; color: var(--dp-text); }
.dpv-schedule ul { margin: 0; padding: 4px 18px; list-style: none; }
.dpv-schedule li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #edf1f0; font-size: 15.5px; color: var(--dpv-ink); }
.dpv-schedule li:last-child { border-bottom: 0; }
.dpv-schedule li > span:first-child { font-weight: 600; }
.dpv-time { color: var(--dp-text); }
.dpv-closed { padding: 2px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #d21c18; background: #fde8ea; }
.dpv-schedule-addr { margin: 0; padding: 0 18px 14px; font-size: 14.5px; color: var(--dp-text); }
.dpv-schedule-addr i { margin-right: 6px; color: #0a8a3a; }

/* ============================================================
   নিচের ব্যানার
   ============================================================ */
.dpv-banner-wrap { padding: 12px 0 30px; }
.dpv-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 86px;
    padding: 12px 24px 12px 270px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(95deg, #0f9a48 0%, #0b8a3f 55%, #0a7a33 100%);
    box-shadow: 0 12px 28px rgba(10, 122, 51, .25);
}
.dpv-banner > img { position: absolute; left: 0; bottom: 0; height: 112%; width: auto; max-width: 250px; border-radius: 14px 0 0 14px; object-fit: cover; }
.dpv-banner h3 { flex: 1; margin: 0; font-size: 28px; font-weight: 800; line-height: 1.25; color: #fff; }
.dpv-banner h3 small { display: block; margin-top: 2px; font-size: 16px; font-weight: 500; color: #eafff1; }
.dpv-banner-btn { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; height: 52px; padding: 0 24px; border-radius: 8px; font-size: 17px; font-weight: 700; color: #0a7a33; background: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.dpv-banner-btn:hover { color: #0a7a33; transform: translateY(-1px); }

/* ============================================================
   রেসপনসিভ
   ============================================================ */
@media (max-width: 1399px) {
    .dpv-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; }
    .dpv-title-row h1 { font-size: 30px; }
    .dpv-services { grid-template-columns: repeat(3, 1fr); }
    .dpv-related-grid { grid-template-columns: repeat(2, 1fr); }
    .dpv-banner h3 { font-size: 24px; }
}

@media (max-width: 1099px) {
    .dpv-layout { grid-template-columns: 1fr; }
    .dpv-side { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
    .dpv-banner { padding-left: 24px; flex-wrap: wrap; padding-top: 86px; }
    .dpv-banner > img { left: 16px; top: -16px; bottom: auto; height: 94px; border-radius: 10px; }
}

@media (max-width: 767px) {
    .dpv-hero { grid-template-columns: 1fr; }
    .dpv-photo { width: 170px; height: 170px; }
    .dpv-title-row h1 { font-size: 25px; }
    .dpv-hero-actions .dpv-btn-green,
    .dpv-hero-actions .dpv-btn-outline { flex: 1 1 100%; }
    .dpv-stats { grid-template-columns: 1fr; }
    .dpv-stats li { border-left: 0; border-top: 1px solid #d9e6e2; }
    .dpv-stats li:first-child { border-top: 0; }
    .dpv-edu { grid-template-columns: 1fr; }
    .dpv-edu-side { border-left: 0; border-top: 1px solid #e3eceb; }
    .dpv-services { grid-template-columns: repeat(2, 1fr); }
    .dpv-diseases { grid-template-columns: 1fr; }
    .dpv-diseases li { border-left: 0; }
    .dpv-rating { grid-template-columns: 1fr; }
    .dpv-related-grid { grid-template-columns: 1fr; }
    .dpv-side { grid-template-columns: 1fr; }
    .dpv-card-title { font-size: 20px; }
    .dpv-banner h3 { font-size: 21px; }
    .dpv-banner-btn { width: 100%; justify-content: center; }
}

/* বায়ো: অ্যাডমিন এডিটরের HTML (div, strong, ul/li) */
.dpv-bio.is-html div, .dpv-bio.is-html p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--dp-text); }
.dpv-bio.is-html strong { font-weight: 800; color: #0a2a5b; }
.dpv-bio.is-html ul, .dpv-bio.is-html ol { margin: 6px 0 0; padding-left: 22px; }
.dpv-bio.is-html li { font-size: 15.5px; line-height: 1.7; color: var(--dp-text); }
.dpv-bio.is-html div > ul, .dpv-bio.is-html div > ol { margin-top: 4px; }

/* প্রিয় তালিকার ❤ বাটন */
.dpv-fav i { color: #e23b4e; }
.dpv-fav.is-on { color: #e23b4e; border-color: #f0a5ad; background: #fff5f6; }
.dpv-fav:hover i { color: inherit; }
.dpv-fav.is-on:hover { color: #fff; background: #e23b4e; border-color: #e23b4e; }


/* ══ ডাক্তারের বিস্তারিত তথ্য কার্ড (ডেটাবেজের বাকি ফিল্ড) ══ */
.dpv-info { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; padding: 4px 22px 8px; }
.dpv-info-list { margin: 0; }
.dpv-info-list > div { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.4fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #e8eef6; font-size: 15.5px; }
.dpv-info-list > div:last-child { border-bottom: 0; }
.dpv-info-list dt { font-weight: 600; color: #1c3463; }
.dpv-info-list dt i { margin-right: 6px; color: #16a34a; }
.dpv-info-list dd { margin: 0; color: #0b2a6b; font-weight: 600; word-break: break-word; }
.dpv-info-box { align-self: start; padding: 14px 16px; border: 1px solid #cfe8d8; border-radius: 12px; background: #f2faf5; }
.dpv-info-box h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: #15803d; }
.dpv-fee-list { margin: 0; padding: 0; list-style: none; }
.dpv-fee-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #bfdfcb; font-size: 15px; }
.dpv-fee-list li:last-child { border-bottom: 0; }
.dpv-fee-list b { font-size: 17px; color: #15803d; }
.dpv-info-row { padding: 6px 22px 12px; }
.dpv-info-row h3 { margin: 6px 0 8px; font-size: 16px; font-weight: 800; color: #0b2a6b; }
.dpv-info-row p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #1c3463; }
.dpv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dpv-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #e9f8ee; color: #15803d; font-size: 14.5px; font-weight: 600; }
.dpv-chips.is-tags span { background: #eef2fb; color: #1f3a8a; }
.dpv-social { display: flex; flex-wrap: wrap; gap: 10px; }
.dpv-social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #d6e2f2; border-radius: 10px; background: #fff; color: #0b2a6b; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.dpv-social a:hover { background: #f3f8ff; }
@media (max-width: 760px) {
    .dpv-info { grid-template-columns: 1fr; padding: 4px 14px 8px; }
    .dpv-info-row { padding: 6px 14px 12px; }
    .dpv-info-list > div { grid-template-columns: 1fr; gap: 2px; }
}

.dpv-card-title .dpv-write-review { margin-left: auto; font-size: 14px; }
