/* Doctor Near Me page (/doctor-near-me) */

.dnm-page { color: #18415F; padding-bottom: 60px; }
.dnm-page h1, .dnm-page h2, .dnm-page h3 { color: #18415F !important; }

/* Hero */
.dnm-hero { padding: 44px 0 28px; text-align: center; }
.dnm-hero h1 { font-size: 38px; font-weight: 600; margin: 0 0 12px; line-height: 1.2; }
.dnm-hero__sub { max-width: 720px; margin: 0 auto 28px; font-size: 17px; line-height: 1.6; color: #4a627a; }

/* Search */
.dnm-search-wrap { max-width: 640px; margin: 0 auto 12px; position: relative; }
.dnm-search-wrap input {
    width: 100%;
    height: 56px;
    border: 1px solid #d8e1ea;
    border-radius: 999px;
    padding: 0 56px 0 22px;
    font-size: 16px;
    color: #18415F;
    outline: none;
    box-shadow: 0 4px 18px rgba(24, 65, 95, .06);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.dnm-search-wrap input:focus {
    border-color: #007A5E;
    box-shadow: 0 0 0 3px rgba(0, 122, 94, .12);
}
.dnm-search-wrap button {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #007A5E;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.dnm-search-wrap button:hover:not(:disabled) { background: #006B54; transform: scale(1.03); }
.dnm-search-wrap button:disabled { opacity: .85; cursor: wait; transform: none; }
.dnm-search-wrap button img { display: none; }
.dnm-search-wrap .dnm-btn-icon { display: flex; }
.dnm-search-wrap .dnm-btn-spinner { display: none; align-items: center; justify-content: center; }
.dnm-search-wrap.is-loading .dnm-btn-icon { display: none; }
.dnm-search-wrap.is-loading .dnm-btn-spinner { display: flex; }
.dnm-search-wrap.is-loading input { opacity: .7; pointer-events: none; }
.dnm-btn-spinner__ring {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dnm-spin .7s linear infinite;
}
@keyframes dnm-spin {
    to { transform: rotate(360deg); }
}
.dnm-search-hint { text-align: center; font-size: 13px; color: #9aa8b7; margin: 0 0 24px; }

.dnm-results-loading {
    display: none;
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 48px 24px;
    text-align: center;
    background: #f5f8fb;
    border: 1px dashed #d8e1ea;
    border-radius: 16px;
}
.dnm-results-loading.is-visible { display: block; }
.dnm-results-loading__spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    border: 3px solid #d8e1ea;
    border-top-color: #007A5E;
    border-radius: 50%;
    animation: dnm-spin .75s linear infinite;
}
.dnm-results-loading p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #18415F;
}
.dnm-results-loading span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7c91;
    font-weight: 400;
}
#dnm-results-panel { display: none; max-width: 900px; margin: 0 auto 40px; padding: 0 16px; }
#dnm-results-panel.is-visible { display: block; }
#dnm-results-panel.is-loading { display: none; }

/* Online doctor promo card */
.dnm-online-card {
    background: linear-gradient(145deg, #00684f 0%, #007A5E 42%, #00916f 100%);
    border-radius: 20px;
    padding: 28px 28px 26px;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 122, 94, .28);
    margin-bottom: 28px;
    overflow: hidden;
    position: relative;
}
.dnm-online-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    pointer-events: none;
}
.dnm-online-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.dnm-online-card__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.dnm-online-card__title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.25;
    color: #fff !important;
}
.dnm-online-card__lead {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .92);
    max-width: 520px;
}
.dnm-online-card__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.dnm-online-card__benefits li {
    font-size: 14px;
    padding-left: 22px;
    position: relative;
    color: rgba(255, 255, 255, .95);
}
.dnm-online-card__benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}
.dnm-online-card__aside { text-align: center; min-width: 200px; }
.dnm-online-card__stats {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 18px;
}
.dnm-online-card__stat {
    background: rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 88px;
}
.dnm-online-card__stat span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .85;
    margin-bottom: 4px;
}
.dnm-online-card__stat strong {
    font-size: 15px;
    font-weight: 700;
}
.dnm-online-card__actions { display: flex; flex-direction: column; gap: 10px; }
.dnm-online-card__btn {
    display: block;
    text-align: center;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.dnm-online-card__btn--primary {
    background: #fff;
    color: #007A5E;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.dnm-online-card__btn--primary:hover { color: #006B54; transform: translateY(-1px); }
.dnm-online-card__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
}
.dnm-online-card__btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.dnm-results-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #6b7c91;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.dnm-results-divider::before,
.dnm-results-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d8e1ea;
}

/* Local practice cards */
.dnm-local-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(24, 65, 95, .04);
}
.dnm-local-card__name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #18415F;
    line-height: 1.35;
}
.dnm-local-card__distance {
    font-size: 13px;
    color: #007A5E;
    font-weight: 600;
    margin: 0 0 6px;
}
.dnm-local-card__address {
    font-size: 14px;
    color: #6b7c91;
    margin: 0;
    line-height: 1.5;
}
.dnm-local-card__meta { text-align: right; min-width: 160px; }
.dnm-local-stat { margin-bottom: 8px; }
.dnm-local-stat__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #9aa8b7;
}
.dnm-local-stat__value {
    display: block;
    font-size: 13px;
    color: #18415F;
    margin-top: 2px;
}
.dnm-local-stat--muted .dnm-local-stat__value { color: #c0392b; font-weight: 600; }
.dnm-local-card__btn {
    display: inline-block;
    margin-top: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #f5f8fb;
    color: #18415F;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d8e1ea;
    transition: background .2s ease, border-color .2s ease;
}
.dnm-local-card__btn:hover { background: #eef2f6; border-color: #007A5E; color: #007A5E; }
.dnm-local-empty {
    text-align: center;
    padding: 24px;
    color: #6b7c91;
    font-size: 15px;
    background: #f5f8fb;
    border-radius: 12px;
    margin: 0;
}

/* Intro */
.dnm-intro { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.dnm-intro h2 { font-size: 24px; font-weight: 600; margin: 0 0 12px; }
.dnm-intro p { font-size: 15px; line-height: 1.65; color: #4a627a; margin: 0; }

/* Compare cards */
.dnm-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.dnm-compare-card {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 4px 16px rgba(24, 65, 95, .06);
}
.dnm-compare-card--good { border-top: 4px solid #007A5E; }
.dnm-compare-card--bad { border-top: 4px solid #e53935; }
.dnm-compare-card h3 { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.dnm-compare-list { list-style: none; padding: 0; margin: 0; }
.dnm-compare-list li {
    position: relative;
    padding: 0 0 12px 28px;
    font-size: 14px;
    line-height: 1.55;
    color: #4a627a;
}
.dnm-compare-list li:last-child { padding-bottom: 0; }
.dnm-compare-list li::before {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.dnm-compare-card--good .dnm-compare-list li::before {
    content: "✓";
    background: #e6f7ee;
    color: #1d7a45;
}
.dnm-compare-card--bad .dnm-compare-list li::before {
    content: "✕";
    background: #fdecec;
    color: #b9332a;
}

/* Steps */
.dnm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 40px; }
.dnm-step {
    background: #f5f8fb;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
}
.dnm-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007A5E;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.dnm-step p { margin: 0; font-size: 14px; line-height: 1.5; color: #4a627a; }

/* Features */
.dnm-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 40px; }
.dnm-feature {
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 14px;
    padding: 22px 20px;
}
.dnm-feature h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.dnm-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: #4a627a; }

/* Online suitability banner */
.dnm-banner {
    background: linear-gradient(135deg, #eafbf5 0%, #f5f8fb 100%);
    border: 1px solid #c8e6d9;
    border-radius: 14px;
    padding: 22px 24px;
    text-align: center;
    margin-bottom: 36px;
}
.dnm-banner h2 { font-size: 22px; margin: 0 0 8px; }
.dnm-banner p { margin: 0; font-size: 15px; color: #4a627a; line-height: 1.6; }
.dnm-banner strong { color: #007A5E; }

/* CTA */
.dnm-cta {
    background: linear-gradient(135deg, #00684f 0%, #007A5E 50%, #00A884 100%);
    color: #fff;
    text-align: center;
    padding: 44px 24px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 122, 94, .22);
}
.dnm-cta h2 { color: #fff !important; font-size: 26px; margin: 0 0 8px; font-weight: 700; }
.dnm-cta p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 20px; line-height: 1.6; }
.dnm-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #007A5E;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.dnm-cta a:hover { color: #006B54; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.18); }

@media (max-width: 991px) {
    .dnm-compare { grid-template-columns: 1fr; }
    .dnm-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .dnm-page { padding-bottom: 40px; }
    .dnm-hero { padding: 28px 0 20px; }
    .dnm-hero h1 { font-size: 28px; }
    .dnm-steps { grid-template-columns: 1fr; }
    .dnm-online-card__grid { grid-template-columns: 1fr; }
    .dnm-online-card__aside { text-align: left; }
    .dnm-online-card__stats { justify-content: flex-start; }
    .dnm-online-card__benefits { grid-template-columns: 1fr; }
    .dnm-local-card { grid-template-columns: 1fr; }
    .dnm-local-card__meta { text-align: left; }
}
