/* =============================================
   SaudiJabo — «নবীর দেশ» সৌদি আরব ভ্রমণ ম্যাপ (/saudi-map, /en, /ar)
   Unseen Bangladesh এর ধাঁচ: বাঁয়ে তালিকা, ডানে কার্ড। tools.css এর পরে লোড হয়।
   ============================================= */
.sm2 { background: linear-gradient(180deg, #f1f7f3 0, #f7f7f4 420px); padding: 18px 0 40px; }
.sm2-wrap { max-width: 1440px; margin: 0 auto; padding: 0 16px; }
.sm2-ar, .sm2-ar button, .sm2-ar input { font-family: 'Amiri', 'Noto Naskh Arabic', serif; }
.sm2-en, .sm2-en button, .sm2-en input { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; }

.sm2-langs { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; }
.sm2-langs a { border: 1px solid #d1d5db; border-radius: 999px; padding: 5px 14px 3px; font-size: 14px; color: #374151; background: #fff; }
.sm2-langs a.on { background: #1B4332; color: #fff; border-color: #1B4332; }

.sm2-head { text-align: center; margin-bottom: 26px; }
.sm2-head h1 { font-size: clamp(32px, 6vw, 62px); font-weight: 800; line-height: 1.15; color: #14201b; margin: 0 0 14px; }
.sm2-grad { background: linear-gradient(90deg, #11704f 0%, #1d8a68 45%, #c8a136 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sm2-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 999px;
            padding: 9px 20px 7px; font-size: 15.5px; box-shadow: 0 4px 14px rgba(0,0,0,.05); margin: 0 0 14px; }
.sm2-pill i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.sm2-lead { color: #374151; font-size: 16.5px; max-width: 780px; margin: 0 auto; }

.sm2-shared { background: #fffbeb; border: 1px solid #fcd34d; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px;
              display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sm2-shared button { background: #1B4332; color: #fff; border: 0; border-radius: 10px; padding: 9px 16px 7px; font-weight: 700; cursor: pointer; }

.sm2-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .sm2-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); } }
.sm2-panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 26px; padding: 22px; box-shadow: 0 6px 24px rgba(16,41,31,.05); }

/* বাঁয়ে তালিকা */
.sm2-list { position: sticky; top: 84px; }
@media (max-width: 979px) { .sm2-list { position: static; } }
.sm2-lh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sm2-lh h2 { font-size: 22px; font-weight: 700; margin: 0; color: #14201b; }
.sm2-badge { background: #e7f5ee; color: #11704f; border-radius: 999px; padding: 5px 14px 3px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.sm2-search input { width: 100%; margin-top: 14px; background: #f3f4f2; border: 0; border-radius: 16px; padding: 15px 18px; font-size: 16.5px; }
.sm2-bulk { margin: 12px 0 6px; display: flex; gap: 14px; }
.sm2-bulk button, .sm2-gh button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; color: #4b5563; cursor: pointer; font-size: 14.5px; }
.sm2-scroll { max-height: 640px; overflow-y: auto; padding-inline-end: 8px; }
@media (max-width: 979px) { .sm2-scroll { max-height: 420px; } }
.sm2-grp { border-top: 1px solid #eef0ee; padding: 14px 0 12px; transition: background .4s; border-radius: 10px; }
.sm2-grp.flash { background: #fef9c3; }
.sm2-gh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 16px; color: #1f2937; }
.sm2-gh small { color: #6b7280; font-size: 13.5px; }
.sm2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm2-chip { border: 1.5px solid #e1e4e1; background: #fff; border-radius: 14px; padding: 8px 14px 6px; font-size: 15px; cursor: pointer; color: #1f2937; transition: all .15s; }
.sm2-chip.z::before { content: '🕋'; font-size: 12px; margin-inline-end: 4px; opacity: .65; }
.sm2-chip:hover { border-color: #1d8a68; }
.sm2-chip.on { background: #1d8a68; border-color: #1d8a68; color: #fff; }
.sm2-chip.on::before { opacity: 1; }

/* ডানে কার্ড */
.sm2-opts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.sm2-ol { color: #6b7280; font-size: 15px; }
.sm2-themes { display: flex; gap: 10px; }
.sm2-themes button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #e5e7eb; cursor: pointer; }
.sm2-themes button.on { border-color: #14201b; box-shadow: 0 0 0 3px #fff inset, 0 0 0 2px #14201b; }
.sm2-photo { display: inline-flex; align-items: center; gap: 10px; border: 1.5px dashed #d1d5db; border-radius: 14px; padding: 7px 14px 7px 8px; cursor: pointer; font-size: 14.5px; }
.sm2-av { width: 34px; height: 34px; border-radius: 9px; background: #f3efe6 center/cover no-repeat; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.sm2-x { border: 0; background: #fee2e2; color: #b91c1c; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; }
.sm2-name { flex: 1 1 200px; min-width: 0; background: #f3f4f2; border: 1px solid #e5e7eb; border-radius: 14px; padding: 11px 14px; font-size: 16px; }
.sm2-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.sm2-chk input { width: 20px; height: 20px; accent-color: #1d8a68; }
.sm2-stage { border-radius: 20px; overflow: hidden; background: #f5f1e8; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.sm2-stage canvas { display: block; width: 100%; height: auto; }
.sm2-tip { text-align: center; color: #4b5563; font-size: 14.5px; margin: 14px 0; }
.sm2-dl { display: block; width: min(420px, 100%); margin: 0 auto; background: #2f9d76; color: #fff; border: 0; border-radius: 18px;
          padding: 18px 24px 16px; font-size: 19px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(47,157,118,.3); }
.sm2-dl:hover { background: #1d8a68; }
.sm2-sh { display: block; margin: 10px auto 0; background: none; border: 0; color: #1d4ed8; font-weight: 700; cursor: pointer; font-size: 15px; }
.sm2-msg { text-align: center; min-height: 1.4em; color: #1B4332; font-size: 14.5px; margin: 6px 0 0; }

.sm2-rank { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; background: linear-gradient(135deg, #f0faf5, #f7f4e8);
            border: 1px solid #d5ead9; border-radius: 20px; padding: 18px 22px; }
.sm2-cmp { font-size: 40px; line-height: 1; }
.sm2-rank > div { flex: 1; min-width: 0; }
.sm2-rank small { color: #6b7280; font-size: 13.5px; }
.sm2-r1 { color: #11704f; font-size: 21px; font-weight: 700; margin: 2px 0 10px; }
.sm2-rb { height: 10px; background: #dbe7df; border-radius: 99px; overflow: hidden; }
.sm2-rb i { display: block; height: 100%; background: #11704f; border-radius: 99px; }
.sm2-r2 { margin: 10px 0 0; font-size: 14.5px; color: #374151; }

.sm2-left { margin-top: 14px; font-size: 14.5px; color: #374151; }
.sm2-left b { display: block; margin-bottom: 8px; }
.sm2-left div { display: flex; flex-wrap: wrap; gap: 6px; }
.sm2-left button { border: 1px dashed #c9bfa9; background: #fbf8f1; border-radius: 999px; padding: 4px 12px 2px; font-size: 13.5px; cursor: pointer; color: #6b6457; }
.sm2-safe { text-align: center; font-size: 13px; color: #9ca3af; margin: 14px 0 0; }

.sm2-pass { display: flex; gap: 14px; align-items: center; margin-top: 22px; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 18px; padding: 16px 20px; color: #1f2937; }
.sm2-pass > span:first-child { font-size: 34px; }
.sm2-pass strong { display: block; font-size: 18px; color: #1B4332; }
.sm2-pass small { display: block; font-size: 14px; color: #4b5563; }
.sm2-pass em { margin-inline-start: auto; font-style: normal; font-size: 26px; color: #1B4332; }
.sm2-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
           background: linear-gradient(135deg, #123c2f, #1B4332); color: #fff; border-radius: 18px; padding: 18px 22px; }
.sm2-cta strong { display: block; font-size: 18px; }
.sm2-cta span { color: rgba(255,255,255,.8); font-size: 14.5px; }
.sm2-cta a { background: #D4AF37; color: #1c1917; border-radius: 12px; padding: 10px 18px 8px; font-weight: 700; }
.sm2-text { margin-top: 34px; line-height: 1.8; color: #1f2937; max-width: 980px; }
.sm2-text h2 { font-size: 22px; font-weight: 800; margin: 22px 0 8px; }
.sm2-text h3 { font-size: 17px; font-weight: 700; margin: 12px 0 2px; }
.sm2-text a { color: #1d4ed8; }
.sm2-faq { border-bottom: 1px solid #e5e7eb; padding: 10px 0; }
.sm2-faq summary { cursor: pointer; font-weight: 700; }
.sm2-faq p { margin: 6px 0 0; }
.sm2-src { font-size: 12.5px; color: #9ca3af; margin-top: 14px; }
[hidden] { display: none !important; }
