/* =====================================================
   UNIWERSALNY STYL SaaS (DARK MODE + GLOW)
   Dla: Logowanie, Zapomniane Hasło & Reset Hasła
   ===================================================== */

/* ---------------- KONFIGURACJA ---------------- */
:root {
    --bg-main: #020202;
    --card-bg: #080a0c;
    --card-border: #1a1f26;

    /* Akcenty - sterowane dynamicznie przez PHP (fallback na blue) */
    --accent-blue: #3b82f6; 
    --blue-glow: rgba(59, 130, 246, 0.4);
    --accent-success: #22c55e;
    --success-glow: rgba(34, 197, 94, 0.4);

    --accent-red: #ff4d4d;
    --text-dim: #64748b;
    --input-bg: #0c0c0c;
}

/* ---------------- BAZA ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: var(--bg-main);
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

/* ---------------- KONTENER (ULTRA-BOX) ---------------- */
.login-card,
.reset-box,
.box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 100px 80px; /* Gigantyczne odstępy góra-dół */
    border-radius: 60px; 
    width: 100%;
    max-width: 750px; /* Potężna szerokość */
    text-align: center;
    
    /* Dodajemy poświatę wokół całego okna dla efektu SaaS Premium */
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.15), 0 40px 100px rgba(0, 0, 0, 0.9);
    position: relative;
    transition: all 0.5s ease;
}

/*
 * Dwa niezależne wrappery:
 * - .login-card__alerts-wrap — szerszy pas na komunikaty serwera (max inny niż formularz)
 * - .login-card__form-wrap — wąska stała max szerokość pól; alert jej nie zmienia
 */
.login-card {
    --login-form-shell-max: 400px;
    --login-alert-shell-max: 640px;
    display: block;
}

/* Cofnięcie z kroku bramki (e-mail → login/register) do ekranu wpisania e-maila */
.login-gate-back {
    width: min(var(--login-alert-shell-max), 100%);
    max-width: 100%;
    margin: 0 auto 6px auto;
    padding: 0 2px;
    box-sizing: border-box;
    text-align: left;
}

.login-card .login-gate-back__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s ease;
}

.login-card .login-gate-back__link:hover {
    color: var(--accent-blue);
}

.login-card .login-gate-back__link:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Stała docelowa szerokość pól (px); max-width:100% zwęża na wąskim ekranie.
   NIE używamy width:100% tutaj — na mobile łatwo wychodziło min(form,alert)=pełna szerokość karty. */
.login-card__form-wrap {
    width: var(--login-form-shell-max);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    min-width: 0;
}

.login-card__form-wrap form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.login-card__form-wrap .input-group,
.login-card__form-wrap .btn-login,
.login-card__form-wrap button[type="submit"].btn-login {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.login-card__form-wrap input[type="password"],
.login-card__form-wrap input[type="text"],
.login-card__form-wrap input[type="email"],
.login-card__form-wrap input[type="tel"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.login-card__form-wrap .requirements {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Komunikat walidacji klienta (reset hasła) — ta sama szerokość co pola */
.login-card__form-wrap > .alert.error-client,
.login-card__form-wrap > .alert.alert-danger.error-client {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.login-card__form-wrap > .alert.error-client > i:first-child {
    flex-shrink: 0;
    line-height: 1.2;
}

.login-card__form-wrap > .alert.error-client > span {
    flex: 0 1 auto;
    min-width: 0;
}

.login-card__alerts-wrap {
    width: min(var(--login-alert-shell-max), 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card__alerts-wrap:not(:has(.alert)) {
    display: none;
    margin-bottom: 0;
}

.login-card__alerts-wrap .alert {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-card__alerts-wrap .alert > i:first-child {
    flex-shrink: 0;
    line-height: 1.2;
}

.login-card__alerts-wrap .alert > span {
    flex: 0 1 auto;
    min-width: 0;
}

.login-card__alerts-wrap .alert.login-not-verified-alert {
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
}

.login-card__alerts-wrap .alert.login-not-verified-alert .login-not-verified-copy {
    align-items: center;
    text-align: center;
}

.login-card > .login-footer {
    width: var(--login-form-shell-max);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    box-sizing: border-box;
    min-width: 0;
}

.login-card .forgot-link {
    max-width: 100%;
}

/* ---------------- LOGO I NAGŁÓWKI ---------------- */
.logo {
    margin-bottom: 25px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.pro-tag, h2 span {
    color: var(--accent-blue);
    text-shadow: 0 0 15px var(--blue-glow);
}

.login-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

/* Gdy brak .subtitle (np. rejestracja), zachowaj odstęp do formularza */
.login-header:not(:has(.subtitle)) h2 {
    margin-bottom: 28px;
}

.subtitle {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Rejestracja — lead pod nagłówkiem (jak krok „email już znany”) */
.register-lead {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.55;
    margin: -8px 0 22px;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
}

.register-lead .register-lead-email {
    color: #fff;
    font-weight: 600;
    word-break: break-all;
}

.register-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.register-name-row .input-group {
    margin-bottom: 0;
}

@media (max-width: 420px) {
    .register-name-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.register-phone-row {
    display: grid;
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.register-phone-row .input-group {
    margin-bottom: 0;
}

.register-phone-code-group input.register-phone-code-input,
.register-phone-number-group input.register-phone-local-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 420px) {
    .register-phone-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.register-country-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: var(--input-bg);
    font-size: 14px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.register-country-label {
    color: var(--text-dim);
}

.register-country-value {
    color: #fff;
    font-weight: 500;
}

input[readonly].register-email-locked {
    opacity: 0.88;
    cursor: default;
}

/* ---------------- FORMULARZ I INPUTY (WERSJA STABILNA) ---------------- */
.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    align-items: center;
}

.icon-box {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 16px;
    pointer-events: none;
    z-index: 5;
    /* Dodajemy stałą szerokość dla ikony lewej, by zachować symetrię */
    width: 20px;
    display: flex;
    justify-content: center;
}

input[type="password"],
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    /* Zwiększamy prawy padding, by tekst nie nachodził na oko */
    padding: 16px 55px 16px 50px; 
    border-radius: 16px;
    color: #fff;
    outline: none;
    font-size: 15px;
    transition: all 0.3s ease;
    height: 55px;
    box-sizing: border-box; /* Kluczowe dla poprawnego paddingu */
}

/* --- PRZYCISK OKA (WERSJA ULTRA-STABILNA) --- */
.toggle-password {
    /* Pozycjonowanie wymuszone */
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    
    /* Blokada wymiarów - zapobiega skakaniu */
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* Reset tła i obramowania */
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    
    /* Styl ikonki */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-dim) !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: color 0.2s ease !important;
}

/* BLOKADA RUCHU PRZY NAJECHANIU (HOVER) */
.toggle-password:hover, 
.toggle-password:focus, 
.toggle-password:active {
    /* Wyłączamy wszelkie przesunięcia, które mogą pochodzić z innych stylów */
    transform: translateY(-50%) !important; 
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: var(--accent-blue) !important; /* Tylko zmiana koloru */
}

/* Stabilizacja samej ikonki FontAwesome */
.toggle-password i {
    font-size: 18px !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
}
/* ---------------- PRZYCISKI ---------------- */
button.btn-login,
button[type="submit"],
.btn-login {
    width: 100%;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    text-decoration: none;
}

.login-card__form-wrap a.btn-oauth-google {
    width: 100%;
    background: #1a1a1c;
    color: #e2e8f0;
    border: 1px solid var(--card-border);
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.login-card__form-wrap a.btn-oauth-google:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
    background: #222226;
    filter: brightness(1.05);
}

.login-card__form-wrap a.btn-oauth-google .fa-google {
    color: #ea4335;
}

.login-card__form-wrap a.btn-oauth-facebook {
    width: 100%;
    background: #1a1a1c;
    color: #e2e8f0;
    border: 1px solid var(--card-border);
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.login-card__form-wrap a.btn-oauth-facebook:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
    background: #222226;
    filter: brightness(1.05);
}

.login-card__form-wrap a.btn-oauth-facebook .fa-facebook-f {
    color: #1877f2;
}

.login-card__form-wrap a.btn-oauth-microsoft {
    width: 100%;
    background: #1a1a1c;
    color: #e2e8f0;
    border: 1px solid var(--card-border);
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.login-card__form-wrap a.btn-oauth-microsoft:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
    background: #222226;
    filter: brightness(1.05);
}

.login-card__form-wrap a.btn-oauth-microsoft .oauth-brand-icon--microsoft {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.login-card__form-wrap a.btn-oauth-microsoft .oauth-btn-label {
    text-transform: none;
    font-variant: normal;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.login-card__form-wrap a.btn-oauth-apple {
    width: 100%;
    background: #1a1a1c;
    color: #e2e8f0;
    border: 1px solid var(--card-border);
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.login-card__form-wrap a.btn-oauth-apple:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
    background: #222226;
    filter: brightness(1.05);
}

.login-card__form-wrap a.btn-oauth-apple .fa-apple {
    color: #f5f5f7;
}

.login-card__oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 6px;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-card__oauth-divider::before,
.login-card__oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--card-border);
}

button:hover, .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: none;
    filter: brightness(1.04);
}

/* ---------------- STAN SUKCESU (RESET HASŁA) ---------------- */
.success-state {
    animation: fadeInScale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    position: relative;
}

.success-icon-wrapper i {
    font-size: 35px;
    color: var(--accent-success);
    text-shadow: 0 0 20px var(--success-glow);
}

.success-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-success);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.btn-success-back {
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8) !important;
}

/* ---------------- STOPKA I LINKI (ZOPTYMALIZOWANE ODSTĘPY) ---------------- */
.login-footer {
    margin-top: 15px; /* Zmniejszono z 45px, aby być bliżej przycisku ZALOGUJ */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forgot-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    
    /* Duży rozmiar, ale mniejszy margines zewnętrzny */
    padding: 18px 45px;
    width: 100%;
    max-width: 100%;
    
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* --- COPYRIGHT (TEŻ CIUT BLIŻEJ) --- */
/* Checkbox akceptacji Regulaminu + Polityki (rejestracja) */
.login-checkbox-legal {
    width: 100%;
    max-width: 100%;
    margin: 1rem auto 0;
    text-align: center;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-checkbox-legal__label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.84rem;
    line-height: 1.35;
    color: #d6deea;
    user-select: none;
    text-align: left;
    max-width: 100%;
}

.login-checkbox-legal__input {
    margin-top: 0;
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    accent-color: var(--accent-blue);
    cursor: pointer;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.22));
}

.login-checkbox-legal__text a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.login-checkbox-legal__text a:hover {
    filter: brightness(1.12);
}

/* Akceptacja regulacji przy logowaniu / rejestracji */
.login-legal-notice {
    width: 100%;
    max-width: 100%;
    margin: 1.25rem auto 0;
    padding: 0 0.25rem;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-dim);
    text-align: center;
}

.login-legal-notice a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-legal-notice a:hover {
    filter: brightness(1.15);
}

@media (max-width: 768px) {
    .login-legal-notice__links {
        display: block;
        margin-top: 0.15em;
    }
}

.login-forgot-mini-wrap {
    margin-top: 0.45rem;
    text-align: center;
}

.login-forgot-mini {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.15s ease;
}

.login-forgot-mini:hover {
    color: var(--accent-blue);
}

.login-resend-inline {
    margin-top: 0.45rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 0.55rem;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.login-resend-verify-form {
    text-align: center;
}

.login-resend-mini-btn {
    appearance: none;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: none !important;
    padding: 10px 20px;
    margin: 0;
    color: #dbe6ff;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
    grid-column: 2;
}

.login-resend-mini-btn:hover {
    border-color: rgba(59, 130, 246, 0.5);
    color: #ffffff;
    background: rgba(59, 130, 246, 0.08) !important;
}

.login-resend-mini-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: none;
}

.login-resend-timer {
    font-size: 0.78rem;
    color: #9fb0c9;
    min-width: 3.2rem;
    text-align: left;
    grid-column: 3;
    justify-self: start;
}

.login-not-verified-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.login-not-verified-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.login-not-verified-actions {
    margin-top: 0.75rem;
}

.login-resend-mini-btn--primary {
    min-width: 12rem;
}

.login-resend-verify-msg {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    line-height: 1.45;
    text-align: center;
}

.login-resend-verify-msg--success {
    color: #22c55e;
}

.login-resend-verify-msg--error {
    color: #f87171;
}

.copyright {
    margin-top: 40px;
    font-size: 13px;
    color: #334155;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* Podpis Vantebook — układ jak „Powered by” w widgetach */
.login-wrapper .login-powered-by.vb-powered-by-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 0;
    opacity: 0.6;
    transition: opacity 0.18s ease;
}

.login-wrapper .login-powered-by.vb-powered-by-wrap:hover,
.login-wrapper .login-powered-by.vb-powered-by-wrap:focus-within {
    opacity: 1;
}

.login-wrapper .login-powered-by .vb-powered-by-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.08em;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease;
}

.login-wrapper .login-powered-by .vb-powered-by-mark {
    width: auto;
    height: 32px;
    max-width: min(144px, 48vw);
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    display: block;
    border: 0;
}

.login-wrapper .login-powered-by .vb-powered-by-link:hover {
    color: var(--accent-blue, #3b82f6);
    text-decoration: underline;
}

.login-wrapper .login-powered-by .vb-powered-by-link--static,
.login-wrapper .login-powered-by .vb-powered-by-link--static:hover {
    cursor: default;
    pointer-events: none;
    text-decoration: none;
}

/* ---------------- ALERTY ---------------- */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.28);
}




/* ================================
   RESET PASSWORD – WYMAGANIA (CENTER)
   ================================ */

.requirements {
    background: transparent;
    margin: 30px auto;
    width: 100%;
    max-width: 420px;
    text-align: center;   /* wyśrodkowanie całości */
    padding: 0;
    border: none;         /* brak niebieskiego paska */
}

.req-title {
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

/* Lista wymagań */
.req-list {
    list-style: none;     /* ⬅️ usuwa domyślne kropki */
    padding: 0;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
    line-height: 1.9;
    display: inline-block; /* klucz do ładnego centrowania */
    text-align: center;    /* ⬅️ TEKST TEŻ NA ŚRODKU */
}

/* Pojedyncza linia */
.req-list li {
    margin-bottom: 6px;
}







/* ---------------- MOBILKI ---------------- */
@media (max-width: 480px) {
    .login-card {
        padding: 35px 20px;
        border-radius: 26px;
    }
    .logo h1 { font-size: 26px; }

    /* Na wąskim ekranie alert (100% szerokości karty) ma być wyraźnie szerszy od pól */
    .login-card__form-wrap,
    .login-card > .login-footer {
        width: min(var(--login-form-shell-max), calc(100% - 28px));
        max-width: 100%;
    }
}
