/* =============================================================================
   Mẫu đăng nhập 5 — Sticker: neo-brutalism, viền đen dày, bóng đổ lệch, màu kẹo. Prefix st-
   ============================================================================= */

.au-t5 {
    --au-font: 'Lexend', system-ui, -apple-system, sans-serif;
    --st-display: 'Unbounded', 'Lexend', sans-serif;
    --st-line: #111;
    --au-bg: #fff4dc;
    --au-ink: #111;
    --au-muted: #45413a;
    --au-label: #111;
    --au-soft: #fff4dc;

    --au-input-h: 50px;
    --au-input-bg: #fff;
    --au-input-bw: 2.5px;
    --au-input-border: var(--st-line);
    --au-input-border-hover: var(--st-line);
    --au-input-focus: var(--st-line);
    --au-autofill: #fffbea;
    --au-ring: transparent;
    --au-placeholder: #8c877d;
    --au-ic: #111;
    --au-radius: 12px;
    --au-gap: 18px;

    --au-primary: #ff5c8a;
    --au-primary-ink: #111;
    --au-btn-h: 56px;
    --au-btn-bg: #ff5c8a;
    --au-btn-border: 2.5px solid var(--st-line);
    --au-btn-shadow: 5px 5px 0 var(--st-line);
    --au-link: #111;

    --au-tabs-bg: #fff;
    --au-tabs-ink: #111;
    --au-tabs-active-bg: #ffd23f;
    --au-tabs-active-ink: #111;
    --au-tabs-active-shadow: none;

    --au-pop-bg: #fff;
    --au-pop-ink: #111;
    --au-pop-border: var(--st-line);
    --au-danger: #d61f4f;
    --au-ok: #0a9161;
}
body.au-t5 {
    background-color: var(--au-bg);
    background-image: radial-gradient(rgba(17, 17, 17, .14) 1.2px, transparent 1.5px);
    background-size: 22px 22px;
}

/* ---------- Form theo kiểu sticker ---------- */
.au-t5 .au-label { font-weight: 700; }
.au-t5 .au-control { transition: transform .12s; }
.au-t5 .au-control:focus-within { transform: translate(-2px, -2px); }
.au-t5 .au-input:focus { box-shadow: 4px 4px 0 var(--st-line); }
.au-t5 .au-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px var(--au-autofill) inset, 4px 4px 0 var(--st-line); }
.au-t5 .au-btn { font-family: var(--st-display); font-size: 15px; }
.au-t5 .au-btn:hover { filter: none; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--st-line); }
.au-t5 .au-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--st-line); }
.au-t5 .au-btn:disabled { box-shadow: 5px 5px 0 var(--st-line); transform: none; }
.au-t5 .au-tabs {
    padding: 4px;
    border: 2.5px solid var(--st-line);
    border-radius: 14px;
    box-shadow: 3px 3px 0 var(--st-line);
}
.au-t5 .au-tabs__item { border: 2px solid transparent; border-radius: 10px; font-weight: 700; }
.au-t5 .au-tabs__item.is-active { border-color: var(--st-line); }
.au-t5 .au-link {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-decoration-color: #ff5c8a;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}
.au-t5 .au-link:hover { text-decoration-color: var(--st-line); }
.au-t5 .au-try { border: 2px dashed var(--st-line); background: #fff; color: #111; }
.au-t5 .au-try svg { color: #111; }
.au-t5 .au-chip-btn {
    border: 2px solid var(--st-line);
    background: #b8f2e6;
    color: #111;
    box-shadow: 2px 2px 0 var(--st-line);
}
.au-t5 .au-check__box { border: 2px solid var(--st-line); }
.au-t5 .au-field--pw .check-password { border-width: 2.5px; box-shadow: 4px 4px 0 var(--st-line); }

/* ---------- Khung trang ---------- */
.st-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 20px clamp(16px, 4vw, 48px) 24px;
}
.st-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.st-top .au-brand {
    padding: 6px 14px 6px 6px;
    border: 2.5px solid var(--st-line);
    border-radius: 14px;
    background: #ffd23f;
    box-shadow: 4px 4px 0 var(--st-line);
    font-family: var(--st-display);
    transform: rotate(-1.5deg);
}
.st-top .au-brand:has(.au-brand__logo) { padding: 6px 12px; background: #fff; }
.st-top .au-brand__mark { width: 32px; height: 32px; border-radius: 9px; background: #111; color: #ffd23f; }
.st-top .au-brand__name { font-size: 15px; }
.st-top .au-brand__logo { max-height: 34px; }
.st-top .lang-picker-row { width: auto; }
.au-t5 .lang-picker .lp-btn {
    border: 2.5px solid var(--st-line);
    border-radius: 12px;
    background: #fff;
    color: #111;
    box-shadow: 3px 3px 0 var(--st-line);
}
.au-t5 .lp-menu { border: 2.5px solid var(--st-line); box-shadow: 5px 5px 0 var(--st-line); }

.st-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 0;
}

/* ---------- Giới thiệu ---------- */
.st-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 7px 14px;
    border: 2.5px solid var(--st-line);
    border-radius: 999px;
    background: #b8f2e6;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--st-line);
}
.st-tag svg { width: 16px; height: 16px; color: #ff5c8a; }
.st-headline {
    margin: 0 0 22px;
    font-family: var(--st-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.03em;
}
.st-headline mark {
    display: inline-block;
    margin-top: .12em;
    padding: .02em .22em .08em;
    border: 3px solid var(--st-line);
    border-radius: 16px;
    background: #ff5c8a;
    color: #111;
    box-shadow: 6px 6px 0 var(--st-line);
    transform: rotate(-2deg);
}
.st-lead {
    max-width: 44ch;
    margin: 0 0 30px;
    color: #2d2a25;
    font-size: 17px;
    line-height: 1.6;
}
.st-stickers {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.st-sticker {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2.5px solid var(--st-line);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--st-line);
    transform: rotate(var(--r, 0deg));
    transition: transform .2s;
}
.st-sticker:hover { transform: rotate(0deg) translateY(-4px); }
.st-sticker svg { width: 26px; height: 26px; }
.st-sticker--blue { background: #3b82f6; color: #fff; }
.st-sticker--ink { background: #111; color: #fff; }
.st-sticker--pink { background: #ff5c8a; color: #111; }
.st-sticker--orange { background: #ff7a1a; color: #111; }
.st-sticker--purple { background: #8b5cf6; color: #fff; }
.st-sticker--yellow { background: #ffd23f; color: #111; }
.st-sticker--mint { background: #b8f2e6; color: #111; }
.st-sticker--white { background: #fff; color: #111; }

/* ---------- Thẻ form ---------- */
.st-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 34px 26px 26px;
    border: 3px solid var(--st-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 10px 10px 0 var(--st-line);
}
.st-tape,
.st-burst { pointer-events: none; }
.st-tape {
    position: absolute;
    top: -17px;
    left: 50%;
    width: 128px;
    height: 30px;
    border: 2px solid var(--st-line);
    background: repeating-linear-gradient(45deg, #ffd23f 0 10px, #ffe27a 10px 20px);
    transform: translateX(-50%) rotate(-3deg);
}
.st-burst {
    position: absolute;
    top: -62px;
    right: -50px;
    z-index: 2;
    width: 104px;
    height: 104px;
    filter:
        drop-shadow(2px 0 0 var(--st-line)) drop-shadow(-2px 0 0 var(--st-line))
        drop-shadow(0 2px 0 var(--st-line)) drop-shadow(0 -2px 0 var(--st-line))
        drop-shadow(4px 4px 0 var(--st-line));
    animation: st-wobble 6s ease-in-out infinite;
}
.st-burst > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: #ff7a1a;
    clip-path: polygon(50% 0%, 58.7% 12%, 71.7% 5%, 74.3% 19.5%, 89.1% 18.8%, 85.1% 33.1%, 98.7% 38.9%, 89% 50%, 98.7% 61.1%, 85.1% 66.9%, 89.1% 81.2%, 74.3% 80.5%, 71.7% 95%, 58.7% 88%, 50% 100%, 41.3% 88%, 28.3% 95%, 25.7% 80.5%, 10.9% 81.2%, 14.9% 66.9%, 1.3% 61.1%, 11% 50%, 1.3% 38.9%, 14.9% 33.1%, 10.9% 18.8%, 25.7% 19.5%, 28.3% 5%, 41.3% 12%);
    color: #111;
    font-family: var(--st-display);
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}
@keyframes st-wobble {
    0%, 100% { transform: rotate(12deg); }
    50% { transform: rotate(-4deg) scale(1.04); }
}

.st-foot { color: #45413a; font-size: 12.5px; font-weight: 500; text-align: center; }

@media (max-width: 960px) {
    .st-main { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 520px; padding: 32px 0 36px; }
    .st-intro { text-align: center; }
    .st-headline { font-size: clamp(30px, 8.5vw, 44px); margin-bottom: 16px; }
    .st-lead { margin: 0 auto 22px; font-size: 15.5px; }
    .st-stickers { justify-content: center; gap: 10px; }
    .st-sticker { width: 44px; height: 44px; border-radius: 13px; box-shadow: 3px 3px 0 var(--st-line); }
    .st-sticker svg { width: 21px; height: 21px; }
}
@media (max-width: 520px) {
    .st-page { padding: 14px 16px 20px; }
    .st-card { padding: 30px 18px 22px; border-radius: 18px; box-shadow: 6px 6px 0 var(--st-line); }
    .st-burst { top: -50px; right: -8px; width: 80px; height: 80px; }
    .st-burst > span { font-size: 8.5px; }
    .st-top .au-brand__name { max-width: 150px; }
}

/* ---------- Chân trang thương hiệu: thẻ sticker viền đen, bóng lệch ---------- */
.au-t5 .auth-footer__inner {
    max-width: 1160px;
    margin-top: 16px;
    padding: 12px 18px;
    border: 2.5px solid var(--st-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 4px 4px 0 var(--st-line);
    color: #111;
    font-weight: 500;
}
.au-t5 .auth-footer__links a {
    padding: 2px 8px;
    border: 2px solid var(--st-line);
    border-radius: 8px;
    background: #ffd23f;
    color: #111;
    font-weight: 700;
}
.au-t5 .auth-footer__links a:hover { background: #ff5c8a; text-decoration: none; }
