.custom-btn
{
    color: white;
    background-color: #003b74;
    opacity: 1;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body > footer {
    margin-top: auto;
}

.footer-style
{
    color: #1F2E56 !important;
    background-color: #fafaf7 !important;
    border-color: #003b74 !important;
}

/* link */
.unit-link {
  text-decoration: none;
  color: #212529;
  padding: 6px 10px;
  font-size: 1.05rem;
  font-weight: 500;
  display: block;
}

.unit-link:hover {
  background: #f8f9fa; /* zamiast bootstrapowego hovera */
}

/* toggle button (mała strzałka) */
.btn-toggle {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-icon {
  fill: #003b74;
  transition: transform 0.2s ease;
}

/* obrót */
.btn-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(90deg);
}

/* brak strzałki dla liści */
.leaf .btn-toggle {
  visibility: hidden;
}

/* placeholder to reserve toggle space for items without children */
.toggle-placeholder {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* wcięcia */
.accordion .accordion {
  margin-left: 20px;
  border-left: 1px dashed #ddd;
  padding-left: 10px;
}

.accordion-header {
  font-size: 1rem;
  font-weight: normal;
}

a {
  color: #003b74;
  text-decoration: none;
}

a:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

.login-card {
  width: 100%;
  max-width: 420px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
}

.login-card-body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.login-btn {
  padding: 0.8rem 2rem;
  font-size: 1.05rem;
  min-width: 180px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}