﻿/* ===== ESIM INSTALLATION & TROUBLESHOOTING CENTER ===== */
.pd-help-wrap {
    margin-top: 3rem;
    padding: 4rem 0;
    scroll-margin-top: 5rem;
    color: #243247;
    background:
        radial-gradient(circle at 7% 2%, rgba(79, 70, 229, .1), transparent 30%),
        radial-gradient(circle at 95% 96%, rgba(14, 165, 233, .1), transparent 32%),
        #f7f9fc;
    border-top: 1px solid #e2e8f0;
}
.pd-help-intro { max-width: 830px; margin: 0 auto 2rem; text-align: center; }
.pd-help-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    color: #4338ca;
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.pd-help-title { margin: 0 0 .7rem; color: #0f172a; font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 850; line-height: 1.2; }
.pd-help-intro > p:last-of-type { margin: 0 auto; color: #53657b; font-size: 1.025rem; line-height: 1.7; }
.pd-help-jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.25rem; }
.pd-help-jumps a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem .95rem;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    color: #3730a3;
    background: #fff;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
}
.pd-help-jumps a:hover { color: #312e81; background: #eef2ff; border-color: #818cf8; }
.pd-help-section {
    max-width: 1180px;
    margin: 1.5rem auto 0;
    padding: clamp(1.2rem, 3vw, 2rem);
    scroll-margin-top: 5rem;
    border: 1px solid #dde5ef;
    border-radius: 24px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}
.pd-help-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.4rem; }
.pd-help-number {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    font-size: .95rem;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}
.pd-help-heading h2 { margin: 0 0 .4rem; color: #0f172a; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; line-height: 1.3; }
.pd-help-heading p { max-width: 850px; margin: 0; color: #64748b; line-height: 1.65; }
.pd-install-alert {
    display: flex;
    gap: .9rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid #fde68a;
    border-radius: 14px;
    color: #713f12;
    background: #fffbeb;
}
.pd-install-alert > i { flex: 0 0 auto; margin-top: .1rem; color: #d97706; font-size: 1.45rem; }
.pd-install-alert strong { display: block; margin-bottom: .35rem; color: #78350f; }
.pd-install-alert ul { margin: 0; padding-left: 1.15rem; }
.pd-install-alert li + li { margin-top: .25rem; }
.pd-install-alert a { color: #92400e; font-weight: 700; }
.pd-device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.pd-device-card { min-width: 0; padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; }
.pd-device-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.pd-device-head span { display: block; margin-bottom: .15rem; color: #64748b; font-size: .8rem; font-weight: 700; }
.pd-device-head h3 { margin: 0; color: #0f172a; font-size: 1.12rem; font-weight: 800; }
.pd-device-brand { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; font-size: 1.45rem; }
.pd-device-brand-apple { color: #fff; background: #111827; }
.pd-device-brand-android { color: #14532d; background: #dcfce7; }
.pd-phone-demo {
    position: relative;
    max-width: 330px;
    margin: 0 auto 1.2rem;
    padding: 24px 12px 13px;
    border: 5px solid #1e293b;
    border-radius: 25px;
    background: #f8fafc;
    box-shadow: 0 15px 28px rgba(15, 23, 42, .12);
}
.pd-phone-speaker { position: absolute; top: 8px; left: 50%; width: 55px; height: 5px; transform: translateX(-50%); border-radius: 9px; background: #334155; }
.pd-phone-camera { position: absolute; top: 7px; left: 50%; width: 8px; height: 8px; transform: translateX(-50%); border-radius: 50%; background: #334155; }
.pd-phone-screen { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 13px; background: #fff; }
.pd-phone-label { display: block; padding: .55rem .7rem; color: #475569; background: #f1f5f9; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.pd-phone-screen > div { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: .45rem; padding: .7rem; border-top: 1px solid #eef2f7; color: #334155; font-size: .82rem; }
.pd-phone-screen > div > i:first-child { color: #4f46e5; font-size: 1rem; }
.pd-phone-screen > div > i:last-child { color: #94a3b8; font-size: .7rem; }
.pd-phone-screen > div.is-active { color: #166534; background: #f0fdf4; }
.pd-phone-screen > div.is-active > i { color: #16a34a; }
.pd-help-install-steps { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.pd-help-install-steps li { display: grid; grid-template-columns: 29px 1fr; align-items: start; gap: .65rem; color: #475569; line-height: 1.55; }
.pd-help-install-steps li > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #4338ca; background: #eef2ff; font-size: .8rem; font-weight: 850; }
.pd-help-install-steps strong { color: #1e293b; }
.pd-help-success { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.15rem; padding: .9rem 1rem; border: 1px solid #bbf7d0; border-radius: 13px; color: #166534; background: #f0fdf4; }
.pd-help-success > i { margin-top: .1rem; color: #16a34a; font-size: 1.2rem; }
.pd-help-success p { margin: 0; line-height: 1.6; }
.pd-diagnostic { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.pd-diagnostic > div { position: relative; min-width: 0; padding: 1rem .65rem; border: 1px solid #dbeafe; border-radius: 14px; text-align: center; background: #f8fbff; }
.pd-diagnostic > div > span { position: absolute; top: .45rem; left: .55rem; color: #94a3b8; font-size: .7rem; font-weight: 850; }
.pd-diagnostic > div > i { display: block; margin-bottom: .4rem; color: #2563eb; font-size: 1.4rem; }
.pd-diagnostic strong, .pd-diagnostic small { display: block; }
.pd-diagnostic strong { color: #1e3a8a; font-size: .9rem; }
.pd-diagnostic small { margin-top: .2rem; color: #64748b; font-size: .75rem; }
.pd-diagnostic-arrow { color: #94a3b8; }
.pd-trouble-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .65fr); align-items: start; gap: 1.15rem; }
.pd-trouble-faq { display: grid; gap: .65rem; }
.pd-trouble-faq details { overflow: hidden; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.pd-trouble-faq summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .95rem 1rem; color: #1e293b; cursor: pointer; font-weight: 750; list-style: none; }
.pd-trouble-faq summary::-webkit-details-marker { display: none; }
.pd-trouble-faq summary span { display: flex; align-items: flex-start; gap: .65rem; }
.pd-trouble-faq summary span i { margin-top: .1rem; color: #4f46e5; font-size: 1.05rem; }
.pd-trouble-faq summary > i { flex: 0 0 auto; color: #64748b; transition: transform .2s ease; }
.pd-trouble-faq details[open] { border-color: #c7d2fe; box-shadow: 0 7px 20px rgba(79, 70, 229, .06); }
.pd-trouble-faq details[open] summary { color: #3730a3; background: #f5f7ff; }
.pd-trouble-faq details[open] summary > i { transform: rotate(45deg); }
.pd-trouble-faq details > div { padding: .1rem 1rem 1rem 2.7rem; color: #526278; line-height: 1.68; }
.pd-trouble-faq details p { margin: .65rem 0 0; }
.pd-trouble-faq details ol { margin: .65rem 0 0; padding-left: 1.2rem; }
.pd-trouble-faq details li + li { margin-top: .35rem; }
.pd-support-checklist { position: sticky; top: 6rem; padding: 1.25rem; border: 1px solid #c7d2fe; border-radius: 18px; background: linear-gradient(145deg, #eef2ff, #eff6ff); }
.pd-support-checklist-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .85rem; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #4f46e5, #2563eb); font-size: 1.35rem; }
.pd-support-checklist h3 { margin: 0 0 .45rem; color: #1e1b4b; font-size: 1.15rem; font-weight: 800; }
.pd-support-checklist p { margin: 0 0 .65rem; color: #475569; }
.pd-support-checklist ul { margin: 0 0 .85rem; padding-left: 1.15rem; color: #334155; line-height: 1.55; }
.pd-support-checklist li + li { margin-top: .28rem; }
.pd-support-warning { display: flex; gap: .5rem; padding: .7rem; border-radius: 10px; color: #7c2d12; background: #fff7ed; font-size: .85rem; line-height: 1.5; }
.pd-support-warning i { flex: 0 0 auto; margin-top: .15rem; color: #ea580c; }
.pd-support-buttons { display: grid; gap: .55rem; margin-top: .9rem; }
.pd-support-buttons a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .55rem .75rem; border: 1px solid #a5b4fc; border-radius: 10px; color: #3730a3; background: #fff; font-weight: 750; text-decoration: none; }
.pd-support-buttons a:first-child { color: #fff; background: #4f46e5; border-color: #4f46e5; }
.pd-support-buttons a:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(79, 70, 229, .12); }
.pd-help-wrap a:focus-visible, .pd-trouble-faq summary:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }

@media (max-width: 991.98px) {
    .pd-trouble-layout { grid-template-columns: 1fr; }
    .pd-support-checklist { position: static; }
}
@media (max-width: 767.98px) {
    .pd-help-wrap { margin-top: 2rem; padding: 2.75rem 0; }
    .pd-device-grid { grid-template-columns: 1fr; }
    .pd-diagnostic { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
    .pd-diagnostic-arrow { display: none; }
}
@media (max-width: 575.98px) {
    .pd-help-section { padding: 1rem; border-radius: 18px; }
    .pd-help-heading { gap: .7rem; }
    .pd-help-number { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
    .pd-device-card { padding: 1rem; }
    .pd-diagnostic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-trouble-faq summary { padding: .85rem; font-size: .94rem; }
    .pd-trouble-faq details > div { padding: 0 .85rem .9rem; }
}


