/* The password page of a protected page (app/Views/front/password.php), in the Retal brand. */
@font-face { font-family: '29LTZaridDisplayVF'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/29LTZaridDisplayVF.woff2') format('woff2'), url('../fonts/29LTZaridDisplayVF.ttf') format('truetype'); }
@font-face { font-family: '29LTAzer-Light'; font-style: normal; font-weight: normal; font-display: swap; src: url('../fonts/29LTAzer-Light-2.woff2') format('woff2'), url('../fonts/29LTAzer-Light-2.otf') format('opentype'); }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: normal; font-display: swap; src: url('../fonts/Marcellus-Regular.woff2') format('woff2'), url('../fonts/Marcellus-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Lucky Beauty'; font-style: normal; font-weight: normal; font-display: swap; src: url('../fonts/Lucky-Beauty.woff2') format('woff2'), url('../fonts/Lucky-Beauty.ttf') format('truetype'); }

body:has(> .rt-unlock) { margin: 0; background: #f9f7f3; }

.rt-unlock {
    --rt-brown: #85553a;
    --rt-brown-dark: #6d4530;
    --rt-sand: #f9f7f3;
    --rt-line: #e6ddd2;
    --rt-ink: #2b211b;
    --rt-muted: #7a6d63;
    --rt-head: "29LTZaridDisplayVF", sans-serif;
    --rt-body: "29LTAzer-Light", sans-serif;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 40px 16px;
    background:
        radial-gradient(48rem 28rem at 100% 0%, rgb(133 85 58 / .10), transparent 70%),
        radial-gradient(40rem 24rem at 0% 100%, rgb(133 85 58 / .07), transparent 70%),
        var(--rt-sand);
    color: var(--rt-ink);
    font-family: var(--rt-body);
}
.rt-unlock.is-ltr { --rt-head: "Lucky Beauty", serif; --rt-body: "Marcellus", serif; }
.rt-unlock *, .rt-unlock *::before, .rt-unlock *::after { box-sizing: border-box; }

.rt-unlock__card {
    width: 100%;
    max-width: 460px;
    padding: 44px 40px 32px;
    background: #fff;
    border: 1px solid var(--rt-line);
    border-top: 4px solid var(--rt-brown);
    border-radius: 18px;
    box-shadow: 0 24px 60px -24px rgb(67 42 28 / .25);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.rt-unlock__card > * { text-align: center; }
.rt-unlock__form { align-self: stretch; }

.rt-unlock__logo { display: flex; justify-content: center; margin: 0 auto 24px; }
.rt-unlock__logo img { display: block; height: 72px; width: auto; max-width: 200px; margin: 0 auto; object-fit: contain; }
.rt-unlock__logo span { font-family: var(--rt-head); font-size: 28px; color: var(--rt-brown); }

.rt-unlock__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgb(133 85 58 / .08);
    color: var(--rt-brown);
    font-size: 13px;
    letter-spacing: .02em;
}
.rt-unlock__eyebrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rt-unlock__title {
    width: 100%;
    margin: 18px 0 10px;
    font-family: var(--rt-head);
    font-weight: 500;
    font-size: 34px;
    line-height: 1.2;
    color: var(--rt-ink);
}
.rt-unlock__intro { margin: 0 0 28px; font-size: 15px; line-height: 1.6; color: var(--rt-muted); }

.rt-unlock__form { display: flex; flex-direction: column; gap: 12px; }
.rt-unlock__input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    background: var(--rt-sand);
    color: var(--rt-ink);
    font: 16px/1 var(--rt-body);
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.rt-unlock__input::placeholder { color: #a99b90; }
.rt-unlock__input:focus { outline: none; border-color: var(--rt-brown); background: #fff; box-shadow: 0 0 0 4px rgb(133 85 58 / .14); }
.rt-unlock__input.is-invalid { border-color: #c0392b; }

.rt-unlock__button {
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--rt-brown);
    color: #fff;
    font: 16px/1 var(--rt-head);
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}
.rt-unlock__button:hover { background: var(--rt-brown-dark); }
.rt-unlock__button:active { transform: scale(.98); }
.rt-unlock__button:focus-visible { outline: 2px solid var(--rt-brown); outline-offset: 3px; }

.rt-unlock__error { margin: 14px 0 0; color: #c0392b; font-size: 14px; }

.rt-unlock__home {
    display: inline-block;
    margin-top: 26px;
    color: var(--rt-muted);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.rt-unlock__home:hover, .rt-unlock__home:focus-visible { color: var(--rt-brown); border-bottom-color: currentColor; }

@media (max-width: 480px) {
    .rt-unlock__card { padding: 36px 22px 26px; border-radius: 16px; }
    .rt-unlock__title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .rt-unlock__input, .rt-unlock__button { transition: none; }
}
