/* anh-duong-pho.css - KHUNG ẢNH ĐƯỜNG PHỐ duoi ban do (web/js/streetview.js v3). Khong doi kieu lop ban do. */
.wg-sv-thanh { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 4px; align-items: center;
  padding: 4px 6px; border-radius: 8px; background: var(--panel, #fff); color: var(--ink, #1f2937); box-shadow: 0 2px 8px rgba(0,0,0,.18); font-size: 13px; }
.wg-sv-thanh[hidden] { display: none; }
.wg-sv-mk.tham-khao .non { fill: rgba(148, 163, 184, .35); stroke: #94a3b8; }

.svd { flex: 0 0 var(--svd-h, 340px); min-height: 0; display: flex; flex-direction: column; position: relative;
  background: var(--panel, #fff); color: var(--ink, #1f2937); border-top: 1px solid var(--line, #e5e7eb); }
.svd[hidden] { display: none; }
.svd.thu { flex-basis: auto; }
.svd.thu .svd-than, .svd.thu .svd-bq, .svd.thu .svd-canh, .svd.thu .svd-form { display: none; }
.svd.phong { flex-basis: calc(100% - 120px); }
.svd-tach { position: absolute; left: 0; right: 0; top: -5px; height: 10px; cursor: ns-resize; z-index: 3; touch-action: none; }
.svd-tach::after { content: ""; position: absolute; left: 50%; top: 3px; width: 44px; height: 4px; margin-left: -22px; border-radius: 3px; background: var(--line, #cbd5e1); }
.svd-tach:hover::after, .svd-tach:focus-visible::after, .svd.dang-keo .svd-tach::after { background: var(--brand, #0b6bcb); }
.svd-tach:focus-visible { outline: none; }
.svd.thu .svd-tach, .svd.phong .svd-tach { cursor: default; }
.svd.dang-keo { user-select: none; }
.svd.dang-keo iframe, .svd.dang-keo canvas { pointer-events: none; }

.svd-dau { display: flex; align-items: center; gap: 8px; padding: 6px 8px 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line, #e5e7eb); }
.svd-nguon { display: inline-flex; border: 1px solid var(--line, #d1d5db); border-radius: 8px; overflow: hidden; }
.svd-tab { border: 0; background: transparent; color: inherit; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.svd-tab + .svd-tab { border-left: 1px solid var(--line, #d1d5db); }
.svd-tab.on { background: var(--brand, #0b6bcb); color: #fff; }
.svd-tab:focus-visible, .svd-ic:focus-visible { outline: 2px solid var(--brand, #0b6bcb); outline-offset: 1px; }
.svd-tt { font-size: 12.5px; color: var(--muted, #64748b); flex: 1 1 160px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svd-cong { display: inline-flex; gap: 4px; align-items: center; margin-left: auto; }
.svd-ic { width: 30px; height: 30px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: inherit; font-size: 16px; cursor: pointer; line-height: 1; }
.svd-ic:hover { border-color: var(--line, #d1d5db); }
.svd-ic[hidden], .svd-dd[hidden] { display: none; }

.svd-canh { padding: 6px 10px; font-size: 12.5px; background: #fff7e6; color: #7a4b00; border-bottom: 1px solid #f3d19e; }
.svd-form { padding: 6px 10px; border-bottom: 1px solid var(--line, #e5e7eb); background: var(--surface, #f8fafc); }
.svd-form form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; font-size: 13px; }
.svd-form label { display: flex; flex-direction: column; gap: 2px; }
.svd-form input, .svd-form select { padding: 4px 6px; border: 1px solid var(--line, #d1d5db); border-radius: 6px; font: inherit; min-width: 160px; background: var(--panel, #fff); color: inherit; }
.svd-form input[type=number] { min-width: 80px; width: 90px; }
.svd-cd-form input { min-width: 280px; }
.svd-dd-tt { flex-basis: 100%; font-size: 12px; color: var(--muted, #64748b); }

.svd-than { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; background: #0f1720; color: #e5edf5; }
.svd-than:focus { outline: none; }
.svd-xem { flex: 1; min-height: 0; position: relative; }
.svd-anh { width: 100%; height: 100%; object-fit: contain; display: block; background: #0f1720; }
.svd-hd { position: absolute; right: 8px; bottom: 8px; background: rgba(15,23,32,.8); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 12px; }
.svd-if { border: 0; width: 100%; height: 100%; flex: 1; display: block; }
.svd-mly { width: 100%; height: 100%; }
.svd-phu { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 4px 8px; font-size: 12.5px; background: #16212d; }
.svd-phu:empty { display: none; }
.svd-phu select { padding: 2px 4px; border-radius: 5px; font: inherit; }
.svd-ls { display: inline-flex; gap: 4px; align-items: center; }
.svd-tb { margin: auto; max-width: 560px; padding: 16px; text-align: center; font-size: 13.5px; }
.svd-tb p { margin: 6px 0 10px; color: #b9c6d3; }
.svd-xoay { display: inline-block; width: 14px; height: 14px; border: 2px solid #64748b; border-top-color: #e5edf5; border-radius: 50%; animation: svd-xoay .8s linear infinite; vertical-align: -2px; }
@keyframes svd-xoay { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .svd-xoay { animation: none; } }
.svd-bq { padding: 3px 10px; font-size: 11.5px; color: var(--muted, #64748b); border-top: 1px solid var(--line, #e5e7eb); }
.svd-bq:empty { display: none; }
.svd-bq a { color: inherit; text-decoration: underline; }

@media (max-width: 767px) {
  .svd-tt { flex-basis: 100%; order: 3; }
  .svd-tab { padding: 6px 8px; }
  .svd-ic { width: 40px; height: 40px; }
}
