body.theme-en3 {
  --accent: #d4a74a;
  --accent-dim: #b8922e;
  --accent-deep: #8a6d1f;
  --accent-rgb: 212, 167, 74;
  --badge: #f0dca0;
  --badge-rgb: 240, 220, 160;
  --bg-grad:
    radial-gradient(circle at 12% 0%, rgba(212, 167, 74, 0.15), transparent 34rem),
    linear-gradient(135deg, #0a0e1a 0%, #0f1525 52%, #080c16 100%);
  --card-bg: rgba(10, 16, 30, 0.95);
  --cmd-bg: rgba(8, 12, 24, 0.96);
  --cmd-bg-hover: rgba(16, 24, 42, 0.98);
  --text-body: #e8eaf0;
  --text-cmd: #e0e4ee;
  --text-muted: #8e96aa;
  --logo-ring-radius: 50%;
  --logo-ring-style: solid;
  --logo-img-radius: 0;
  --logo-img-padding: 0;
  --logo-img-bg: transparent;
  --scroll-thumb-a: #d4a74a;
  --scroll-thumb-b: #8a6d1f;
  --scroll-track: rgba(6, 8, 14, 0.75);
}

/* Penal code cards: make the whole card clickable for title copy */
body.theme-en3 .card {
  cursor: pointer;
  position: relative;
}

body.theme-en3 .card .copy-title-hint {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(212, 167, 74, 0.4);
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

body.theme-en3 .card:hover .copy-title-hint {
  color: rgba(212, 167, 74, 0.9);
  transform: scale(1.15);
}

body.theme-en3 .card.copied-flash {
  border-color: rgba(34, 197, 94, 0.52) !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.15), 0 10px 28px rgba(0, 0, 0, 0.26) !important;
}

body.theme-en3 .card.copied-flash .copy-title-hint {
  color: #4ade80 !important;
}

/* Info notes styled for a legal/judicial feel */
body.theme-en3 .info-note {
  border-color: rgba(212, 167, 74, 0.22);
  background: rgba(212, 167, 74, 0.06);
  color: #e0d4b0;
}

body.theme-en3 .info-note::before {
  content: '§';
  color: #d4a74a;
}

/* Search Bar Styles */
.search-container {
  position: absolute;
  top: 35px;
  right: 50px;
  display: flex;
  align-items: center;
  background: rgba(10, 16, 30, 0.7);
  border: 1px solid rgba(212, 167, 74, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  z-index: 100;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-container:focus-within {
  border-color: rgba(212, 167, 74, 0.8);
  box-shadow: 0 0 15px rgba(212, 167, 74, 0.3);
}

.search-bar {
  background: transparent;
  border: none;
  color: var(--text-body);
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  outline: none;
  width: 220px;
  transition: width 0.3s ease;
}

.search-bar::placeholder {
  color: rgba(142, 150, 170, 0.6);
}

.search-bar:focus {
  width: 300px;
}

.search-icon {
  margin-left: 10px;
  font-size: 1.1rem;
  filter: grayscale(1);
  opacity: 0.6;
}

@media (max-width: 900px) {
  .search-container {
    position: relative;
    top: 0;
    right: 0;
    margin: 20px auto 0;
    max-width: 90%;
    justify-content: center;
  }
  .search-bar {
    width: 100%;
  }
  .search-bar:focus {
    width: 100%;
  }
}
