/* ============================================================
   ডাক্তারপাড়া — dp-ask-doctor.css
   "ডাক্তারকে প্রশ্ন" পেজ ও সব-প্রশ্নের পেজ। টোকেন আসে dp-chrome.css থেকে।
   ============================================================ */

:root { --dpa-ink: #0e2a25; --dpa-line: #dfe8e6; }

.dpa-btn-green,
.dpa-btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 8px; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform .2s; }
.dpa-btn-green { width: 100%; height: 52px; font-size: 18px; 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); }
.dpa-btn-green:hover { transform: translateY(-1px); }
.dpa-btn-outline { color: #0a7a33; background: #fff; border-color: #53b774; }
.dpa-btn-outline:hover { color: #fff; background: var(--dp-green); border-color: var(--dp-green); }

/* ── হিরো ── */
.dpa-hero { position: relative; overflow: hidden; min-height: 268px; background: linear-gradient(95deg, #f3fafb 0%, #eaf6f7 55%, #e1eff3 100%); }
.dpa-hero-art { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 52%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
.dpa-hero-inner { position: relative; z-index: 2; padding: 26px 0 34px; }
.dpa-hero h1 { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-size: 54px; font-weight: 800; line-height: 1.15; color: #0a2a5b; }
.dpa-hero h1 i { font-size: 62px; color: #0a8a3a; }
.dpa-hero h1 span { color: #0a8a24; }
.dpa-hero p { max-width: 560px; margin: 0 0 16px; font-size: 21px; font-weight: 500; line-height: 1.5; color: var(--dpa-ink); }
.dpa-checks { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; max-width: 780px; }
.dpa-checks li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 10px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--dpa-ink); background: rgba(255, 255, 255, .92); box-shadow: 0 3px 10px rgba(11, 42, 91, .06); }
.dpa-checks i { font-size: 19px; color: #12a04a; }

/* ── গ্রিড ও কার্ড ── */
.dpa-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; padding: 20px 0 36px; }
.dpa-left, .dpa-right { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.dpa-card { padding: 16px 20px 20px; border: 1px solid var(--dpa-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(11, 42, 91, .06); }
.dpa-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid #edf1f0; font-size: 25px; font-weight: 800; color: var(--dpa-ink); }
.dpa-card h2 i { font-size: 28px; color: #0a8a3a; }

/* ফর্ম */
.dpa-alert { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.dpa-alert.is-ok { color: #0b6b30; background: #e2f5ea; }
.dpa-alert.is-error { color: #b91c1c; background: #fde8ea; }
.dpa-label { display: block; margin: 0 0 12px; font-size: 16.5px; font-weight: 700; color: var(--dpa-ink); }
.dpa-label b { color: #d21c18; }
.dpa-label input[type="text"], .dpa-label textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid #cfdcdf; border-radius: 8px; outline: 0; font-size: 15.5px; font-weight: 400; color: var(--dp-text); background: #fff; }
.dpa-label textarea { resize: vertical; min-height: 120px; }
.dpa-label input:focus, .dpa-label textarea:focus { border-color: var(--dp-green); box-shadow: 0 0 0 3px rgba(10, 138, 58, .12); }
.dpa-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dpa-row2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.dpa-label .dps { margin-top: 6px; height: 46px; padding: 0 34px 0 14px; border: 1px solid #cfdcdf; border-radius: 8px; font-size: 15.5px; font-weight: 400; color: var(--dpa-ink); background: #fff 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; }
.dpa-label .dps-list { min-width: 100%; }

.dpa-upload { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 14px; border: 1.5px dashed #b9d6c4; border-radius: 10px; background: #f6fbf8; cursor: pointer; }
.dpa-upload > i { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; font-size: 22px; color: #0a8a3a; background: #fff; box-shadow: 0 3px 10px rgba(11, 42, 91, .08); }
.dpa-upload b { display: block; font-size: 15.5px; color: var(--dpa-ink); line-height: 1.3; word-break: break-all; }
.dpa-upload small { font-size: 13.5px; color: var(--dp-muted); }
.dpa-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.dpa-switch { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 600; color: var(--dpa-ink); cursor: pointer; }
.dpa-switch > i { font-size: 22px; color: var(--dpa-ink); }
.dpa-switch > span { flex: 1; }
.dpa-switch input { position: absolute; opacity: 0; }
.dpa-switch-track { position: relative; flex-shrink: 0; width: 50px; height: 28px; border-radius: 999px; background: #c5cedb; transition: background .2s; }
.dpa-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.dpa-switch input:checked + .dpa-switch-track { background: var(--dp-green); }
.dpa-switch input:checked + .dpa-switch-track::after { transform: translateX(22px); }

/* সাম্প্রতিক প্রশ্ন */
.dpa-qa-list { margin: 0; padding: 0; list-style: none; }
.dpa-qa-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #edf1f0; }
.dpa-qa-list li:first-child { border-top: 0; }
.dpa-qa-list li.is-empty { justify-content: center; color: var(--dp-muted); }
.dpa-q { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #11a04a, #076b2c); }
.dpa-qa-body { flex: 1; min-width: 0; }
.dpa-qa-body b { display: block; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--dpa-ink); }
.dpa-qa-body a { color: inherit; }
.dpa-qa-body small { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 3px; font-size: 14px; color: var(--dp-text); }
.dpa-qa-body small span { padding-right: 12px; margin-right: 12px; border-right: 1px solid #cfdcdf; }
.dpa-qa-body small span:last-child { border-right: 0; }
.dpa-answered { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #0b6b30; background: #e2f5ea; white-space: nowrap; }
.dpa-center { display: flex; justify-content: center; margin-top: 10px; }

/* ডান কলাম */
.dpa-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; text-align: center; }
.dpa-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 6px; }
.dpa-steps li:not(:last-child)::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: -14px; top: 22px; font-size: 16px; color: #0a8a3a; }
.dpa-step-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 4px; border-radius: 50%; font-size: 28px; color: #0a8a3a; background: #e4f4ea; }
.dpa-steps b { font-size: 16.5px; color: var(--dpa-ink); }
.dpa-steps small { font-size: 13.5px; line-height: 1.4; color: var(--dp-text); }

.dpa-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dpa-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 8px 4px; border-radius: 10px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--dpa-ink); transition: transform .2s; }
.dpa-tile:hover { color: var(--dpa-ink); transform: translateY(-2px); }
.dpa-tile i { font-size: 28px; line-height: 1; }
.tone-blue { background: #e9f1fb; } .tone-blue i { color: #1f5fb5; }
.tone-orange { background: #fdf1e6; } .tone-orange i { color: #d97706; }
.tone-sky { background: #e8f4fb; } .tone-sky i { color: #1f6bb5; }
.tone-red { background: #fdecee; } .tone-red i { color: #d21c18; }
.tone-pink { background: #f9eafb; } .tone-pink i { color: #a62fb5; }
.tone-teal { background: #e6f6f4; } .tone-teal i { color: #0a8a7a; }
.tone-lilac { background: #f1effb; } .tone-lilac i { color: #5b3fb5; }
.tone-peach { background: #fdf0e8; } .tone-peach i { color: #d4580a; }
.tone-green { background: #e4f4ea; } .tone-green i { color: #0a8a3a; }

.dpa-tips { background: linear-gradient(180deg, #f1faf4 0%, #fff 40%); border-color: #cfe6d8; }
.dpa-tips h2 { color: #0a7a33; }
.dpa-tips ul { margin: 0; padding: 0; list-style: none; }
.dpa-tips li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 16px; line-height: 1.55; color: var(--dpa-ink); }
.dpa-tips li i { flex-shrink: 0; margin-top: 4px; font-size: 18px; color: #12a04a; }

/* সব-প্রশ্ন পেজ */
.dpa-all { padding: 20px 0 36px; }
.dpa-all .dpa-card h2 { font-size: 27px; }
.dpa-answer { margin: 6px 0 0; padding: 10px 14px; border-radius: 8px; font-size: 15.5px; line-height: 1.6; color: var(--dpa-ink); background: #f1faf4; }
.dpa-pager { display: flex; justify-content: center; margin-top: 16px; }
.dp-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.dp-pager-item { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 40px; padding: 0 12px; border: 1px solid #d3dbe6; border-radius: 6px; background: #fff; font-size: 15.5px; color: var(--dp-navy); }
a.dp-pager-item:hover { border-color: var(--dp-green); color: var(--dp-green); }
.dp-pager-item.is-current { color: #fff; border-color: var(--dp-green); background: linear-gradient(180deg, #11a04a 0%, var(--dp-green-dark) 100%); font-weight: 700; }
.dp-pager-item.is-disabled { color: #9aa6b6; background: #f6f8fb; }
.dp-pager-item.is-dots { border-color: transparent; background: transparent; min-width: 24px; padding: 0 2px; }

/* রেসপনসিভ */
@media (max-width: 1399px) {
    .dpa-hero h1 { font-size: 46px; }
    .dpa-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1199px) {
    .dpa-grid { grid-template-columns: 1fr; }
    .dpa-hero-art { opacity: .5; max-width: 70%; }
    .dpa-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .dpa-hero h1 { font-size: 32px; }
    .dpa-hero h1 i { font-size: 38px; }
    .dpa-hero p { font-size: 17px; }
    .dpa-row3, .dpa-row2 { grid-template-columns: 1fr; }
    .dpa-qa-list li { flex-wrap: wrap; }
    .dpa-answered { margin-left: 48px; }
    .dpa-tiles { grid-template-columns: repeat(2, 1fr); }
    .dpa-steps li:not(:last-child)::after { display: none; }
    .dpa-card h2 { font-size: 21px; }
}
