/* ===== LAYOUT SHELL (topbar, sidebar, search) - nội bộ Store ===== */

:root {
  --gov-blue: #0A6BD6;
  --bg: #2d2723;
  --panel: #3b332f;
  --muted: #d0c5bd;
  --border: #554c47;
  --accent: #ffca63;
  --radius: 10px;
  --gap: 14px;
  --card-shadow: 0 6px 18px rgba(8,32,63,0.04);
}

body.light {
  --bg: #f0f4f8;
  --panel: #ffffff;
  --muted: #6b7684;
  --border: #cbd5e0;
  --accent: #0A6BD6;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Dark theme: sáng hơn chút nữa (ấm, dễ nhìn) */
body.dark {
  --bg: #3d3630;
  --panel: #4a423b;
  --muted: #d0c5bd;
  --border: #6c635a;
  --accent: #ffca63;
  background-color: #3d3630;
  color: #f4ece6;
}
body.dark .main { background-color: #3d3630; }
body.dark .sidebar { background: #4a423b; border-color: #6c635a; color: #d0c5bd; }
body.dark .content { background: #3d3630; color: #f4ece6; }

/* Menu (topbar) đổi màu theo theme: dark = nền ấm, chữ sáng */
body.dark .topbar-url {
  background: #4a423b;
  border-bottom: 1px solid #6c635a;
  color: #f4ece6;
}
body.dark .topbar-url .brand-title-url,
body.dark .topbar-url .brand-logo-url { color: #f4ece6; }
body.dark .topbar-url .url-nav-link,
body.dark .topbar-url .url-dropdown-toggle { color: #f4ece6; }
body.dark .topbar-url .url-nav-link,
body.dark .topbar-url .url-dropdown-toggle {
  border: 1.5px solid transparent;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
body.dark .topbar-url .url-nav-link:hover,
body.dark .topbar-url .url-dropdown-toggle:hover {
  border-color: #dc3545;
  color: #dc3545;
  background: rgba(220,53,69,0.12);
}
body.dark .topbar-url .menu-dropdown.open .url-dropdown-toggle {
  color: #93c5fd;
  background: rgba(147,197,253,0.12);
  border-color: transparent;
}
body.dark .topbar-url .nav-toggle-url { color: #f4ece6; }
body.dark .topbar-url .nav-toggle-url:hover { background: rgba(255,255,255,0.1); }
body.dark .topbar-url .btn-share-url { color: #f4ece6; background: rgba(255,255,255,0.1); }
body.dark .topbar-url .btn-share-url:hover { background: rgba(255,255,255,0.18); }
body.dark .topbar-url .menu-dropdown-content { background: #4a423b; border-color: #6c635a; }
body.dark .topbar-url .menu-dropdown-content {
  background: #3d3630 !important;
  border-color: #6c635a !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
  animation: urlDropdownFade 0.15s ease;
}
body.dark .topbar-url .menu-dropdown-item {
  color: #d0c5bd;
  border: 1.5px solid transparent;
  border-radius: 8px;
  margin: 2px 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
body.dark .topbar-url .menu-dropdown-item:hover {
  border-color: #dc3545;
  color: #dc3545;
  background: rgba(220,53,69,0.14);
}
body.dark .topbar-url .menu-dropdown-item i { transition: color 0.18s; }
body.dark .topbar-url .menu-dropdown-item:hover i { color: #dc3545; }
body.dark .topbar-url .action-btn { color: #f4ece6; background: rgba(255,255,255,0.1); }
body.dark .topbar-url .action-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
body.dark .google-search { background: #524a42; border-color: #6c635a; }
body.dark .google-search input[type="text"] { color: #f4ece6; }
body.dark .google-search input[type="text"]::placeholder { color: #c4b8ae; }
body.dark .google-search .search-icon { color: #c4b8ae; }
body.dark .clear-btn, body.dark .tool-btn { color: #c4b8ae; }
body.dark .clear-btn:hover, body.dark .tool-btn:hover { background: #5c534a; color: #f4ece6; }

/* ===== TOPBAR (FIXED) ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(90deg, #d68e2c, #ffca63);
  color: white;
  gap: 0;
  overflow: visible;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: calc(100vw - 36px);
  z-index: 999;
  box-sizing: border-box;
  border-radius: 0 0 12px 12px;
  height: 68px;
}

/* Topbar đẳng cấp (22_URL): giống 26_Dev-CPP - gọn, nav ngang, dropdown */
.topbar-url {
  background: linear-gradient(135deg, #0A6BD6 0%, #004d8c 100%);
  padding: 0 1rem 0 1.25rem;
  height: 56px;
  border-radius: 0;
  width: 100%;
  left: 0;
  transform: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
/* Chế độ sáng: nền trắng, chữ đen, giao diện đẹp */
body.light .topbar-url {
  background: #ffffff !important;
  color: #1a1a1a;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
body.light .topbar-url .brand-title-url,
body.light .topbar-url .brand-logo-url {
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.02em;
}
body.light .topbar-url .brand-logo-url i,
body.light .topbar-url .brand-title-url { opacity: 1; }
body.light .topbar-url .url-nav-link,
body.light .topbar-url .url-dropdown-toggle {
  color: #1a1a1a;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
body.light .topbar-url .url-nav-link:hover,
body.light .topbar-url .url-dropdown-toggle:hover {
  border-color: #dc3545;
  color: #dc3545;
  background: rgba(220,53,69,0.07);
}
body.light .topbar-url .menu-dropdown.open .url-dropdown-toggle {
  color: #0d6efd;
  background: rgba(13,110,253,0.1);
  border-color: transparent;
}
body.light .topbar-url .url-nav-link i,
body.light .topbar-url .url-dropdown-toggle i { color: inherit; opacity: 0.9; }
body.light .topbar-url .nav-toggle-url {
  color: #1a1a1a;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
body.light .topbar-url .nav-toggle-url:hover { background: #f3f4f6; }
body.light .topbar-url .nav-toggle-url i { color: inherit; }
/* Nút Chia sẻ & Sáng/tối - ô tròn đẹp, chữ đen */
body.light .topbar-url .btn-share-url,
body.light .topbar-url .action-btn.btn-theme-url {
  color: #1a1a1a;
  background: #f3f4f6;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
body.light .topbar-url .btn-share-url:hover,
body.light .topbar-url .action-btn.btn-theme-url:hover {
  background: #e5e7eb;
  color: #111827;
}
body.light .topbar-url .action-btn.btn-theme-url i { color: inherit; }
/* Dropdown Tools khi sáng */
body.light .topbar-url .menu-dropdown-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  padding: 0.35rem;
  animation: urlDropdownFade 0.15s ease;
}
body.light .topbar-url .menu-dropdown-item {
  color: #1a1a1a;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  margin: 2px 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
body.light .topbar-url .menu-dropdown-item:hover {
  border-color: #dc3545;
  color: #dc3545;
  background: rgba(220,53,69,0.07);
}
body.light .topbar-url .menu-dropdown-item i {
  color: #6c757d;
  width: 18px;
  text-align: center;
  transition: color 0.18s;
}
body.light .topbar-url .menu-dropdown-item:hover i { color: #dc3545; }
/* Ô tìm kiếm - đẹp, nền trắng, chữ đen */
body.light .topbar-url .google-search {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  height: 40px;
  padding: 0 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.light .topbar-url .google-search:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
body.light .topbar-url .google-search:focus-within {
  background: #ffffff;
  border-color: #0A6BD6;
  box-shadow: 0 0 0 2px rgba(10,107,214,0.15);
}
body.light .topbar-url .google-search input[type="text"] {
  color: #1a1a1a;
  font-size: 0.9375rem;
  font-weight: 400;
}
body.light .topbar-url .google-search input[type="text"]::placeholder {
  color: #6b7280;
}
body.light .topbar-url .google-search .search-icon {
  color: #6b7280;
  flex-shrink: 0;
}
body.light .topbar-url .search-tools { border-left-color: #e5e7eb; }
body.light .topbar-url .clear-btn,
body.light .topbar-url .tool-btn {
  color: #4b5563;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
body.light .topbar-url .clear-btn:hover,
body.light .topbar-url .tool-btn:hover {
  background: #f3f4f6;
  color: #1a1a1a;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: visible;
  margin-right: auto;
  height: 100%;
}

.topbar-url .topbar-left {
  gap: 0.75rem;
}

.brand {
  display: flex;
  gap: 8px;
  align-items: center;
}

.brand-url {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-url:hover { color: inherit; opacity: 0.9; }

.brand-logo-url {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}
body.light .brand-logo-url { color: var(--primary, #0A6BD6); }

.brand-title-url {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
body.light .brand-title-url { color: var(--text-primary, #1a1a2e); }

/* Menu ngang (Tools, Trang chủ) */
.horizontal-menu.url-nav {
  flex: 1;
  min-width: 0;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  overflow: visible;
}
.url-nav .menu-container {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: max-content;
  height: 100%;
}
.url-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.url-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
}
body.light .url-nav-link {
  color: var(--text-secondary, #4a5568);
  text-shadow: none;
}
body.light .url-nav-link:hover {
  color: var(--primary, #0A6BD6);
  background: rgba(10, 107, 214, 0.08);
}
.url-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  color: #fff;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.url-dropdown-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
}
body.light .url-dropdown-toggle {
  color: var(--text-secondary, #4a5568);
  text-shadow: none;
}
body.light .url-dropdown-toggle:hover {
  color: var(--primary, #0A6BD6);
  background: rgba(10, 107, 214, 0.08);
}
.menu-dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 0.2rem;
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.menu-dropdown.open .menu-dropdown-arrow {
  transform: rotate(180deg);
}
@keyframes urlDropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 200px;
  background: var(--bg-primary, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  z-index: 10001;
  padding: 0.35rem;
  animation: urlDropdownFade 0.15s ease;
}
.menu-dropdown.open .menu-dropdown-content {
  display: block;
}
.menu-dropdown {
  position: relative;
  display: inline-block;
  overflow: visible;
}
.menu-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.15s, color 0.15s;
  border-radius: 6px;
}
.menu-dropdown-item:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}
body.light .menu-dropdown-item {
  color: var(--text-primary);
}
body.light .menu-dropdown-item:hover {
  background: var(--bg-tertiary, #e8eaed);
  color: var(--primary, #0A6BD6);
}
.menu-dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--primary, #0A6BD6);
}
.topbar-url .menu-dropdown-item i {
  color: #63b3ed;
}
body.light .topbar-url .menu-dropdown-item i {
  color: var(--primary);
}

.nav-toggle-url {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.1rem;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle-url:hover { background: rgba(255,255,255,0.15); }
body.light .nav-toggle-url { color: var(--text-primary); }
body.light .nav-toggle-url:hover { background: var(--bg-tertiary); }

.url-search-wrap {
  flex: 1;
  max-width: 320px;
  margin-left: 0.5rem;
}
body.light .google-search { background: #fff; }
body.light .google-search input[type="text"] { color: #1a1a2e; }

.btn-share-url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-share-url:hover { background: rgba(255,255,255,0.25); }
body.light .btn-share-url {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}
body.light .btn-share-url:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 768px) {
  .horizontal-menu.url-nav { display: none; }
  .url-search-wrap { max-width: 200px; }
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.brand-logo:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-btn {
  background: transparent;
  border: 0;
  color: white;
  font-size: 18px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 auto;
  margin-left: auto;
  margin-right: 20px;
}

/* ===== GOOGLE SEARCH BAR ===== */
.google-search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 0 10px;
  height: 44px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border: 1px solid transparent;
  transition: all 0.2s;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 300px;
  gap: 6px;
}

.google-search:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.google-search:focus-within {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-color: #dfe1e5;
}

.google-search .search-icon {
  width: 20px;
  height: 20px;
  color: #9aa0a6;
  flex-shrink: 0;
}

.google-search input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #000;
  padding: 0;
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;
}

.google-search input[type="text"]::placeholder {
  color: #9aa0a6;
}

.clear-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #70757a;
  flex-shrink: 0;
}

.clear-btn.show {
  display: flex;
}

.clear-btn:hover {
  background: #f1f3f4;
}

.search-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding-left: 8px;
  border-left: 1px solid #dfe1e5;
}

.tool-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #70757a;
  transition: background 0.2s;
  flex-shrink: 0;
}

.tool-btn:hover {
  background: #f1f3f4;
}

.tool-btn svg {
  width: 20px;
  height: 20px;
}

.action-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s;
  color: white;
}

.action-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== MAIN (padding-top tránh topbar che nội dung) ===== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 76px !important;
  min-height: 100vh;
}

/* ===== OVERLAY (khi mở sidebar) ===== */
.overlay,
#cardMenuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 998;
}

/* ===== SIDEBAR (base; layout-card-menu override trong public-styles) ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1);
  z-index: 1002;
  overflow-y: auto;
  border-radius: 0 12px 12px 0;
}

.sidebar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sidebar-head .badge {
  background: var(--accent);
  color: #333;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.folder-tree {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
  width: 100%;
}

/* ===== CONTENT (grid chung) ===== */
.content {
  display: block;
  padding: 14px;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===== LIGHT MODE TOPBAR ===== */
body.light .topbar {
  background: linear-gradient(90deg, var(--gov-blue), #0f77e0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .topbar {
    padding: 8px 12px;
    width: calc(100% - 24px);
  }
  .topbar-left { gap: 4px; }
  .google-search {
    padding: 0 8px;
    height: 40px;
    max-width: 250px;
  }
  .google-search input[type="text"] { font-size: 15px; }
  .clear-btn, .tool-btn { width: 36px; height: 36px; }
}

@media (max-width: 768px) {
  .topbar {
    padding: 6px 8px;
    width: calc(100% - 16px);
    height: 60px;
  }
  .main { padding-top: 68px !important; }
  .google-search {
    height: 36px;
    max-width: 220px;
  }
  .google-search input[type="text"] { font-size: 14px; }
  .clear-btn, .tool-btn { width: 32px; height: 32px; }
}

@media (max-width: 480px) {
  .topbar {
    padding: 4px 6px;
    width: calc(100% - 12px);
  }
  .google-search {
    height: 32px;
    max-width: 180px;
  }
  .google-search input[type="text"] { font-size: 13px; }
  .clear-btn, .tool-btn { width: 28px; height: 28px; }
}

/* ===== URL NAV DRAWER (menu dọc mobile thay sidebar cũ) ===== */
.url-nav-drawer {
  display: none;
  position: fixed;
  left: -280px;
  top: 56px;
  width: 260px;
  height: calc(100vh - 56px);
  background: #ffffff;
  color: #212529;
  border-right: 2px solid #dc3545;
  box-shadow: 2px 0 20px rgba(0,0,0,0.15);
  z-index: 1001;
  transition: left 0.3s ease;
  overflow-y: auto;
}
body.dark .url-nav-drawer {
  background: #3d3630;
  color: #f4ece6;
  border-right-color: #dc3545;
}
body.url-drawer-open .url-nav-drawer {
  display: block;
  left: 0;
}
.url-nav-drawer-inner {
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.url-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: #212529;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.url-drawer-link i { width: 20px; text-align: center; color: #6c757d; transition: color 0.18s; }
.url-drawer-link:hover { border-color: #dc3545; color: #dc3545; background: rgba(220,53,69,0.07); text-decoration: none; }
.url-drawer-link:hover i { color: #dc3545; }
.url-drawer-link.active { background: rgba(13,110,253,0.1); color: #0d6efd; border-color: #0d6efd; font-weight: 600; }
body.dark .url-drawer-link { color: #f4ece6; }
body.dark .url-drawer-link i { color: #d0c5bd; }
body.dark .url-drawer-link:hover { color: #dc3545; background: rgba(220,53,69,0.14); }

.url-drawer-divider { border: none; border-top: 1px solid #dee2e6; margin: 0.5rem 0; }
body.dark .url-drawer-divider { border-top-color: #6c635a; }

.url-nav-backdrop {
  display: none;
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(0,0,0,0.18);
  z-index: 1000;
}
body.url-drawer-open .url-nav-backdrop { display: block; }
