/* Užima vietą virš footer – forma centre (body = flex column + footer margin-top: auto) */
.auth-wrapper {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));
}

.auth-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-box h2 {
    margin-bottom: 10px;
    color: #1d3557;
}

.auth-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.auth-box input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px; /* ≥16px – mažiau priartinimo iOS */
}

.auth-box input:focus {
    border-color: #457b9d;
    outline: none;
}

/* Ne „width: 100%“ kaip kiti laukai – sutikimo žymė su fiksuotu dėžute */
.auth-box input.landing-reg-consent-input {
    width: 1.375rem;
    height: 1.375rem;
    max-width: none;
    padding: 0;
    margin-bottom: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #94a3b8;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.auth-box input.landing-reg-consent-input:hover {
    border-color: #64748b;
}

.auth-box input.landing-reg-consent-input:focus {
    outline: none;
    border-color: #457b9d;
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.22);
}

.auth-box input.landing-reg-consent-input:checked {
    background-color: #457b9d;
    border-color: #457b9d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.75 8.25L6.75 11.25L12.25 4.25' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 0.875rem;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-box button {
    width: 100%;
}

.auth-box .note {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
}

.auth-box .note a.auth-register-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    background: #facc15;
    color: #0f172a;
    text-decoration: none;
    transition: filter 0.15s ease;
}

.auth-box .note a.auth-register-cta:hover {
    filter: brightness(0.96);
    color: #0f172a;
}

/* Mobilus vaizdas */
@media (max-width: 600px) {
    .auth-wrapper {
        align-items: flex-start;
    }

    .auth-box {
        max-width: 100%;
        padding: 22px 18px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    .auth-box h2 {
        font-size: 20px;
    }
}