html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



body {
  margin-bottom: 80px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* opendyslexic font */
body.dyslecick {
  font-family: OpenDyslexicMono;
}

/* Dropdown + button in dark mode */
body.dark-theme .dropdown-menu {
  background-color: #1e1e1e;
  color: #eeeeee;
  border-color: #444;
}

body.dark-theme .btn-outline-secondary {
  color: #eeeeee;
  border-color: #666;
}

body.dark-theme {
  background-color: #121212;
  color: #eeeeee;
}

body.dark-theme .navbar,
body.dark-theme .bg-white {
  background-color: #1e1e1e !important;
}

body.dark-theme .navbar .nav-link,
body.dark-theme .navbar .navbar-brand,
body.dark-theme .text-dark {
  color: #eeeeee !important;
}

body.dark-theme .footer,
body.dark-theme .border-top,
body.dark-theme .border-bottom {
  border-color: #444 !important;
  color: #aaa !important;
}

body.dark-theme .dropdown-item {
  color: #eeeeee;
}

body.dark-theme .dropdown-item:hover,
body.dark-theme .dropdown-item:focus {
  background-color: #333;
  color: #ffffff;
}

body.dark-theme .dropdown-item.active {
  background-color: #444;
  color: #ffffff;
}

.dark-theme .logout-btn {
  background: transparent;
  color: #9cc4ff;
  border-color: #3a4a66;
}
.dark-theme .logout-btn:hover {
  background: #1e7bff;
  color: #fff;
}

.logout-btn {
  background: #fff;
  color: #1e7bff;
  border: 1px solid #cfe0f7;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.logout-btn:hover {
  background: #1e7bff;
  color: #fff;
  border-color: #1e7bff;
}
/* Gradient panel inside the page (not fixed, so the navbar stays visible) */
.manage-panel {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background-image: linear-gradient(to right, #6F46E0, #3066DB);
}

.manage-card {
  background-color: white;
  color: #212529;
  width: 100%;
  max-width: 420px;
  padding: 1.5rem 1.75rem;
  border-radius: 7px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.manage-title {
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.manage-card .form-control {
  border: 1px solid #005D8E;
  border-radius: 5px;
}

.btn-brand {
  background-image: linear-gradient(to right, #6F46E0, #3066DB);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
}
.btn-brand:hover {
  color: white;
  filter: brightness(1.08);
}

.btn-danger-soft {
  background: #fff;
  border: 1px solid #c93636;
  color: #c93636;
  border-radius: 5px;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
}
.btn-danger-soft:hover {
  background: #c93636;
  color: #fff;
}

.manage-card a {
  color: #1509b5;
}

.dark-theme .manage-card {
  background: #1b2433;
  border-color: #2f3d57;
  color: #e6edf8;
}
.dark-theme .btn-danger-soft {
  background: transparent;
  border-color: #7a3a3a;
  color: #ff9d9d;
}