html {
  font-size: 14px;
}

@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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.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;
}

/* Kontener paska postępu */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
    padding: 0 20px;
}

    /* Szara linia łącząca kółka w tle */
    .wizard-progress::before {
        content: '';
        position: absolute;
        top: 18px; /* Połowa wysokości kółka */
        left: 40px;
        right: 40px;
        height: 4px;
        background-color: #e9ecef;
        z-index: 1;
    }

/* Pojedynczy krok */
.wizard-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

/* Wygląd kółka z numerem */
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    line-height: 34px;
    font-weight: bold;
    margin: 0 auto 10px auto;
    border: 3px solid #fff; /* Efekt odcięcia od szarej linii */
    transition: all 0.3s ease;
}

/* Tekst pod kółkiem */
.step-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

/* --- STANY KROKÓW --- */

/* Krok ZAKOŃCZONY (zielony, np. zaznaczony ptaszkiem) */
.wizard-step.completed .step-circle {
    background-color: #198754;
    color: #fff;
}

.wizard-step.completed .step-label {
    color: #198754;
}

/* Krok AKTYWNY (niebieski) */
.wizard-step.active .step-circle {
    background-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25); /* Lekka poświata */
}

.wizard-step.active .step-label {
    color: #0d6efd;
}