/* NDX Hospital Directory — Modern Unified Doctor Directory & Profile Design */
.ndxhp-doctors-section,.ndxhp-doctor-search-widget{font-family:inherit;color:#031d40}
.ndxhp-doctors-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:0 0 22px}
.ndxhp-doctors-heading h2{margin:0;font-size:28px;line-height:1.2;font-weight:800;color:#071f3d;letter-spacing:-.02em}
.ndxhp-doctors-heading p{margin:7px 0 0;color:#64748b;font-size:14px}

/* Unified Doctor Grid */
.ndxhp-doctor-grid{display:grid;gap:20px;align-items:stretch;width:100%;box-sizing:border-box}
.ndxhp-doctor-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ndxhp-doctor-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ndxhp-doctor-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Unified Doctor Card Design Across All Placements */
.ndxhp-doctor-card{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    overflow:hidden;
    background:#ffffff!important;
    border:1px solid #e0ebf6!important;
    border-radius:20px!important;
    box-shadow:0 2px 8px -2px rgba(3,29,64,.05),0 8px 22px -4px rgba(3,29,64,.06)!important;
    transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s cubic-bezier(.16,1,.3,1),border-color .25s ease!important;
    box-sizing:border-box;
}
.ndxhp-doctor-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 42px -10px rgba(3,29,64,.15),0 8px 18px -6px rgba(3,29,64,.08)!important;
    border-color:#9ec2e6!important;
}

.ndxhp-doctor-photo{
    position:relative;
    display:block;
    height:260px;
    min-height:260px;
    background:radial-gradient(ellipse at 50% 20%,#edf7ff 0%,#e1eef9 100%);
    overflow:hidden;
    text-decoration:none!important;
}
.ndxhp-doctor-photo:after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:42%;
    background:linear-gradient(to top,rgba(3,29,64,.28) 0%,rgba(3,29,64,.06) 60%,transparent 100%);
    pointer-events:none;
    z-index:1;
}
.ndxhp-doctor-photo img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:bottom center!important;
    display:block;
    transition:transform .45s cubic-bezier(.16,1,.3,1),filter .45s ease;
}
.ndxhp-doctor-card:hover .ndxhp-doctor-photo img{
    transform:none;
    filter:brightness(1.02);
}
.ndxhp-doctor-placeholder{
    height:100%;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#1963c4;
    font-weight:800;
    font-size:14px;
    letter-spacing:.05em;
    text-transform:uppercase;
    background:linear-gradient(145deg,#edf7ff,#dceefb);
}
.ndxhp-doctor-placeholder span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    border-radius:18px;
    background:#ffffff;
    box-shadow:0 6px 16px rgba(25,99,196,.15);
    font-size:26px;
}

.ndxhp-doctor-body{
    display:flex!important;
    flex-direction:column!important;
    flex:1 1 auto!important;
    min-width:0;
    padding:18px 18px 16px!important;
    box-sizing:border-box!important;
    background:#ffffff;
}
.ndxhp-doctor-body h3{
    font-size:17.5px!important;
    line-height:1.35!important;
    font-weight:800!important;
    letter-spacing:-.015em;
    margin:0 0 5px!important;
}
.ndxhp-doctor-body h3 a{
    color:#071f3d!important;
    text-decoration:none!important;
    transition:color .18s ease;
}
.ndxhp-doctor-body h3 a:hover{
    color:#1963c4!important;
}
.ndxhp-doctor-dept{
    font-size:12.5px!important;
    font-weight:800!important;
    color:#0284c7!important;
    margin-bottom:6px!important;
    letter-spacing:.01em;
}
.ndxhp-doctor-meta{
    font-size:12.5px!important;
    color:#64748b!important;
    min-height:18px;
    margin-bottom:10px!important;
    line-height:1.5;
}
.ndxhp-doctor-hospital,.ndxhp-doctor-location{
    display:flex!important;
    gap:8px!important;
    align-items:flex-start!important;
    font-size:12.5px!important;
    line-height:1.45!important;
    color:#475569!important;
    margin-top:6px!important;
}
.ndxhp-doctor-hospital span:first-child{
    color:#0284c7!important;
    font-weight:700!important;
    flex-shrink:0;
}
.ndxhp-doctor-location span:first-child{
    color:#ef4444!important;
    font-weight:700!important;
    flex-shrink:0;
}
.ndxhp-doctor-hospital a{
    color:inherit!important;
    text-decoration:none!important;
    font-weight:600;
    transition:color .18s ease;
}
.ndxhp-doctor-hospital a:hover{
    color:#1963c4!important;
    text-decoration:underline;
}

.ndxhp-doctor-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:auto!important;
    padding-top:14px!important;
}
.ndxhp-doctor-profile,.ndxhp-doctor-consult{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:42px!important;
    border-radius:11px!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:700!important;
    box-sizing:border-box!important;
    transition:all .2s ease!important;
    cursor:pointer;
}
.ndxhp-doctor-profile{
    border:1.5px solid #207ce6!important;
    color:#1663c4!important;
    background:#f8fbff!important;
}
.ndxhp-doctor-profile:hover{
    background:#eef6ff!important;
    color:#0c4a96!important;
    border-color:#1663c4!important;
    transform:translateY(-1px);
}
.ndxhp-doctor-profile span{
    transition:transform .2s ease;
}
.ndxhp-doctor-profile:hover span{
    transform:translateX(3px);
}
.ndxhp-doctor-consult{
    background:linear-gradient(135deg,#10b981 0%,#059669 100%)!important;
    border:0!important;
    color:#ffffff!important;
    box-shadow:0 4px 14px -3px rgba(5,150,105,.4),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.ndxhp-doctor-consult:hover{
    background:linear-gradient(135deg,#059669 0%,#047857 100%)!important;
    color:#ffffff!important;
    transform:translateY(-1px);
    box-shadow:0 8px 18px -4px rgba(5,150,105,.5),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.ndxhp-doctor-empty{
    padding:36px;
    border:1px dashed #cbdced;
    border-radius:18px;
    background:#f8fbff;
    color:#64748b;
    text-align:center;
}

/* Featured Doctors List Item Wrapper */
.ndxhp-featured-doctors .ndxhp-doctor-grid{align-items:stretch}
.ndxhp-featured-doctor-item{min-width:0;display:flex;width:100%}
.ndxhp-featured-doctor-item>.ndxhp-doctor-card{width:100%}

/* Load More Button */
.ndxhp-load-more-wrap{display:flex;justify-content:center;margin-top:28px}
.ndxhp-load-more-doctors{
    appearance:none;
    -webkit-appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:200px;
    min-height:46px;
    padding:10px 22px;
    border:1.5px solid #207ce6!important;
    border-radius:12px!important;
    background:#ffffff!important;
    color:#1663c4!important;
    font-family:inherit;
    font-size:14px;
    font-weight:800;
    line-height:1.2;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(3,29,64,.06)!important;
    transition:all .2s ease;
}
.ndxhp-load-more-doctors:hover,.ndxhp-load-more-doctors:focus{
    background:#1663c4!important;
    color:#ffffff!important;
    border-color:#1663c4!important;
    box-shadow:0 8px 22px rgba(22,99,196,.25)!important;
    outline:none!important;
    transform:translateY(-1px);
}
.ndxhp-load-more-arrow{font-size:18px;line-height:1;transition:transform .2s ease}
.ndxhp-load-more-doctors:hover .ndxhp-load-more-arrow{transform:translateX(4px)}

/* Doctor Search Widget — NDX Compact Directory UI */
.ndxhp-doctor-search-widget,
.ndxhp-doctor-search-widget *{box-sizing:border-box}
.ndxhp-doctor-search-widget{width:100%;font-family:inherit;color:#031d40}
.ndxhp-doctor-search-form{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(160px,1fr);
    gap:10px;
    padding:10px;
    margin:0 0 22px;
    background:#ffffff;
    border:1px solid #e1eaf3;
    border-radius:16px;
    box-shadow:0 4px 18px rgba(3,29,64,.06);
    align-items:stretch;
}
.ndxhp-doctor-filter{
    position:relative;
    min-width:0;
    height:58px;
    margin:0;
    padding:7px 34px 7px 12px;
    display:flex;
    align-items:center;
    gap:10px;
    background:#ffffff;
    border:1px solid #d6e2ee;
    border-radius:11px;
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.ndxhp-doctor-filter:hover{border-color:#b7cde0;background:#ffffff}
.ndxhp-doctor-filter:focus-within{border-color:#207ce6;box-shadow:0 0 0 3px rgba(32,124,230,.14);background:#ffffff}
.ndxhp-doctor-filter-icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0284c7;
    font-size:16px;
    line-height:1;
    font-weight:800;
}
.ndxhp-doctor-filter-content{display:block;min-width:0;flex:1}
.ndxhp-doctor-filter-label{display:block;margin:0 0 2px;color:#031d40;font-size:10px;line-height:12px;font-weight:800;white-space:nowrap;letter-spacing:.02em}
.ndxhp-doctor-filter select{
    display:block;
    width:100%;
    height:24px;
    min-height:24px;
    margin:0;
    padding:0 28px 0 0;
    border:0!important;
    border-radius:6px;
    background:transparent!important;
    color:#475569!important;
    font-family:inherit;
    font-size:12.5px;
    line-height:24px;
    outline:0!important;
    box-shadow:none!important;
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.ndxhp-doctor-filter select:focus{outline:0!important;box-shadow:none!important}
.ndxhp-doctor-filter select option{background:#fff;color:#334e68;font-family:inherit;font-size:13px;padding:9px 12px}
.ndxhp-doctor-filter select option:checked{background:#eaf4ff;color:#075b9e;font-weight:700}
.ndxhp-doctor-filter:after{
    content:"";
    position:absolute;
    right:14px;
    top:50%;
    width:7px;
    height:7px;
    border-right:1.5px solid #64748b;
    border-bottom:1.5px solid #64748b;
    transform:translateY(-65%) rotate(45deg);
    pointer-events:none;
}
.ndxhp-doctor-search-submit{
    width:100%;
    height:58px!important;
    min-height:58px;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#1d72dd 0%,#1255af 100%)!important;
    color:#ffffff!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-family:inherit;
    font-size:13.5px;
    line-height:1;
    font-weight:800;
    text-align:center;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:0 4px 14px -3px rgba(18,85,175,.45),inset 0 1px 0 rgba(255,255,255,.22)!important;
    outline:0;
    transition:all .2s ease;
}
.ndxhp-doctor-search-submit:hover,.ndxhp-doctor-search-submit:focus{
    background:linear-gradient(135deg,#1665cb 0%,#0b4594 100%)!important;
    box-shadow:0 8px 20px -4px rgba(18,85,175,.55),inset 0 1px 0 rgba(255,255,255,.28)!important;
    color:#ffffff!important;
    transform:translateY(-1px);
}
.ndxhp-doctor-search-submit:active{transform:translateY(1px)}
.ndxhp-doctor-search-submit-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:18px;color:#ffffff!important}

/* Search Result Modal */
html.ndxhp-doctor-modal-open{overflow:hidden}
.ndxhp-doctor-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
    box-sizing:border-box;
}
.ndxhp-doctor-modal.is-open{display:flex}
.ndxhp-doctor-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,29,64,.65);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
.ndxhp-doctor-modal-panel{
    position:relative;
    z-index:1;
    width:min(1180px,100%);
    max-height:min(90vh,900px);
    display:flex;
    flex-direction:column;
    background:#ffffff;
    border-radius:22px;
    box-shadow:0 28px 80px rgba(3,29,64,.3);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.85);
}
.ndxhp-doctor-modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:22px 26px 18px;
    border-bottom:1px solid #e5edf5;
    background:#ffffff;
}
.ndxhp-doctor-modal-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#207ce6;margin-bottom:3px}
.ndxhp-doctor-modal-header h2{margin:0;color:#071f3d;font-size:25px;line-height:1.2;font-weight:800}
.ndxhp-doctor-modal-header p{margin:5px 0 0;color:#64748b;font-size:13.5px}
.ndxhp-doctor-modal-header p strong{color:#071f3d}
.ndxhp-doctor-modal-close{
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:1px solid #d7e4f0;
    border-radius:50%;
    background:#ffffff;
    color:#031d40;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .18s ease;
}
.ndxhp-doctor-modal-close:hover{
    background:#f1f7fc;
    color:#031d40;
    border-color:#9ec2e6;
    transform:rotate(90deg);
}
.ndxhp-doctor-modal-filters{display:flex;flex-wrap:wrap;gap:8px;padding:12px 26px;background:#f8fbff;border-bottom:1px solid #e5edf5}
.ndxhp-doctor-modal-filters span{padding:6px 12px;border:1px solid #d7e6f2;border-radius:999px;background:#ffffff;color:#46627d;font-size:11px;font-weight:600}
.ndxhp-doctor-modal-body{overflow:auto;padding:22px 26px 28px}
.ndxhp-doctor-modal-body .ndxhp-doctor-grid{padding:0}

/* Responsive Rules */
@media (max-width:1100px){
  .ndxhp-doctor-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndxhp-doctor-search-submit{grid-column:span 2}
  .ndxhp-doctor-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ndxhp-doctor-photo{height:235px;min-height:235px}
}
@media (max-width:760px){
  .ndxhp-doctor-search-form{grid-template-columns:1fr;padding:8px;gap:8px;border-radius:14px}
  .ndxhp-doctor-search-submit{grid-column:auto}
  .ndxhp-doctor-cols-2,.ndxhp-doctor-cols-3,.ndxhp-doctor-cols-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .ndxhp-doctor-photo{height:225px;min-height:225px}
  .ndxhp-load-more-wrap{margin-top:22px}
  .ndxhp-load-more-doctors{width:100%;max-width:320px}
  .ndxhp-doctor-modal{padding:16px}
}
@media (max-width:520px){
  .ndxhp-doctor-filter{height:56px}
  .ndxhp-doctor-search-submit{height:56px!important;min-height:56px}
  .ndxhp-doctor-cols-2,.ndxhp-doctor-cols-3,.ndxhp-doctor-cols-4{grid-template-columns:1fr}
  .ndxhp-doctor-photo{height:250px;min-height:250px}
  .ndxhp-load-more-doctors{max-width:none}
  .ndxhp-doctor-modal{padding:10px}
}

/* ==========================================================================
   Dedicated Doctor Profile Page
   ========================================================================== */
.ndxhp-doctor-profile-wrap{width:100%;max-width:1180px;margin:0 auto;padding:12px 16px 40px;box-sizing:border-box;font-family:inherit;color:#031d40}

/* Top Navigation Bar */
.ndxhp-doctor-nav-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:22px;padding:8px 0}
.ndxhp-doctor-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13.5px;color:#64748b}
.ndxhp-doctor-breadcrumbs a{color:#1963c4;text-decoration:none;font-weight:600;transition:color .18s ease}
.ndxhp-doctor-breadcrumbs a:hover{color:#075b9e;text-decoration:underline}
.ndxhp-bc-sep{color:#cbd5e1;font-size:12px}
.ndxhp-bc-current{color:#071f3d;font-weight:800}
.ndxhp-doctor-nav-actions{display:flex;align-items:center;gap:10px}
.ndxhp-doctor-nav-share{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 16px;
    border:1px solid #bfdbfe;
    border-radius:10px;
    background:#eff6ff;
    color:#1e40af;
    font-size:12.5px;
    font-weight:700;
    cursor:pointer;
    transition:all .18s ease;
}
.ndxhp-doctor-nav-share:hover{background:#dbeafe;border-color:#3b82f6;color:#1d4ed8;transform:translateY(-1px)}
.ndxhp-doctor-back-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 16px;
    border:1px solid #cbdced;
    border-radius:10px;
    background:#ffffff;
    color:#031d40;
    font-size:12.5px;
    font-weight:700;
    text-decoration:none;
    transition:all .18s ease;
}
.ndxhp-doctor-back-btn:hover{background:#f1f8ff;border-color:#207ce6;color:#1663c4;transform:translateX(-2px)}

/* Hero Card */
.ndxhp-doctor-hero-card{
    display:grid;
    grid-template-columns:320px minmax(0,1fr);
    gap:34px;
    background:#ffffff;
    border:1px solid #e0ebf6;
    border-radius:24px;
    padding:32px;
    box-shadow:0 8px 32px rgba(3,29,64,.06);
    align-items:start;
    margin-bottom:26px;
    box-sizing:border-box;
}
.ndxhp-doctor-hero-photo-wrap{
    position:relative;
    width:100%;
    border-radius:20px;
    overflow:hidden;
    background:#f0f7ff;
    border:1px solid #d9e7f4;
    box-shadow:0 6px 20px rgba(3,29,64,.06);
}
.ndxhp-doctor-hero-photo{width:100%;height:360px;object-fit:contain;object-position:bottom center;display:block}
.ndxhp-doctor-hero-placeholder{
    width:100%;
    height:360px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#e0f0fe,#bae6fd);
    color:#0369a1;
}
.ndxhp-doc-initials{font-size:54px;font-weight:800;letter-spacing:1px;line-height:1}
.ndxhp-doc-tag{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-top:10px;opacity:.9}
.ndxhp-doctor-verified-badge{
    position:absolute;
    bottom:14px;
    left:14px;
    right:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:8px 14px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border-radius:10px;
    font-size:12px;
    font-weight:800;
    color:#059669;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* Hero Content */
.ndxhp-doctor-hero-content{display:flex;flex-direction:column;min-width:0}
.ndxhp-doctor-hero-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.ndxhp-doctor-dept-badge{
    display:inline-block;
    padding:5px 14px;
    border-radius:999px;
    background:#e0f2fe;
    color:#0284c7;
    font-size:12px;
    font-weight:800;
    border:1px solid #bae6fd;
    letter-spacing:.02em;
}
.ndxhp-doctor-ownership-badge{display:inline-block;padding:5px 14px;border-radius:999px;font-size:12px;font-weight:700}
.ndxhp-doctor-ownership-government{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.ndxhp-doctor-ownership-private{background:#fef3c7;color:#b45309;border:1px solid #fde68a}
.ndxhp-doctor-views-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    background:#f1f5f9;
    color:#334155;
    border:1px solid #e2e8f0;
}
.ndxhp-doctor-views-badge .ndxhp-views-icon{font-size:13px}
.ndxhp-doctor-views-badge .ndxhp-views-count-val{font-weight:800;color:#0f172a}
.ndxhp-doctor-hero-name{margin:0 0 8px;font-size:32px;line-height:1.2;font-weight:800;color:#071f3d;letter-spacing:-.025em}
.ndxhp-doctor-hero-meta{font-size:15px;line-height:1.55;color:#475569;margin-bottom:20px;font-weight:500}
.ndxhp-doctor-hero-details{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    padding:18px 20px;
    background:#f8fafc;
    border-radius:16px;
    border:1px solid #e2e8f0;
    margin-bottom:24px;
}
.ndxhp-doctor-detail-item{display:flex;align-items:flex-start;gap:12px;font-size:13.5px}
.ndxhp-detail-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:#0284c7;font-size:16px}
.ndxhp-detail-label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:2px}
.ndxhp-detail-val{color:#0f172a;font-weight:600}
.ndxhp-detail-val-link{color:#1963c4;font-weight:700;text-decoration:none}
.ndxhp-detail-val-link:hover{text-decoration:underline}

/* Hero CTAs */
.ndxhp-doctor-hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ndxhp-doctor-btn-book,.ndxhp-doctor-btn-wa,.ndxhp-doctor-btn-call,.ndxhp-doctor-btn-share{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:11px 22px;
    border-radius:12px;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
    transition:all .2s ease;
    box-sizing:border-box;
}
.ndxhp-doctor-btn-book{
    background:linear-gradient(135deg,#10b981 0%,#059669 100%);
    border:0;
    color:#ffffff;
    box-shadow:0 4px 14px -3px rgba(5,150,105,.4),inset 0 1px 0 rgba(255,255,255,.25);
}
.ndxhp-doctor-btn-book:hover{
    background:linear-gradient(135deg,#059669 0%,#047857 100%);
    color:#ffffff;
    transform:translateY(-2px);
    box-shadow:0 8px 18px -4px rgba(5,150,105,.5),inset 0 1px 0 rgba(255,255,255,.28);
}
.ndxhp-doctor-btn-wa{
    background:linear-gradient(135deg,#25d366 0%,#128c7e 100%);
    border:0;
    color:#ffffff;
    box-shadow:0 4px 14px -3px rgba(37,211,102,.4),inset 0 1px 0 rgba(255,255,255,.25);
}
.ndxhp-doctor-btn-wa:hover{
    background:linear-gradient(135deg,#1eb857 0%,#0e7065 100%);
    color:#ffffff;
    transform:translateY(-2px);
    box-shadow:0 8px 18px -4px rgba(37,211,102,.5);
}
.ndxhp-doctor-btn-call{
    background:#ffffff;
    border:1px solid #cbdced;
    color:#031d40;
}
.ndxhp-doctor-btn-call:hover{
    background:#f8fbff;
    border-color:#207ce6;
    color:#1963c4;
    transform:translateY(-1px);
}
.ndxhp-doctor-btn-share{
    background:#ffffff;
    border:1px solid #cbdced;
    color:#031d40;
}
.ndxhp-doctor-btn-share:hover{
    background:#eff6ff;
    border-color:#207ce6;
    color:#1663c4;
    transform:translateY(-1px);
    box-shadow:0 4px 14px rgba(32,124,230,.15);
}
.ndxhp-btn-icon{font-size:16px;line-height:1}

/* Quick Stats Grid */
.ndxhp-doctor-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:26px}
.ndxhp-doctor-stat-views .ndxhp-doctor-stat-icon{background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#059669}
.ndxhp-doctor-stat-card{
    display:flex;
    align-items:center;
    gap:14px;
    padding:18px;
    background:#ffffff;
    border:1px solid #e0ebf6;
    border-radius:18px;
    box-shadow:0 4px 16px rgba(3,29,64,.04);
    transition:transform .2s ease,box-shadow .2s ease;
}
.ndxhp-doctor-stat-card:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(3,29,64,.08);
}
.ndxhp-doctor-stat-icon{
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:14px;
    background:linear-gradient(135deg,#eff6ff,#dbeafe);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:#1963c4;
}
.ndxhp-doctor-stat-info{min-width:0;flex:1}
.ndxhp-doctor-stat-label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:3px}
.ndxhp-doctor-stat-value{display:block;font-size:14.5px;font-weight:800;color:#071f3d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Section Box */
.ndxhp-doctor-section{
    background:#ffffff;
    border:1px solid #e0ebf6;
    border-radius:22px;
    padding:28px;
    box-shadow:0 4px 20px rgba(3,29,64,.05);
    margin-bottom:26px;
    box-sizing:border-box;
}
.ndxhp-doctor-section-title{
    margin:0 0 18px;
    font-size:21px;
    font-weight:800;
    color:#071f3d;
    border-bottom:1px solid #eef3f8;
    padding-bottom:14px;
    letter-spacing:-.015em;
}
.ndxhp-doctor-bio-content{font-size:15px;line-height:1.75;color:#334155}
.ndxhp-doctor-bio-content p{margin:0 0 14px}
.ndxhp-doctor-bio-content p:last-child{margin-bottom:0}
.ndxhp-doctor-chips-wrap{margin-top:22px;padding-top:18px;border-top:1px dashed #e2e8f0}
.ndxhp-doctor-chips-title{margin:0 0 12px;font-size:13px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.04em}
.ndxhp-doctor-chips{display:flex;flex-wrap:wrap;gap:8px}
.ndxhp-doctor-chip{
    display:inline-block;
    padding:6px 14px;
    background:#f1f6fc;
    color:#1e4a74;
    border:1px solid #e1edf7;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

/* Hospital Box inside Doctor Profile */
.ndxhp-doctor-hospital-box{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
.ndxhp-doctor-hosp-info{min-width:0;flex:1 1 320px}
.ndxhp-doctor-hosp-kicker{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#0284c7;margin-bottom:4px}
.ndxhp-doctor-hosp-title{margin:0 0 8px;font-size:23px;font-weight:800;color:#071f3d}
.ndxhp-doctor-hosp-addr{margin:0 0 10px;font-size:13.5px;color:#475569;display:flex;gap:6px;align-items:flex-start}
.ndxhp-doctor-hosp-contacts{display:flex;flex-wrap:wrap;gap:16px;font-size:12.5px;color:#64748b}
.ndxhp-doctor-hosp-contacts strong{color:#071f3d}
.ndxhp-doctor-btn-hosp{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 24px;
    background:linear-gradient(135deg,#1d72dd 0%,#1255af 100%);
    color:#ffffff;
    border-radius:12px;
    font-size:13.5px;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 4px 14px -3px rgba(18,85,175,.45),inset 0 1px 0 rgba(255,255,255,.22);
    transition:all .2s ease;
    white-space:nowrap;
}
.ndxhp-doctor-btn-hosp:hover{
    background:linear-gradient(135deg,#1665cb 0%,#0b4594 100%);
    color:#ffffff;
    transform:translateY(-1px);
    box-shadow:0 8px 20px -4px rgba(18,85,175,.55);
}

/* Other Specialists Section */
.ndxhp-doctor-view-all-link{font-size:13.5px;font-weight:800;color:#1963c4;text-decoration:none;transition:color .18s ease}
.ndxhp-doctor-view-all-link:hover{color:#0c4a96;text-decoration:underline}

/* Responsive adjustments */
@media (max-width:960px){
  .ndxhp-doctor-hero-card{grid-template-columns:1fr;padding:24px}
  .ndxhp-doctor-hero-photo-wrap{max-width:320px;margin:0 auto}
  .ndxhp-doctor-hero-photo{height:320px}
  .ndxhp-doctor-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .ndxhp-doctor-stats-grid{grid-template-columns:1fr}
  .ndxhp-doctor-hero-name{font-size:26px}
  .ndxhp-doctor-hero-actions{flex-direction:column;width:100%}
  .ndxhp-doctor-btn-book,.ndxhp-doctor-btn-wa,.ndxhp-doctor-btn-call{width:100%}
  .ndxhp-doctor-hospital-box{flex-direction:column;align-items:flex-start}
  .ndxhp-doctor-btn-hosp{width:100%;justify-content:center}
}

/* 3.14.9 consultation booking modal */
button.ndxhp-doctor-btn-book{border:0;cursor:pointer;font:inherit}
.ndxhp-doctor-actions{grid-template-columns:1fr}
.ndxhp-book-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px}
.ndxhp-book-modal[hidden]{display:none}
.ndxhp-book-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.ndxhp-book-dialog{position:relative;background:#ffffff;border-radius:18px;max-width:520px;width:100%;max-height:92vh;overflow-y:auto;padding:30px 28px;box-shadow:0 24px 60px -10px rgba(15,23,42,.35),0 12px 24px -10px rgba(15,23,42,.15);border:1px solid #f1f5f9;box-sizing:border-box}
.ndxhp-book-dialog h3{margin:0 0 6px;font-size:23px;font-weight:800;color:#0f172a;letter-spacing:-.02em}
.ndxhp-book-sub{margin:0 0 20px;color:#0b6bcb;font-weight:600;font-size:14px;line-height:1.45}
.ndxhp-book-x{
  position:absolute;
  top:18px;
  right:18px;
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border:1.5px solid #e11d48;
  border-radius:8px;
  font-size:18px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  color:#e11d48;
  padding:0;
  transition:all .15s ease;
}
.ndxhp-book-x:hover{
  background:#fff1f2;
  border-color:#be123c;
  color:#be123c;
  transform:scale(1.05);
}
.ndxhp-book-form label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:#334155;
  margin-bottom:14px;
}
.ndxhp-book-form input,
.ndxhp-book-form textarea{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:6px;
  padding:11px 14px;
  border:1.5px solid #cbd5e1;
  border-radius:10px;
  font:inherit;
  font-size:14px;
  font-weight:400;
  color:#0f172a;
  background:#f8fafc;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.ndxhp-book-form input:focus,
.ndxhp-book-form textarea:focus{
  outline:none;
  background:#ffffff;
  border-color:#10b981;
  box-shadow:0 0 0 3px rgba(16,185,129,.2);
}
.ndxhp-book-form textarea{
  resize:vertical;
  min-height:92px;
}
.ndxhp-book-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}
.ndxhp-book-submit{
  width:100%;
  padding:13px 20px;
  border:0;
  border-radius:10px;
  background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(16,185,129,.3);
  transition:all .18s ease;
  margin-top:4px;
}
.ndxhp-book-submit:hover:not(:disabled){
  background:linear-gradient(135deg,#059669,#047857);
  box-shadow:0 6px 20px rgba(16,185,129,.4);
  transform:translateY(-1px);
}
.ndxhp-book-submit:disabled{
  opacity:.75;
  cursor:wait;
  transform:none;
}
.ndxhp-book-msg{
  font-size:13.5px;
  font-weight:600;
  margin:4px 0 12px;
  border-radius:8px;
}
.ndxhp-book-msg.is-ok{
  color:#047857;
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  padding:10px 14px;
}
.ndxhp-book-msg.is-error{
  color:#b91c1c;
  background:#fef2f2;
  border:1px solid #fecaca;
  padding:10px 14px;
}
@media(max-width:560px){
  .ndxhp-book-dialog{padding:24px 20px;border-radius:14px}
  .ndxhp-book-dialog h3{font-size:20px}
}

/* ==========================================================================
   Doctor Profile Social Share Strip & View Count Styles
   ========================================================================== */
.ndxhp-doctor-share-strip{
  background:#ffffff;
  border:1px solid #e0ebf6;
  border-radius:20px;
  padding:20px 24px;
  margin-bottom:26px;
  box-shadow:0 4px 18px rgba(3,29,64,.04);
  box-sizing:border-box;
  transition:all .25s ease;
}
.ndxhp-doctor-share-strip.is-highlighted{
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37,99,235,.2),0 8px 24px rgba(37,99,235,.15);
}
.ndxhp-share-strip-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid #f1f5f9;
}
.ndxhp-share-strip-title{
  display:flex;
  align-items:center;
  gap:10px;
}
.ndxhp-share-strip-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:10px;
  background:#eff6ff;
  color:#2563eb;
  font-size:17px;
  flex-shrink:0;
}
.ndxhp-share-strip-title strong{
  display:block;
  font-size:14.5px;
  font-weight:800;
  color:#0f172a;
  line-height:1.2;
}
.ndxhp-share-strip-title span{
  display:block;
  font-size:12px;
  color:#64748b;
  margin-top:2px;
}
.ndxhp-share-strip-views{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:999px;
  font-size:12px;
  color:#475569;
  font-weight:600;
}
.ndxhp-views-pulse{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#10b981;
  display:inline-block;
  box-shadow:0 0 0 0 rgba(16,185,129,.7);
  animation:ndxhp-pulse 2s infinite;
}
@keyframes ndxhp-pulse{
  0%{box-shadow:0 0 0 0 rgba(16,185,129,.7)}
  70%{box-shadow:0 0 0 6px rgba(16,185,129,0)}
  100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}
}
.ndxhp-doctor-share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.ndxhp-share-btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 16px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .18s ease;
  box-sizing:border-box;
  line-height:1;
}
.ndxhp-share-btn svg{display:inline-block;flex-shrink:0}
.ndxhp-share-wa{background:#f0fdf4;color:#15803d;border-color:#bbf7d0}
.ndxhp-share-wa:hover{background:#25d366;color:#fff;border-color:#25d366;transform:translateY(-1px);box-shadow:0 4px 12px rgba(37,211,102,.25)}
.ndxhp-share-fb{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.ndxhp-share-fb:hover{background:#1877f2;color:#fff;border-color:#1877f2;transform:translateY(-1px);box-shadow:0 4px 12px rgba(24,119,242,.25)}
.ndxhp-share-x{background:#f8fafc;color:#0f172a;border-color:#e2e8f0}
.ndxhp-share-x:hover{background:#0f172a;color:#fff;border-color:#0f172a;transform:translateY(-1px);box-shadow:0 4px 12px rgba(15,23,42,.25)}
.ndxhp-share-li{background:#f0f7ff;color:#0284c7;border-color:#bae6fd}
.ndxhp-share-li:hover{background:#0a66c2;color:#fff;border-color:#0a66c2;transform:translateY(-1px);box-shadow:0 4px 12px rgba(10,102,194,.25)}
.ndxhp-share-tg{background:#f0f9ff;color:#0369a1;border-color:#bae6fd}
.ndxhp-share-tg:hover{background:#229ed9;color:#fff;border-color:#229ed9;transform:translateY(-1px);box-shadow:0 4px 12px rgba(34,158,217,.25)}
.ndxhp-share-mail{background:#f8fafc;color:#475569;border-color:#e2e8f0}
.ndxhp-share-mail:hover{background:#475569;color:#fff;border-color:#475569;transform:translateY(-1px)}
.ndxhp-share-copy{background:#f1f5f9;color:#334155;border-color:#cbd5e1}
.ndxhp-share-copy:hover{background:#e2e8f0;border-color:#94a3b8;color:#0f172a;transform:translateY(-1px)}
.ndxhp-share-copy.is-copied{background:#ecfdf5!important;border-color:#10b981!important;color:#059669!important}

/* Doctor Card Subline, Views & Quick Share */
.ndxhp-doctor-card-subline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.ndxhp-doctor-card-subline .ndxhp-doctor-dept{margin-bottom:0}
.ndxhp-doctor-card-views{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:11.5px;
  font-weight:700;
  color:#64748b;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  padding:2px 8px;
  border-radius:999px;
  white-space:nowrap;
}
.ndxhp-doctor-card-share{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:10px;
  border:1px solid #cbdced;
  background:#fff;
  color:#475569;
  font-size:14px;
  cursor:pointer;
  transition:all .18s ease;
}
.ndxhp-doctor-card-share:hover{background:#eff6ff;border-color:#207ce6;color:#1663c4;transform:translateY(-1px)}
.ndxhp-doctor-actions{display:flex;align-items:center;gap:8px}
.ndxhp-doctor-actions .ndxhp-doctor-profile{flex:1}

/* Hospital Manager Views Badge */
.ndxhp-manager-views-tag{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:10.5px;
  font-weight:700;
  color:#0369a1;
  background:#f0f9ff;
  border:1px solid #bae6fd;
  padding:2px 7px;
  border-radius:999px;
  margin-left:auto;
}

@media(max-width:1024px){
  .ndxhp-doctor-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:768px){
  .ndxhp-doctor-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndxhp-share-strip-header{flex-direction:column;align-items:flex-start}
}
@media(max-width:480px){
  .ndxhp-doctor-stats-grid{grid-template-columns:1fr}
  .ndxhp-doctor-share-buttons{flex-direction:column;align-items:stretch}
  .ndxhp-share-btn{justify-content:center;width:100%}
}
