/* Přidej do /assets/css/103-public-auth.css */
.lektivo-auth-page {
    min-height: min(720px, calc(100dvh - 180px));
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 48px 64px;
}
.lektivo-auth-card {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
}
.lektivo-auth-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: rgba(59, 130, 246, .18);
    color: #7dd3fc;
    font-size: 25px;
}
.lektivo-auth-title {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 3vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
}
.lektivo-auth-description {
    margin-bottom: 25px;
    color: rgba(255,255,255,.76);
    line-height: 1.65;
}
.lektivo-auth-message {
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}
.lektivo-auth-turnstile {
    min-height: 10px;
}
.lektivo-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #93c5fd;
    text-decoration: none;
}
.lektivo-auth-back:hover {
    color: #fff;
}
.lektivo-forgot-password .form-label {
    color: rgba(255,255,255,.92);
}
.lektivo-forgot-password .invalid-feedback {
    color: #fda4af;
}
/* Bootstrap má vlastní display pro spinner; explicitní hidden musí vyhrát. */
.lektivo-forgot-password [hidden] {
    display: none !important;
}
@media (max-width: 575.98px) {
    .lektivo-auth-page {
        min-height: 0;
        padding-block: 32px 48px;
    }
    .lektivo-auth-card {
        padding: 26px 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .lektivo-auth-card {
        transition: none;
    }
}

/* ================================================
   LEKTIVO – NEW PASSWORD INPUT GROUP FIX
   ================================================ */

.lektivo-new-password .lektivo-password-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-wrap: nowrap;
    border-radius: 14px;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);

    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Společný focus celého pole */
.lektivo-new-password .lektivo-password-group:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .15);
}

/* Heslové pole */
.lektivo-new-password .lektivo-password-group .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 48px;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;

    padding: 12px 14px;
    box-shadow: none !important;
}

.lektivo-new-password .lektivo-password-group .form-control:focus {
    outline: none;
    box-shadow: none !important;
}

/* Tlačítko zobrazení hesla */
.lektivo-new-password .lektivo-password-toggle {
    display: inline-flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;

    width: 50px;
    min-width: 50px;
    height: 48px;

    padding: 0;
    margin: 0;

    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 0 !important;

    background: rgba(255,255,255,.045) !important;
    color: #cbd5e1 !important;

    box-shadow: none !important;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

/* Očíčko */
.lektivo-new-password .lektivo-password-toggle i {
    display: inline-block;
    font-size: 19px;
    line-height: 1;
    color: inherit !important;
}

/* Hover */
.lektivo-new-password .lektivo-password-toggle:hover {
    background: rgba(56,189,248,.13) !important;
    color: #7dd3fc !important;
    transform: none;
}

/* Klávesnicový focus */
.lektivo-new-password .lektivo-password-toggle:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: -3px;
}

/* Aktivní zobrazení hesla */
.lektivo-new-password
.lektivo-password-toggle[aria-pressed="true"] {
    color: #38bdf8 !important;
    background: rgba(56,189,248,.12) !important;
}

/* Nápověda pod polem */
.lektivo-new-password .lektivo-password-hint {
    margin-top: 8px;
    font-size: .82rem;
    line-height: 1.5;
    color: rgba(255,255,255,.58);
}

/* Odstupy formuláře */
.lektivo-new-password #newPasswordForm .mb-3 {
    margin-bottom: 22px !important;
}