/* Custom Fixes für Nutzerverwaltung und Fragebogen */

/* Buttons in Nutzerverwaltung - sicherstellen dass alle Buttons Türkiston haben */
.btn-primary,
.btn.btn-primary,
a.btn-primary,
button.btn-primary,
.btn-sm.btn-primary,
a.btn-sm.btn-primary {
  background-color: #2ab1b4 !important;
  border-color: #2ab1b4 !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
.btn-sm.btn-primary:hover,
a.btn-sm.btn-primary:hover {
  background-color: #228a8d !important;
  border-color: #228a8d !important;
  color: #fff !important;
}

.btn-primary:focus,
.btn.btn-primary:focus,
a.btn-primary:focus,
button.btn-primary:focus,
.btn-sm.btn-primary:focus,
a.btn-sm.btn-primary:focus {
  background-color: #228a8d !important;
  border-color: #228a8d !important;
  color: #fff !important;
  box-shadow: 0 0 0 0.25rem rgba(42, 177, 180, 0.25) !important;
}

.btn-primary:active,
.btn.btn-primary:active,
a.btn-primary:active,
button.btn-primary:active,
.btn-sm.btn-primary:active,
a.btn-sm.btn-primary:active {
  background-color: #228a8d !important;
  border-color: #228a8d !important;
  color: #fff !important;
}

/* Tabellen-Links und Icons in Nutzerverwaltung */
.table a,
table.dataTable a,
.table td a,
table.dataTable td a {
  color: #2ab1b4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.table a:hover,
table.dataTable a:hover,
.table td a:hover,
table.dataTable td a:hover,
.table a:focus,
table.dataTable a:focus,
.table td a:focus,
table.dataTable td a:focus {
  color: #228a8d;
  text-decoration: none;
}

/* SVG Icons in Tabellen */
.table svg,
table.dataTable svg,
.table td svg,
table.dataTable td svg {
  color: #2ab1b4;
  transition: color 0.2s ease;
}

.table a:hover svg,
table.dataTable a:hover svg,
.table td a:hover svg,
table.dataTable td a:hover svg,
.table a:focus svg,
table.dataTable a:focus svg,
.table td a:focus svg,
table.dataTable td a:focus svg {
  color: #228a8d;
}

/* DataTables Pagination Hover */
.dataTables_wrapper .pagination .page-link:hover,
.dataTables_wrapper .pagination .page-link:focus {
  color: #228a8d;
  background-color: #d4f4f5;
  border-color: #2ab1b4;
}

.dataTables_wrapper .pagination .page-item.active .page-link {
  background-color: #2ab1b4;
  border-color: #2ab1b4;
  color: #fff;
}

/* DataTables Row Hover */
table.dataTable.table-hover > tbody > tr:hover > td a,
table.dataTable.table-hover > tbody > tr:hover > td svg {
  color: #228a8d;
}

/* Login-Fragebogen form-check mit border rounded */
.form-check.border.rounded {
  border: 1px solid #e4eaf1 !important;
  border-radius: 12px !important;
  background: #fff;
  transition: box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
  padding: .9rem 1rem;
}

.form-check.border.rounded:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.06) !important;
  border-color: #d5deea !important;
  background: #fbfdff !important;
}

.form-check.border.rounded:focus-within {
  border-color: var(--brand-accent) !important;
  box-shadow: 0 0 0 3px rgba(42,177,180,.15) !important;
}

.form-check.border.rounded .form-check-input:checked {
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
}

/* Logo-Hintergrund */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 6px 10px;
  border-radius: 12px;
}

/* Header-Logo etwas kleiner und Schatten */
.header-logo {
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.brand-logo {
  max-height: 48px;
  height: auto;
  width: auto;
  display: block;
}

.navbar .navbar-brand {
  padding: 0.35rem 0;
}

/* Header neu: weißer Hintergrund, türkise Akzente */
#header {
  background: #ffffff !important;
  border-bottom: 1px solid #e7edf3;
}

#header .navbar {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

#header .navbar-brand {
  margin-right: 1.25rem;
}

#header .nav-link {
  color: #1a6d70 !important; /* türkise Schrift */
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: all 0.15s ease;
}

#header .nav-link:hover,
#header .nav-link:focus {
  color: #0f4f53 !important;
  border-color: #2ab1b4;
  background: rgba(42, 177, 180, 0.08);
}

#header .navbar-toggler {
  border-color: rgba(26, 109, 112, 0.2);
}

#header .navbar-toggler svg path {
  fill: #1a6d70;
}

#header .dropdown-header.bg-primary {
  background: linear-gradient(135deg, #1a6d70, #228a8d);
}

#header .btn-light,
#header .btn-light:focus {
  color: #1a6d70;
}

/* Logo-Rahmen in Akzentfarbe mit leichtem Schimmer */
.brand-logo-wrap.header-logo {
  border: 1px solid #2ab1b4;
  box-shadow: 0 2px 10px rgba(42, 177, 180, 0.15);
}

/* Account-Dropdown */
#header .dropdown-menu {
  border: 1px solid #e0ebee;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
}

#header .dropdown-header {
  background: #f7fbfc;
  color: #1a6d70;
}

#header .dropdown-header span {
  color: #1a6d70;
}

#header .dropdown-menu a {
  color: #1a6d70;
  background: #ffffff;
}

#header .dropdown-menu a:hover,
#header .dropdown-menu a:focus {
  background: rgba(42, 177, 180, 0.08);
  color: #0f4f53;
}

#header .dropdown-menu .dropdown-footer {
  border-top: 1px solid #e0ebee;
}

#header .dropdown-menu .dropdown-footer i {
  color: #1a6d70;
  margin-right: .35rem;
}

/* Öffentlicher Fragebogen-Header */
.brand-header {
  background: #ffffff;
  border-bottom: 1px solid #e7edf3;
}

.brand-header .fw-semibold {
  color: #1a6d70;
}

