@import url("../fonts/font.css");
@import url("./hwk-icons.css");

:root {
  --dark-blue: #073070;
  --light-blue: #CFE3F8;
  --bs-body-color: #707070;
  --dark-grey: #252525;
  --hover-button: #F3F6FA;
  --sky-blue: #CFE3F8;
}





body {
  font-family: Source Sans Pro, Arial, sans-serif !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;

}

.field-error:not(.modern-checkbox),
.field-error.modern-checkbox label {
  border: 1px solid #c51244 !important;
}

.field-error+span.select2,
.field-error+.modern-button {
  margin-bottom: 1rem;
}

.container-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

#page-header.navbar-mainnavigation.header-dark-blue {
  background-color: var(--dark-blue) !important;
  width: auto;
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 999px;
  border: 3px solid var(--dark-blue);
}


.cb-grid-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 185px;
  gap: 0;
  margin: 0;
  padding: 0;
}

.default,
#content,
#footer {
  max-width: 1405px;
  margin: 0 auto !important;
  width: auto;
}

#content {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  ;
}

.formdata-accordion-toggle {
  text-align: left;
  padding: 10px;
  font-weight: bold;
  background-color: var(--light-blue);
  border: none;
  cursor: pointer;
  color: var(--dark-blue);
  border: 0;
}

.formdata-accordion {
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
}

body {
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  -webkit-text-size-adjust: 100%;
}

:root {
  --dark-blue: #073070;
  --light-blue: #CFE3F8;
  --bs-body-font-family: Source Sans Pro;
  --bs-body-color: #707070;
  --frame-link-color: #448dde;
  --frame-link-hover-color: #2067b5;
  --bs-link-color-rgb: #448dde;
  --bs-link-hover-color-rgb: #2067b5;
  --bs-breadcrumb-item-active-color: #448dde;
}

.header-dark-blue {
  background-color: var(--dark-blue);
  width: 100%;
  padding: 1rem 0;
}

.header-text {
  font-weight: 700;
  margin: 0 auto;
  max-width: 1320px;
  color: #fff;
  opacity: 0.25;
  font-size: 32px;
  text-align: left;
  padding: 8px;
  display: none;
}

/* Header-Container */
#page-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

/* Navigation-Container */
.container-mainnavigation {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 6px;
}

/* Navigation */
#mainnavigation {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

/* Menüeinträge */
.navbar-nav .nav-item {
  display: inline-block;

}

.btn-hwk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;

  border: 0;
  text-align: center;
  transition: all 0.3s ease-out;
}

.starticon {
  padding: 1rem;
  font-size: 20px;
  border-radius: 100%;
  background-color: #fff;
  width: 3rem;
  height: 3rem;
  text-align: center;
}

.starticon .glyphicon {
  font-size: 50px !important;
}

.btn-hwk--primary {
  background: #2f7de1;
  color: #fff;
  font-size: 18px;
}

.btn-hwk--primary a {
  font-size: 18px;
  border-radius: 999px !important;
}

.nav-item.btn-hwk a:hover {
  color: var(--dark-blue) !important;
  background-color: #f3f6fa !important;
  border-radius: 999px;
}


  .account a {
    color: var(--dark-blue);
    text-decoration: underline;
  }

  .account a:hover {
    text-decoration: none;
  }

  .account .field {
    position: relative;
    width: 100%;
    max-width: 320px;
  }

  .account .field input {
    width: 100%;
    padding: 18px 12px 8px;
    font-size: 16px;
    border: 1px solid #999;
    border-radius: 6px;
    outline: none;
    margin-bottom: 1rem;
  }


  .account .field label {
    position: absolute;
    left: 12px;
    top: 40%;
    transform: translateY(-50%);
    color: var(--dark-blue);
    background: transparent;
    pointer-events: none;
    transition: 0.3s ease-in-out;
  }
  span.readonly-attribute {
	display: block;
	
	padding: .5rem;
	width: 50%;
	background-color: rgb(207, 227, 248);
	color: var(--dark-blue);
	font-size: 18px;
}
.btn-padding{
  padding: .8rem 4rem!important;
}
.w-50{
  width: 50%!important;
}

  .account .field input:focus+label,
  .account .field input:not(:placeholder-shown)+label {
    top: 0;
    font-size: 12px;
    color: #222;
  }


.navbar-nav .nav-item.item-right {
  margin-left: auto;

}

.navbar-nav .nav-item.item-right a {
  color: #70ABEC !important;
}

.item-right a:hover {
  background-color: transparent !important;
  outline: 0 !important;
  pointer-events: none;
  cursor: default;
}

.hero {
  position: relative;
  height: fit-content;
  min-height: 400px;
  border-radius: 50px;
  overflow: clip;
  padding: 1px;
}

.hero h1 {
  font-size: 68px;
  font-weight: bold;
  color: #000000;

}

.hero-text {
  position: relative;
  left: 0;
  max-width: 50%;
  z-index: 1;
  background-color: #fff;
  color: #000000;
  padding: 2rem;
  border-radius: 30px;
  max-height: fit-content;
  margin: 2rem;
}

.hero-text p {
  font-size: 20px;

}

.hero-image {
  min-height: 500px;
  height: fit-content;

  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 50px;
}

.hero-image img {
  width: 100%;
  height: 100%;
}

.content-narrow {
  max-width: 1400px;
  margin: 2rem auto;

}



.navbar-nav .nav-item a {
  display: block;
  padding: .5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;

  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 0;
  font-size: 16px;
}

.navbar-nav .nav-item:not(.btn-hwk) a:hover {
  color: #fff;
  background-color: #2f7de1;
  outline: 3px solid #2f7de1;
  transition: none;
}

/* Admin- und User-Menü */
.menuitems {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.menuitem {
  display: inline-block;
}

.menuitem a {
  text-decoration: none;
  color: #002d56;
  font-weight: 500;
}

.menuitem a:hover {
  color: #0077cc;
  text-decoration: underline;
}

/* Login-Anzeige */
.loggedIn {
  margin-left: auto;
  /* rechts ausrichten */
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
}

.loggedIn a {
  color: #002d56;
  text-decoration: underline;
}

.loggedIn a:hover {
  color: #0077cc;
}

/* Responsive Anpassung */
@media (max-width: 992px) {
  #mainnavigation {
    flex-direction: column;
    align-items: flex-start;
  }

  #page-header.navbar-mainnavigation.header-dark-blue {

    border-radius: 30px;

  }

  .menu-toggler-icon::before,
  .menu-toggler-icon::after,
  .menu-toggler-icon {
    border-top: 2px solid #fff;
  }

  .menu-toggler {
    color: #fff;
    background: inherit;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .loggedIn {
    margin-left: 0;
    margin-top: 12px;
  }
}

/* Login-Bereich rechts */
.loggedIn {
  margin-left: auto;
  /* schiebt den Bereich nach rechts */
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
}

.loggedIn a {
  color: #002d56;
  text-decoration: underline;
}

.loggedIn a:hover {
  color: #0077cc;
}

/*Inhalt*/

/* Grundlayout */
body {
  font-family: "Open Sans", Arial, sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 24px 0 16px;
  color: #002d56;
  /* Dunkelblau wie auf der Startseite */
}

/* Suchbereich */
.filter-search-container {
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-width: 800px;
}

.filter-search-container label {
  font-weight: 600;
  color: #002d56;
  display: block;
}

.filter-search-container input[type="text"] {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
}


#results {
  margin-top: 12px;
}

/* Tabelle */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
}

.data-table thead {
  background-color: #002d56;
  color: #fff;
}

.data-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.table-4 th {
  width: 25%;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

table.data-table>thead>tr,
table.data-table-pp>thead>tr {
  background-color: var(--light-blue);
  color: var(--dark-blue);
  text-shadow: none;
}

.rowModUser1 {
  background: color-mix(in srgb, var(--light-blue) 20%, white);
}

.data-table tr.rowMod0 {
  background-color: #f9f9f9;
}

.data-table tr.rowMod1 {
  background-color: #ffffff;
}

.data-table a {
  color: #005fa3;
  text-decoration: none;
  font-weight: 500;
}

.data-table a:hover {
  text-decoration: underline;
}

/* Hover-Effekt für Zeilen */
.data-table tbody tr:hover {
  background-color: #eef6ff;
}

/* Responsive */
@media (max-width: 768px) {
  .filter-search-container {
    padding: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px;
    font-size: 13px;
  }

  h1 {
    font-size: 22px;
  }
}

/* Überschrift */
h1 {
  font-size: 68px;
  font-weight: 600;
  margin: 24px 0 16px;
  color: var(--dark-grey);
  margin-top: 0;
  font-family: Source Sans Pro Bold;
}

.reg-container .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--dark-blue) !important;
  font-size: 16px;
}

.login-btn {
  padding: 1rem 5rem;
  font-size: 18px;
  font-weight: 600;
}

/* Container für Filter und Suche */
#headnavigation {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  max-width: 900px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Filterbereich */
#filter {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Fieldsets */
#filter fieldset {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 12px 16px;
  min-width: 200px;
  flex: 1;
}

#filter legend {
  font-weight: 600;
  color: #002d56;
  margin-bottom: 8px;
}

/* Radio-Buttons */
#filter input[type="radio"] {
  margin-right: 6px;
}

#filter label {
  margin-right: 16px;
  font-size: 14px;
  color: #333;
}

/* Select-Feld */
#filter select {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Suchbereich */
#search {
  display: flex;
  align-items: center;
  gap: 12px;
}

#search label {
  font-weight: 600;
  color: #002d56;
}

#search input[type="text"] {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Buttons */
#search input[type="submit"] {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#search input[name="updateFilter"] {
  background-color: #002d56;
  color: #fff;
}

#search input[name="updateFilter"]:hover {
  background-color: #005fa3;
}

#search input[name="clearFilter"] {
  background-color: #f2f6fb;
  color: #002d56;
  border: 1px solid #ccc;
}

#search input[name="clearFilter"]:hover {
  background-color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
  #filter {
    flex-direction: column;
    gap: 16px;
  }

  #search {
    flex-direction: column;
    align-items: flex-start;
  }

  #search input[type="text"] {
    width: 100%;
  }

  #search input[type="submit"] {
    width: 100%;
  }
}

/* Radio-Buttons kleiner darstellen */
#filter input[type="radio"] {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Labels zweizeilig und kompakt */
#filter label {
  display: inline-block;
  max-width: 120px;
  /* begrenzt die Breite, damit Text umbricht */
  font-size: 13px;
  /* etwas kleiner */
  line-height: 1.3;
  /* engerer Zeilenabstand */
  margin-right: 12px;
  color: #333;
  vertical-align: middle;
  word-wrap: break-word;
  white-space: normal;
  /* erlaubt Umbruch */
}

/* UL/LIs im Feldbereich */
.category ul {
  list-style: none;
  /* keine Standardpunkte */
  margin: 0 0 16px 0;
  /* Abstand unten */
  padding: 0;
}

.category ul li {
  padding: 8px 0;
  /* vertikaler Abstand */
  border-bottom: 1px solid #eee;
  /* dezente Trennlinie */
  font-size: 14px;
}

.category ul li:last-child {
  border-bottom: none;
  /* letzte Zeile ohne Linie */
}

.category ul li a {
  display: block;
  /* gesamte Zeile klickbar */
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 4px 6px;
  border-radius: 4px;
}

.category ul li a:hover {
  color: #0077cc;
  /* blau beim Hover */
  background-color: #f2f6fb;
  /* dezenter Hintergrund */
}

/* Allgemeine Labels */
.category label {
  display: block;
  /* immer eigene Zeile */
  font-size: 14px;
  /* etwas kleiner, klar lesbar */
  font-weight: 600;
  /* halb-fett für bessere Erkennbarkeit */
  color: #002d56;
  /* Dunkelblau für Corporate-Stil */
  margin-bottom: 6px;
  /* Abstand zum Input */
  line-height: 1.4;
}

/* Block-Labels (Abschnittsüberschriften) */
.category label.block {
  font-size: 16px;
  font-weight: 700;
  color: #005fa3;
  /* helleres Blau für Hervorhebung */
  margin-bottom: 12px;
}

/* Labels innerhalb von .row */
.row label {
  font-family: 'Source Sans Pro Semibold';
  font-weight: 500;
}

/* Hilfetexte neben Labels */
.row .help {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  color: #666;
}

.row .help img.helptoggle {
  vertical-align: middle;
  cursor: pointer;
}

/* Eingabefelder passend zu Labels */
.row input[type="text"],
.row input[type="password"],
.row input[type="input"],
.row select,
.row textarea {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: auto;
  max-width: 100%;
  margin-bottom: 12px;
  background-color: var(--light-blue);
  border: var(--light-blue);
}

#buttones,
#buttones_vn,
#buttones_ta {
  background-color: #fff;
}

/* Formular-Container Message*/
#message {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 20px;
  max-width: 900px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
}

/* Header-Tabelle */
#message_header table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

#message_header td {
  padding: 8px;
  vertical-align: top;
  font-size: 14px;
}

#message_header label {
  font-weight: 600;
  color: #002d56;
  margin-right: 6px;
}

/* Betreff-Zeile mit Trennlinie */
#message_header td[style*="border-bottom"] {
  border-bottom: 1px dashed #ccc !important;
}


/* Nachrichtenkörper */
#message_body {
  padding: 16px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.global-hint {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.global-hint.error {
  background: #4caf50;
}

.row .char-counter {
  font-size: 0.75em;
  color: #666;
  margin-top: 3px;
}

.row .limit-reached {
  border-color: red;
  background: #ededed;
}

input[readonly],
select[readonly] {
  background-color: #f0f0f0;
  color: #777;
  border-color: #ccc;
}

.modern-button,
.download-link {
  display: inline-block;
  background-color: #2f7de1;
  color: var(#fff);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.modern-button:hover,
.download-link:hover,
#buttones .modern-button:hover {
  background-color: var(--hover-button);
  color: var(--dark-blue);

}

.delete-link,
.delete-link:hover {
  background-color: #c62828;
  color: #fff;
}

a.button-link:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

a.button-link {
  border: 1px solid var(--dark-blue);
}

.warningicon {
  animation: pulse 0.8s ease-in-out 1;
  animation-delay: 1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}



.pagination-container {
  margin-top: 20px;
  text-align: center;
}

.pagination-container span {
  margin: 0 5px;
}

.pagination-container .modern-button {
  margin-top: 5px;
}

#page-footer,
footer.version {
  font-family: Source Sans Pro, Arial, sans-serif;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  bottom: 0;
}



.footer-section {
  background: #f4f7fb;

}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


.footer-center {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-hwk-logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer-hw-logo img {
  display: block;
  height: 30px;
}

.footer-copy {
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.2;
  text-align: left;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 33%;
  min-width: 260px;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  line-height: 1;
  color: #0b2a55;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  margin-right: 20px;
  border-bottom: 1px solid #5c86c6 !important;
}

.footer-right {
  flex: 1 1 33%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 320px;
}

.footer-text {
  font-size: 0.75rem;
  color: #000000;
  line-height: 1.25;
  text-align: left;
  margin-right: 1em;
}

.footer-logo img {
  width: 60px;
  height: auto;
  vertical-align: middle;
}

.select2-container .select2-selection--single {
  height: 34px;
  padding: 0 0.75rem;
  background-color: var(--light-blue);
  color: var(--dark-blue);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;

  transition: background-color 0.3s ease, transform 0.2s ease;
}

.select2-container {
  margin-bottom: 3px;
}

.reg-container .select2-container {
  width: 100% !important;
}

.reg-container {
  display: flex;
  justify-content: start;
  gap: 10rem;

}

.hero-img {
  padding: 2rem 1rem;
  flex: 1 1 40%;
}

.hero-img img {
  width: 100%;
  height: auto;
}


.select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--dark-blue);
  line-height: 34px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 34px;
}

.select2-container--open .select2-selection--single {
  background-color: var(--light-blue);
  transform: translateY(-1px);
}

.select2-dropdown {
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.select2-results__option--highlighted {
  background-color: #004a85 !important;
  color: var(--dark-blue) !important;
}

.select2-container .select2-selection--multiple {
  min-height: 34px;
  padding: 0 0.75rem;
  background-color: var(--light-blue);
  color: #fff;
  font-weight: 600;
  border: 1px solid #004a85;
  border-radius: 6px;
  display: flex;
  align-items: center;

  transition: background-color 0.3s ease, transform 0.2s ease;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #0060b3;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 5px;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
  color: #fff;
  margin-right: 4px;
}

.select2-container--open .select2-selection--multiple {
  background-color: #0060b3;
  transform: translateY(-1px);
}

.select2-dropdown {
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.select2-results__option--highlighted {
  background-color: #004a85 !important;
  color: #fff !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
  display: inline;
  list-style: none;
  padding: 0;
  margin: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 3px;
  margin-bottom: 3px;
}

#hometableibk th,
#hometable th {
  width: 15%;
}

#hometableibk th:nth-child(3),
#hometable th:nth-child(2) {
  width: 30%;
}

#hometableibk th:nth-child(3),
#hometable th:nth-child(2) {
  white-space: nowrap;
}

a.button-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 999px;
  background: #2f7de1;
  color: #fff;
  border: 0;
}

#registrierungsform {
  padding: 1rem;
  flex: 1 1 40%;
}

#registrierungsform input,
#registrierungsform .select2-container .select2-selection--single {
  width: 100%;
  border-radius: 0;
  border: 0;
  background-color: var(--sky-blue);
  margin-bottom: 0;
}

#registrierungsform .modern-checkbox label {

  border-radius: 0;

}

#registrierungsform .select2-selection--single {
  padding: 1.5rem 0;
}


.field {
  position: relative;
  width: 100%;
  overflow-x: clip;

}

.field input {
  width: 100%;
  padding: 18px 12px 8px;
  font-size: 16px;
  border: 1px solid #999;
  border-radius: 6px;
  outline: none;
  max-width: none;
}

.reg-container #registrierungsform p {
  font-size: 16px;
  margin-top: 0 !important;
}


.field label {
  position: absolute;
  left: 12px;
  top: 40%;
  transform: translateY(-50%);
  color: var(--dark-blue);
  background: transparent;
  pointer-events: none;
  transition: 0.3s ease-in-out;
  font-size: 16px;
}

.field:has(select) label {
  top: -10px;
  font-size: 12px;
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label {
  top: 0;
  font-size: 12px;
  color: var(--dark-blue);
}

.change-hint {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.4rem;
}

.change-hint .icon-info {
  width: 100%;
  height: 100%;
  display: block;
}

.change-hint {
  color: var(--dark-blue);
}

#informationcontainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#informationcontainer .button-group {
  display: flex;
  gap: 20px;
}

.sidebar {
  background: #fff !important;
}

.page {
  box-shadow: none !important;
}

.page .nav-item.active {
  background: #fff !important;
}

.page .nav-item.active span.step {
  background: var(--dark-blue) !important;
  color: #fff !important;
}

.page span.error {
  background: #c51244 !important;
  color: #fff !important;
}

.section-header-assistent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.section-header-assistent h1 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--dark-blue);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

#benutzer>#items>table>thead>tr>th {
  color: var(--dark-blue);
}

#sendAntrag {
  background: #4caf50;
  color: #fff;
  opacity: 1;
  /*pointer-events: none;*/
  transition: opacity .4s ease;
}

#sendAntrag.visible {
  opacity: 1;
  pointer-events: auto;
}

#sendAntrag.pulse {
  animation: pulse .4s ease;
}

#messagecontainer {
  background-color: orange;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: none;
}

#messagecontainer.active {
  display: block;
}

#messagecontainer.pulse {
  animation: pulse .4s ease;
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseFlash {
  0% {
    background-color: var(--dark-blue);
    transform: scale(1);
  }

  50% {
    background-color: white;
    transform: scale(1.03);
  }

  100% {
    background-color: white;
    transform: scale(1);
  }
}

.flash-anim {
  animation: pulseFlash 0.6s ease-out;
}

/*
.flash-anim {
    animation: flashHighlight 0.8s ease-out;
}
*/
.slidefade {
  animation: slideFadeIn 0.4s ease-out;
}

.ghost {
  position: absolute;
  background: var(--light-blue);
  color: var(--dark-blue);
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.c-error,
.c-error-login {
  margin-top: -2rem;
}

#informationcontainer .text {
  color: var(--dark-blue);
}

.readonly-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #fff;
  color: var(--dark-blue);
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: default;
  margin-top: 0.5rem;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page {
  overflow: unset !important;
}

#baseform {
  position: relative !important;
}

.readonly-badge.active {
  background-color: var(--light-blue);
  color: var(--dark-blue);
  transform: translateY(-2px);
}

.modern-radio-group {
  display: flex;
  gap: 1rem;
  margin-top: -.5rem;
}

.modern-radio {
  position: relative;
  display: inline-block;
  border-radius: 20px;
}

#stepbystepActions {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 1rem 0;
  width: 100vw;
}

.modern-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modern-radio span {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--light-blue);
  color: var(--dark-blue);
  font-weight: 500;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

/* Hover-Effekt */
.modern-radio span:hover {
  background-color: var(--light-blue-hover, #d0e8ff);
  transform: translateY(-2px);
}

/* Aktivierter Zustand */
.modern-radio input[type="radio"]:checked+span {
  background-color: var(--dark-blue);
  color: white;
  transform: translateY(-2px);
}

.modern-checkbox-group {
  display: flex;
  gap: 1rem;
}

.row.checkbox-group {
  display: flex;
  align-items: center;
}

.modern-checkbox {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.modern-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modern-checkbox label {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--light-blue);
  color: var(--dark-blue);
  border-radius: 8px;
  cursor: pointer;

  font-size: 1.2rem;
  font-weight: bold;

  box-shadow: unset;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover */
.modern-checkbox label:hover {
  background-color: var(--light-blue-hover, #d0e8ff);
  transform: translateY(-2px);
}

/* Aktivierter Zustand */
.modern-checkbox input[type="checkbox"]:checked+label {
  background-color: var(--dark-blue);
  color: white;
  transform: translateY(-2px);
}

/* Haken anzeigen */
.modern-checkbox input[type="checkbox"]:checked+label::after {
  content: "✓";
}


#formdata {
  padding-bottom: 4em;
}

.publishjump {
  text-decoration: underline;
  cursor: pointer;
}

.error_text {
  font-weight: lighter;
  font-size: small;
  font-style: italic;
  color: #c51244;
}

.checkbox-button-wrapper {
  position: relative;
  display: inline-block;
}

.checkbox-button-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox-button-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--light-blue);
  color: var(--dark-blue);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover */
.checkbox-button-label:hover {
  background-color: color-mix(in srgb, var(--light-blue) 80%, white);
  transform: translateY(-2px);
}

/* Checked-Zustand */
.checkbox-button-wrapper input[type="checkbox"]:checked+.checkbox-button-label {
  background-color: var(--dark-blue);
  color: white;
  transform: translateY(-2px);
}

.checkbox-button-wrapper input[type="checkbox"]:checked+.checkbox-button-label-validated {
  background: #4caf50;
  color: white;
  transform: translateY(-2px);
}

#baseid+.select2-container {
  width: auto !important;
}

#content a:not([class]) {
  color: #073070;
  border-bottom: 2px solid var(--dark-blue);
  text-decoration: none;
  font-weight: 700;
}

.ibk-button-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--dark-blue);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.ibk-button-link:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.ibk-icon-wrapper {
  display: flex;
  align-items: center;
}

.ibk-button-text {
  display: inline-block;
  color: var(--light-blue);
}

.help-toggle {
  display: none;
}

@media (width <=1300px) {
  .footer-container {
    padding: .5rem;
    scale: 0.7;
  }

}

#baseform {
  width: 100% !important;
}

main.content {
  width: 100%;
  max-width: 1000px;
}

.stickydiv {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  padding-bottom: 1rem;
}

.navbar svg {
  fill: white;
}
#applyform #formdata {width:90%;max-width:1000px;}

#nosendAntrag {
  background-color: orange;
  display: inline;
  border-radius: 5px;
  color: black;
  margin-left: 2em;
}

#faqs .faq-thema-heading {
  font-size: 1.75rem;
  font-family: Source Sans Pro Bold;
  padding: 1rem;
  cursor:pointer;
}
#faqs .formdata-accordion.visible {
  border: 0 !important;
  background: transparent;
  margin-bottom: 1rem;
  overflow: hidden;
  margin-left: 1.5rem;
}
#faqs .formdata-accordion {
  border-radius: 50px;
}
#faqs .formdata-accordion-content.open {
  max-height: 1000vh;
  padding: 1rem 2rem;
}

#faqs .formdata-accordion-content {
  padding: 2rem;
  background-color: #f9f9fb;
  border-radius: 8px;
  font-family: Source Sans Pro;
  color: #333;
  font-size: 1rem;
}
#faqs .formdata-accordion-toggle {
  text-align: left;
  padding: 1.3rem;
  font-family: Source Sans Pro Bold;
  background-color: var(--light-blue);
  border: none;
  cursor: pointer;
  color: var(--dark-blue);
  border: 0;
  font-size: 1.2rem;
}

#faqs .faq-thema-heading:hover {
  color: #707070;
  background: #F3F6FA;
  border-radius: 50px;
  padding: 1rem;
}