@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary: #81bc00;
  --primary-dark: #689828;
  --odd: #e9e9e9;
  --dark: #2d2d2d;
  --dark-light: #3a3a3a;
  --dark-transparent: #43434333;
  --admin: #ffc107;
  --footer-bg: #2d2d2d;
  --footer-text: #b0b0b0;
  --footer-heading: #ffffff;
  --topbar-bg: #232323;
}

/* ============================================
   GLOBAL
   ============================================ */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* ============================================
   TOP BAR
   ============================================ */
.pb-topbar {
  background-color: var(--topbar-bg);
  color: #aaa;
  font-size: 0.8rem;
  padding: 6px 0;
}
.pb-topbar a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}
.pb-topbar a:hover {
  color: var(--primary);
}
.pb-topbar-contact a {
  margin-right: 18px;
}
.pb-topbar-contact i,
.pb-topbar-social i {
  margin-right: 5px;
}
.pb-topbar-social a {
  margin-left: 12px;
  font-size: 0.9rem;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.pb-navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.pb-navbar .navbar-brand img {
  height: 38px;
  transition: opacity 0.2s;
}
.pb-navbar .navbar-brand:hover img {
  opacity: 0.85;
}
.pb-navbar .nav-link {
  color: #333 !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  transition: color 0.2s;
  position: relative;
}
.pb-navbar .nav-link:hover,
.pb-navbar .nav-link:focus {
  color: var(--primary) !important;
}
.pb-navbar .nav-item.show .nav-link,
.pb-navbar .nav-link.active {
  color: var(--primary) !important;
}

/* Green underline on hover */
.pb-navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.pb-navbar .nav-link:hover::after,
.pb-navbar .nav-item.show .nav-link::after {
  transform: scaleX(1);
}
/* Exclude dropdown-toggle caret from underline effect */
.pb-navbar .dropdown-toggle::after {
  border: 0;
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.55rem;
  vertical-align: middle;
  margin-left: 5px;
  transition: transform 0.2s;
}
.pb-navbar .nav-item.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Dropdown menus */
.pb-navbar .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 10px 0;
  margin-top: 8px;
  animation: pbDropIn 0.2s ease;
}
@keyframes pbDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pb-navbar .dropdown-item {
  font-size: 0.88rem;
  padding: 8px 20px;
  color: #444;
  transition: background 0.15s, color 0.15s;
}
.pb-navbar .dropdown-item:hover {
  background-color: rgba(129,188,0,0.08);
  color: var(--primary-dark);
}
.pb-navbar .dropdown-item i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

/* Handbuch highlight link */
.pb-nav-highlight {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

/* Login/Logout button */
.pb-btn-login {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-radius: 5px;
  padding: 6px 18px !important;
  font-weight: 600;
  font-size: 0.88rem;
  margin-left: 8px;
  transition: background 0.2s;
}
.pb-btn-login:hover {
  background-color: var(--primary-dark) !important;
  color: #fff !important;
}
.pb-btn-login::after {
  display: none !important;
}

/* Navbar spacer */
.pb-nav-spacer {
  height: 10px;
}

/* Mobile toggler */
.pb-navbar .navbar-toggler {
  border: 1px solid #ddd;
  padding: 6px 10px;
}
.pb-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   FOOTER
   ============================================ */
.pb-footer {
  margin-top: 60px;
}

/* Main footer area */
.pb-footer-main {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 30px;
}
.pb-footer-heading {
  color: var(--footer-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.pb-footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

/* Footer link lists */
.pb-footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  max-width: none;
}
.pb-footer-links li {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}
.pb-footer-links li a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.pb-footer-links li a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.pb-footer-links li a i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  margin-right: 4px;
}

/* Footer contact info */
.pb-footer-contact {
  font-size: 0.88rem;
  line-height: 1.7;
}
.pb-footer-contact p {
  color: var(--footer-text);
  margin-bottom: 12px;
}
.pb-footer-contact a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
}
.pb-footer-contact a:hover {
  color: var(--primary);
}
.pb-footer-contact i {
  color: var(--primary);
  width: 18px;
  text-align: center;
  margin-right: 4px;
}

/* Social icons in footer */
.pb-footer-social {
  margin-top: 16px;
}
.pb-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--dark-light);
  color: #ccc;
  text-decoration: none;
  margin-right: 8px;
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.pb-footer-social a:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Bottom bar */
.pb-footer-bottom {
  background-color: #222;
  padding: 16px 0;
  font-size: 0.82rem;
  color: #888;
}
.pb-footer-bottom a {
  color: #999;
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}
.pb-footer-bottom a:hover {
  color: var(--primary);
}

/* ============================================
   CONTENT STYLES (existing)
   ============================================ */
.text-preview {
  margin-top: 20px;
  padding: 15px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.text-preview h3 {
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 1rem;
}
.text-preview pre {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 8px;
  overflow-x: auto;
}

/* Main content list styles — scoped to content area only */
.content-area ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: auto;
}
.content-area li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}
.content-area li:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content-area h1 {
  font-size: 2em;
  margin-bottom: 1em;
}
.content-area h2 {
  margin-top: 0;
  color: #222;
  font-size: 1.4em;
}
.content-area p {
  color: #555;
}

/* ============================================
   HANDBUCH — Page Header
   ============================================ */
.hb-page-header {
  text-align: center;
  padding: 30px 0 20px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary);
}
.hb-page-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.hb-page-header h1 i {
  color: var(--primary);
  margin-right: 8px;
}
.hb-page-header-sm {
  padding: 20px 0 14px;
  margin-bottom: 20px;
}
.hb-page-header-sm h1 {
  font-size: 1.5rem;
}
.hb-subtitle {
  color: #888;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* ============================================
   HANDBUCH — Toolbar (file selector + actions)
   ============================================ */
.hb-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  padding: 14px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hb-toolbar-left,
.hb-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hb-file-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hb-file-selector label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #555;
  white-space: nowrap;
  margin: 0;
}
.hb-file-selector label i {
  color: var(--primary);
}
.hb-select {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: inherit;
  background: #fafafa;
  color: #333;
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 200px;
}
.hb-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(129,188,0,0.15);
}

/* ============================================
   HANDBUCH — Buttons
   ============================================ */
.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}
.hb-btn-primary {
  background: var(--primary);
  color: #fff;
}
.hb-btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
}
.hb-btn-secondary {
  background: #555;
  color: #fff;
}
.hb-btn-secondary:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}
.hb-btn-outline {
  background: transparent;
  color: #555;
  border: 1px solid #ddd;
}
.hb-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}
.hb-btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

/* ============================================
   HANDBUCH — Content Cards
   ============================================ */
.hb-entries {
  max-width: 900px;
  margin: 0 auto;
}
.hb-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.25s;
  border-left: 3px solid var(--primary);
}
.hb-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.hb-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 0;
}
.hb-card-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.hb-edit-link {
  color: #bbb;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.hb-edit-link:hover {
  color: var(--primary);
  text-decoration: none;
}
.hb-card-body {
  padding: 14px 24px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #444;
}
.hb-card-body p {
  color: #444;
}
.hb-card-footer {
  padding: 0 24px 18px;
}

/* ============================================
   HANDBUCH — Content formatting
   ============================================ */
.hb-img {
  max-width: 100%;
  margin: 12px 0;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hb-faq {
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.hb-faq summary {
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  background: #fafafa;
  transition: background 0.15s;
}
.hb-faq summary:hover {
  background: #f0f0f0;
}
.hb-faq-body {
  padding: 10px 14px;
}
.hb-code {
  background: #f5f5f5;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 12px 0;
  overflow-x: auto;
  border-left: 3px solid var(--primary);
}
.hb-code pre {
  margin: 0;
}
.hb-code code {
  font-size: 0.85rem;
}
.hb-h1 { font-size: 1.6rem; font-weight: 700; margin-top: 20px; color: var(--dark); }
.hb-h2 { font-size: 1.3rem; font-weight: 700; margin-top: 16px; color: var(--dark); }
.hb-h3 { font-size: 1.1rem; font-weight: 600; margin-top: 12px; color: #444; }
.hb-hr { border: none; border-top: 1px solid #e0e0e0; margin: 20px 0; }
.hb-inline-code {
  background: #eef5dd;
  color: #4a6b00;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
}
.hb-link {
  color: var(--primary-dark);
  text-decoration: underline;
}
.hb-link:hover {
  color: var(--primary);
}
.hb-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0;
  max-width: none;
}
.hb-list li {
  position: relative;
  padding: 4px 0 4px 20px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 2px;
}
.hb-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============================================
   HANDBUCH — Breadcrumb
   ============================================ */
.hb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.hb-breadcrumb a {
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}
.hb-breadcrumb a:hover {
  color: var(--primary);
}
.hb-breadcrumb-sep {
  color: #ccc;
  font-size: 0.65rem;
}

/* ============================================
   HANDBUCH — Table of Contents
   ============================================ */
.toc-container {
  max-width: 850px;
  margin: 0 auto;
}

/* Root-level sections */
.toc-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 16px;
  overflow: hidden;
}
.toc-section-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.toc-section-header:hover {
  background: #fafafa;
}
.toc-section-title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc-section-title a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.toc-section-title a:hover {
  color: var(--primary);
}
.toc-section-icon {
  color: var(--primary);
  font-size: 1rem;
}
.toc-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 10px;
}
.toc-chevron {
  color: #bbb;
  font-size: 0.7rem;
  transition: transform 0.25s;
}
.toc-section-header[aria-expanded="false"] .toc-chevron {
  transform: rotate(-90deg);
}
.toc-section-body {
  padding: 0 20px 12px;
  border-top: 1px solid #f0f0f0;
}

/* Sub-level groups (folders with children) */
.toc-group {
  margin-top: 4px;
}
.toc-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.toc-group-header:hover {
  background: rgba(129,188,0,0.06);
}
.toc-group-header a {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
}
.toc-group-header a:hover {
  color: var(--primary);
}
.toc-item-icon {
  color: var(--primary);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.toc-badge-sm {
  background: #eee;
  color: #777;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 8px;
}
.toc-chevron-sm {
  color: #ccc;
  font-size: 0.6rem;
  transition: transform 0.25s;
}
.toc-group-header[aria-expanded="false"] .toc-chevron-sm {
  transform: rotate(-90deg);
}
.toc-group-children {
  padding-left: 24px;
  border-left: 2px solid #f0f0f0;
  margin-left: 8px;
  margin-top: 2px;
  margin-bottom: 4px;
}

/* Leaf items */
.toc-leaf {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.88rem;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.toc-leaf:hover {
  background: rgba(129,188,0,0.06);
  color: var(--primary-dark);
  text-decoration: none;
}
.toc-leaf .toc-item-icon {
  color: #ccc;
}
.toc-leaf:hover .toc-item-icon {
  color: var(--primary);
}

/* ============================================
   HANDBUCH — Inline search (toolbar)
   ============================================ */
.hb-search-inline {
  display: flex;
}
.hb-search-wrap {
  position: relative;
}
.hb-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 0.8rem;
  pointer-events: none;
}
.hb-search-input {
  padding: 7px 12px 7px 30px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  width: 180px;
  background: #fafafa;
  transition: border-color 0.2s, width 0.25s;
}
.hb-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(129,188,0,0.15);
  width: 240px;
}

/* ============================================
   HANDBUCH — Search page
   ============================================ */
.search-box {
  max-width: 850px;
  margin: 0 auto 30px;
}
.search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.search-input-wrap {
  flex: 1;
  position: relative;
  min-width: 220px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 0.9rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(129,188,0,0.12);
}
.search-file-select {
  min-width: 180px;
}

/* Results */
.search-results {
  max-width: 850px;
  margin: 0 auto;
}
.search-results-info {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.search-result-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  border-left: 3px solid transparent;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-result-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  text-decoration: none;
}
.search-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.search-result-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.search-result-card:hover .search-result-header h3 {
  color: var(--primary-dark);
}
.search-result-file {
  font-size: 0.75rem;
  color: #999;
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.search-result-path {
  font-size: 0.8rem;
  color: #999;
  margin-top: 4px;
}
.search-result-path i {
  color: var(--primary);
  margin-right: 4px;
}
.search-result-snippet {
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}
.search-result-snippet mark {
  background: #e8f5c8;
  color: var(--primary-dark);
  padding: 1px 3px;
  border-radius: 2px;
}

/* Empty state */
.search-empty {
  text-align: center;
  padding: 50px 20px;
  color: #bbb;
}
.search-empty i {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}
.search-empty p {
  color: #999;
  font-size: 0.95rem;
}

/* ============================================
   HANDBUCH — Back Navigation
   ============================================ */
.hb-back-nav {
  margin: 30px 0 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .pb-topbar-contact,
  .pb-topbar-social {
    font-size: 0.75rem;
  }
  .pb-navbar .nav-link {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }
  .pb-navbar .nav-link::after {
    display: none;
  }
  .pb-navbar .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 15px;
    animation: none;
  }
  .pb-btn-login {
    margin-left: 0;
    margin-top: 8px;
    display: inline-block;
  }
}
@media (max-width: 576px) {
  .pb-topbar {
    display: none;
  }
  .pb-footer-main {
    padding: 30px 0 15px;
  }
  .pb-footer-bottom {
    text-align: center;
  }
  .pb-footer-bottom a {
    display: block;
    margin: 4px 0;
  }
  .hb-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .hb-toolbar-right {
    justify-content: center;
  }
  .hb-select {
    min-width: unset;
    width: 100%;
  }
  .hb-card-header {
    padding: 14px 16px 0;
  }
  .hb-card-body {
    padding: 10px 16px 16px;
  }
  .hb-card-footer {
    padding: 0 16px 14px;
  }
  .hb-page-header h1 {
    font-size: 1.4rem;
  }
  .hb-search-input {
    width: 140px;
  }
  .hb-search-input:focus {
    width: 180px;
  }
  .search-form {
    flex-direction: column;
  }
  .search-file-select {
    min-width: unset;
  }
  .search-result-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
