html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-content-top {
  flex: 1;
  display: flex;
  justify-content: start;
  align-items: center;
}

.form-control {
  background: #f3f7fb !important; /* sehr helles Steelblue */
  border: 1px solid #b7d0ea !important;
  color: #23405a !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 2px rgba(70, 130, 180, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: #4682b4 !important;
  box-shadow: 0 0 0 2px rgba(70, 130, 180, 0.12);
  background: #fff !important;
  color: #222 !important;
}

.form-control.input-darkmode {
  background-color: #1e1e1e;
  color: #f1f1f1;
  border: 1px solid #3a3a3a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control.input-darkmode::placeholder {
  color: #aaaaaa;
}

.form-control.input-darkmode:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  background-color: #222;
  color: #fff;
}

/* Floating Labels sichtbar & stylish im Dark Mode */
.form-floating .form-control.input-darkmode::placeholder {
  color: transparent;
}

.form-floating label {
  color: #aaa;
  transition: color 0.2s;
}

.form-floating .form-control.input-darkmode:focus ~ label {
  color: #0d6efd;
}

.bg-lightblue {
  background-color: lightsteelblue !important;
}
.text-lightblue {
  color: lightsteelblue !important;
}

.bg-steelblue {
  background-color: steelblue !important;
}
.text-steelblue {
  color: steelblue !important;
}

.bg-darkblue {
  background-color: #2c374d !important;
}

.text-darkblue {
  color: #2c374d !important;
}

.bg-darkslategray {
  background-color: darkslategray !important;
}

.text-darkslategray {
  color: darkslategray !important;
}

.btn-steelblue {
  background-color: #4682b4 !important;
  color: #fff !important;
  border: none;
}

.btn-steelblue:hover,
.btn-steelblue:focus {
  background-color: #37648b !important;
  color: #fff !important;
}

.btn-darksteelblue {
  background-color: #2c374d !important;
  color: #fff !important;
  border: none;
}

.btn-darksteelblue:hover,
.btn-darksteelblue:focus {
  background-color: #2c374d !important;
  color: #fff !important;
}
.btn-darksteelblue:focus {
  background-color: #37648b !important;
  color: #fff !important;
}

.table-steelblue {
  background: #fff !important;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(70, 130, 180, 0.1);
  margin-bottom: 0;
}

.table-steelblue thead tr {
  background: #dcecf9;
  /* steelblue wie Button */
}

.table-steelblue thead th {
  color: #000000;

  border: none;

  letter-spacing: 0.5px;
}

.table-steelblue tbody tr {
  background: #fff !important;
  transition: background 0.2s;
}

.table-steelblue tbody tr:hover {
  background: #f3f7fb !important;
  transition: background 0.2s;
}

.table-steelblue td,
.table-steelblue th {
  vertical-align: middle;
  border: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.table-steelblue .btn-danger.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
}

.table-darksteelblue {
  background: #3a5370;
  /* darksteelblue */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(70, 130, 180, 0.13);
  margin-bottom: 0;
}

.table-darksteelblue thead tr {
  background: #23405a;
  /* noch dunkler für thead */
}

.table-darksteelblue thead th {
  color: #fff;
  border: none;
  letter-spacing: 0.5px;
}

.table-darksteelblue tbody tr {
  background: #3a5370;
  color: #fff;
  transition: background 0.2s;
}

.table-darksteelblue tbody tr:hover {
  background: #e3f0fa !important;
  color: #23405a !important;
}

.table-darksteelblue td,
.table-darksteelblue th {
  vertical-align: middle;
  border: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.table-darksteelblue .btn-steelblue.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
}

.card-hover-steelblue {
  background-color: whitesmoke;
  /* moderner, heller lightsteelblue-Ton */
  border-radius: 1rem;
  border: none;
  transition: box-shadow 0.3s, transform 0.2s, background 0.2s;
  box-shadow: 0 2px 12px 0 rgba(70, 130, 180, 0.1);
  padding: 2.5rem 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Gelber Rahmen, nur wenn 2FA nicht aktiviert */
}

.card-warning {
  border: 2px solid #9d7600 !important;
  box-shadow: 0 2px 12px 0 rgba(157, 118, 0, 0.12);
}

.card-hover-steelblue .badge-warning {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.card-hover-steelblue:hover,
.card-hover-steelblue:focus {
  background-color: #f3f7fb !important; /* sehr helles Steelblue */
  box-shadow: 0 4px 24px 0 rgba(70, 130, 180, 0.18);
  transform: translateY(-6px) scale(1.03);
}

.card-hover-steelblue .bi {
  font-size: 3.5rem;
  color: #37648b;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.card-hover-steelblue:hover .bi {
  color: #23405a;
}

.card-hover-steelblue .card-text {
  color: #23405a;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.card-hover-steelblue:hover .card-text {
  color: #37648b;
}

.text-decoration-none:hover .card-text {
  color: #37648b;
}

.icon-warning {
  font-size: 1.5rem !important;
  line-height: 1;
  margin-bottom: 0 !important;
  color: #9d7600 !important;
}
body {
  background-color: rgb(209, 223, 237) !important;
}

.bg-light {
  background-color: rgb(180, 211, 229) !important;
}

.btn-pastell-danger {
  background-color: #ffe5e5;
  border-color: #ffd1d1;
  color: #b30000;
  box-shadow: 0 1px 4px rgba(179, 0, 0, 0.06);
  transition: background 0.2s, border 0.2s, color 0.2s;
}

.btn-pastell-danger:hover,
.btn-pastell-danger:focus {
  background-color: #ffcccc;
  border-color: #ffb3b3;
  color: #b30000;
}

.card,
.card-hover-steelblue {
  background-color: #fff !important;
}

.card-hover-steelblue:hover,
.card-hover-steelblue:focus {
  background-color: #f3f7fb !important; /* sehr helles Steelblue */
  box-shadow: 0 4px 24px 0 rgba(70, 130, 180, 0.18);
  transform: translateY(-6px) scale(1.03);
}
