/* Premium auth pages — VORTEX themed, layout-safe, non-scrollable. */

html {
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}

body.premium-public-bg.vortex-bg-active {
    width: 100%;
    min-width: 0;
    min-height: 100svh;
    margin: 0 !important;
    overflow: hidden !important;
    color: #0f172a;
    font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    background:
        radial-gradient(circle at 7% 10%, rgba(0, 132, 255, 0.18), transparent 18rem),
        radial-gradient(circle at 92% 8%, rgba(16, 185, 129, 0.14), transparent 20rem),
        radial-gradient(circle at 82% 86%, rgba(15, 118, 110, 0.12), transparent 22rem),
        linear-gradient(135deg, rgba(0, 87, 168, 0.035) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 50%, #ffffff 100%) !important;
    background-size: auto, auto, auto, 30px 30px, auto !important;
    background-position: top left, top right, bottom right, center, center !important;
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat !important;
    background-attachment: scroll !important;
}

body.premium-public-bg,
body.premium-public-bg :where(a, button, input, select, textarea, p, h1, h2, h3, h4, h5, h6, label, span, strong, small, div) {
    font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: geometricPrecision;
    letter-spacing: -0.008em;
}

body.premium-public-bg::before,
body.premium-public-bg::after,
body.premium-public-bg .premium-public-shell::before,
body.premium-public-bg .premium-public-shell::after,
body.premium-public-bg .premium-public-main::before,
body.premium-public-bg .premium-public-main::after,
body.premium-public-bg .premium-auth-layout::before,
body.premium-public-bg .premium-auth-layout::after {
    display: none !important;
    content: none !important;
    animation: none !important;
    pointer-events: none !important;
}

body.premium-public-bg .premium-public-shell {
    position: relative !important;
    isolation: isolate !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100svh !important;
    min-height: 100svh !important;
    margin: 0 !important;
    padding: clamp(0.75rem, 1.8vh, 1.1rem) clamp(0.9rem, 2.2vw, 1.6rem) !important;
    overflow: hidden !important;
    background: transparent !important;
    transform: none !important;
}

body.premium-public-bg .premium-public-logo {
    position: absolute !important;
    top: clamp(0.85rem, 2.2vh, 1.35rem) !important;
    left: clamp(0.9rem, 2.4vw, 1.65rem) !important;
    z-index: 10 !important;
    display: inline-flex !important;
    width: max-content !important;
    max-width: calc(100vw - 1.8rem) !important;
    align-items: center !important;
    gap: 0.72rem !important;
    border: 1px solid rgba(255, 255, 255, 0.82) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.84) !important;
    padding: 0.48rem 1rem 0.48rem 0.52rem !important;
    color: #064e3b !important;
    box-shadow: 0 18px 42px rgba(15, 118, 110, 0.12) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
    font-size: 0.78rem !important;
    font-weight: 620 !important;
    letter-spacing: 0.14em !important;
    animation: premiumAuthLogoDrop 720ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both !important;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

body.premium-public-bg .premium-auth-panel-logo {
    position: absolute !important;
    top: clamp(1rem, 2.4vw, 1.45rem) !important;
    left: clamp(1rem, 2.4vw, 1.45rem) !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    max-width: calc(100% - 2rem) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    padding: 0.42rem 0.9rem 0.42rem 0.45rem !important;
    color: #ffffff !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
    font-size: 0.76rem !important;
    font-weight: 620 !important;
    letter-spacing: 0.12em !important;
    text-decoration: none !important;
    animation: premiumAuthLogoDrop 720ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both !important;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease !important;
}

body.premium-public-bg .premium-auth-panel-logo:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 255, 255, 0.34) !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

body.premium-public-bg .premium-auth-panel-logo .premium-logo-mark {
    width: 2rem !important;
    height: 2rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14) !important;
}

body.premium-public-bg .premium-auth-panel-logo .premium-logo-mark img {
    width: 1.35rem !important;
    height: 1.35rem !important;
}

body.premium-public-bg .premium-public-logo:hover {
    transform: translateY(-1px) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 22px 48px rgba(15, 118, 110, 0.16) !important;
}

body.premium-public-bg .premium-logo-mark {
    display: inline-grid !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0057a8, #0084ff 52%, #10b981) !important;
    box-shadow: 0 12px 26px rgba(0, 132, 255, 0.22) !important;
}

body.premium-public-bg .premium-logo-mark img {
    width: 1.55rem !important;
    height: 1.55rem !important;
    object-fit: contain !important;
}

body.premium-public-bg .premium-public-main {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    place-items: center !important;
    overflow: hidden !important;
    padding: clamp(0.35rem, 1.2vh, 0.75rem) 0 !important;
    background: transparent !important;
    transform: none !important;
}

body.premium-public-bg .premium-auth-layout,
body.premium-public-bg .premium-auth-layout-register,
body.premium-public-bg .premium-auth-layout-compact {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    width: min(100%, 73rem) !important;
    height: min(39rem, calc(100svh - 5.6rem)) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    grid-template-columns: minmax(0, 1.02fr) minmax(23rem, 0.88fr) !important;
    align-items: stretch !important;
    gap: clamp(1rem, 2.5vw, 1.55rem) !important;
    overflow: visible !important;
    background: transparent !important;
    transform: none !important;
    perspective: 1200px !important;
}

body.premium-public-bg .premium-auth-layout-register {
    width: min(100%, 78rem) !important;
    height: min(40.5rem, calc(100svh - 5.6rem)) !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(27rem, 1fr) !important;
}

body.premium-public-bg .premium-auth-layout-compact {
    width: min(100%, 68rem) !important;
    height: min(36.25rem, calc(100svh - 5.6rem)) !important;
}

body.premium-public-bg .premium-auth-visual,
body.premium-public-bg .premium-auth-card {
    position: relative !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.76) !important;
    border-radius: clamp(1.55rem, 3vw, 2.25rem) !important;
    box-shadow: 0 30px 86px rgba(15, 63, 58, 0.14) !important;
    transform: none !important;
}

body.premium-public-bg .premium-auth-visual {
    color: #ffffff !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(34, 211, 238, 0.36), transparent 18rem),
        radial-gradient(circle at 92% 82%, rgba(16, 185, 129, 0.28), transparent 19rem),
        linear-gradient(145deg, rgba(4, 47, 46, 0.96), rgba(8, 47, 73, 0.96) 54%, rgba(15, 23, 42, 0.96)) !important;
    transform-origin: right center !important;
    animation: premiumAuthVisualIn 860ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both !important;
}

body.premium-public-bg .premium-auth-visual::before,
body.premium-public-bg .premium-auth-visual::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

body.premium-public-bg .premium-auth-visual::before {
    inset: -35% -20% auto auto;
    width: 31rem;
    height: 31rem;
    border-radius: 999px;
    background: conic-gradient(from 120deg, rgba(34, 211, 238, 0.2), rgba(16, 185, 129, 0.24), rgba(0, 132, 255, 0.16), rgba(34, 211, 238, 0.2));
    filter: blur(38px);
    animation: premiumAuthAurora 16s ease-in-out infinite alternate;
}

body.premium-public-bg .premium-auth-visual::after {
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 42.2% 42.7%, transparent 43% 100%),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: auto, 34px 34px, 34px 34px;
    opacity: 0.46;
    mask-image: radial-gradient(circle at 50% 48%, black 0%, transparent 78%);
}

body.premium-public-bg .premium-auth-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88)),
        radial-gradient(circle at 12% 0%, rgba(0, 132, 255, 0.07), transparent 16rem) !important;
    padding: clamp(1.25rem, 3vh, 2.15rem) clamp(1.2rem, 3vw, 2.35rem) !important;
    backdrop-filter: blur(22px) saturate(1.12) !important;
    transform-origin: left center !important;
    animation: premiumAuthCardIn 880ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both !important;
}

body.premium-public-bg .premium-auth-layout-register .premium-auth-card {
    padding-top: clamp(1rem, 2vh, 1.45rem) !important;
    padding-bottom: clamp(1rem, 2vh, 1.45rem) !important;
}

body.premium-public-bg .premium-auth-orb {
    position: absolute !important;
    border-radius: 999px !important;
    filter: blur(5px) !important;
    opacity: 0.72 !important;
    pointer-events: none !important;
}

body.premium-public-bg .premium-auth-orb-one {
    inset: 8% auto auto 8% !important;
    width: 11rem !important;
    height: 11rem !important;
    background: rgba(34, 211, 238, 0.24) !important;
}

body.premium-public-bg .premium-auth-orb-two {
    right: -4rem !important;
    bottom: -4rem !important;
    width: 17rem !important;
    height: 17rem !important;
    background: rgba(16, 185, 129, 0.2) !important;
}

body.premium-public-bg .premium-auth-visual-content {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: center !important;
    padding: clamp(4.25rem, 7vw, 5.25rem) clamp(1.25rem, 3.2vw, 2.35rem) clamp(1.25rem, 3.2vw, 2.35rem) !important;
    overflow: hidden !important;
    transform: none !important;
}

body.premium-public-bg .premium-auth-pill {
    display: inline-flex !important;
    width: max-content !important;
    align-items: center !important;
    gap: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    padding: 0.45rem 0.78rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.72rem !important;
    font-weight: 560 !important;
    letter-spacing: 0.025em !important;
    backdrop-filter: blur(14px) !important;
    animation: premiumAuthTextLift 700ms cubic-bezier(0.16, 1, 0.3, 1) 460ms both !important;
}

body.premium-public-bg .premium-auth-visual h2 {
    max-width: 14ch;
    margin: 0.78rem 0 0 !important;
    background: linear-gradient(105deg, #ffffff 0%, #dffcff 28%, #7dd3fc 52%, #a7f3d0 70%, #ffffff 92%) !important;
    background-size: 240% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-size: clamp(1.9rem, 3.65vw, 3.35rem) !important;
    font-weight: 720 !important;
    line-height: 0.98 !important;
    letter-spacing: -0.052em !important;
    animation: premiumAuthGradientFlow 10s ease-in-out infinite, premiumAuthTextLift 760ms cubic-bezier(0.16, 1, 0.3, 1) 560ms both !important;
}

body.premium-public-bg .premium-auth-visual p {
    max-width: 34rem !important;
    margin: 0.78rem 0 0 !important;
    color: rgba(226, 244, 255, 0.8) !important;
    font-size: clamp(0.86rem, 1.1vw, 0.98rem) !important;
    font-weight: 480 !important;
    line-height: 1.55 !important;
    animation: premiumAuthTextLift 760ms cubic-bezier(0.16, 1, 0.3, 1) 650ms both !important;
}

body.premium-public-bg .premium-auth-showcase {
    display: grid !important;
    gap: 0.58rem !important;
    margin-top: clamp(0.85rem, 1.6vw, 1.15rem) !important;
}

body.premium-public-bg .premium-auth-showcase > div {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    column-gap: 0.62rem !important;
    align-items: center !important;
    min-height: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0.95rem !important;
    background: rgba(255, 255, 255, 0.09) !important;
    padding: 0.58rem 0.68rem !important;
    backdrop-filter: blur(16px) !important;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease !important;
    animation: premiumAuthFeatureIn 700ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

body.premium-public-bg .premium-auth-showcase > div:nth-child(1) {
    animation-delay: 760ms !important;
}

body.premium-public-bg .premium-auth-showcase > div:nth-child(2) {
    animation-delay: 850ms !important;
}

body.premium-public-bg .premium-auth-showcase > div:nth-child(3) {
    animation-delay: 940ms !important;
}

body.premium-public-bg .premium-auth-showcase > div:hover {
    transform: translate3d(0.35rem, -0.08rem, 0) !important;
    border-color: rgba(167, 243, 208, 0.34) !important;
    background: rgba(255, 255, 255, 0.13) !important;
}

body.premium-public-bg .premium-auth-showcase i {
    grid-row: span 2 !important;
    display: grid !important;
    width: 1.95rem !important;
    height: 1.95rem !important;
    place-items: center !important;
    border-radius: 0.75rem !important;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(16, 185, 129, 0.16)) !important;
    color: #a7f3d0 !important;
}

body.premium-public-bg .premium-auth-showcase strong {
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 620 !important;
}

body.premium-public-bg .premium-auth-showcase span {
    color: rgba(226, 244, 255, 0.72) !important;
    font-size: 0.72rem !important;
    font-weight: 460 !important;
}

body.premium-public-bg .premium-auth-header {
    margin-bottom: clamp(0.85rem, 1.8vh, 1.2rem) !important;
}

body.premium-public-bg .premium-kicker {
    margin: 0 0 0.48rem !important;
    color: #0084ff !important;
    font-size: 0.72rem !important;
    font-weight: 560 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    animation: premiumAuthTextLift 660ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both !important;
}

body.premium-public-bg .premium-auth-header h1 {
    margin: 0 !important;
    background: linear-gradient(105deg, #0b1220 0%, #0057a8 38%, #03a9f4 56%, #0b1220 86%) !important;
    background-size: 240% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-size: clamp(1.9rem, 3.6vw, 3rem) !important;
    font-weight: 720 !important;
    line-height: 0.98 !important;
    letter-spacing: -0.052em !important;
    animation: premiumAuthGradientFlow 10s ease-in-out infinite, premiumAuthTextLift 760ms cubic-bezier(0.16, 1, 0.3, 1) 500ms both !important;
}

body.premium-public-bg .premium-auth-header p:not(.premium-kicker) {
    max-width: 34rem !important;
    margin: 0.72rem 0 0 !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
    font-weight: 460 !important;
    line-height: 1.52 !important;
    animation: premiumAuthTextLift 760ms cubic-bezier(0.16, 1, 0.3, 1) 580ms both !important;
}

body.premium-public-bg .premium-auth-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    margin-bottom: clamp(0.85rem, 1.6vh, 1.1rem) !important;
}

body.premium-public-bg .premium-auth-stats span {
    border: 1px solid rgba(0, 132, 255, 0.1) !important;
    border-radius: 0.95rem !important;
    background: rgba(248, 250, 252, 0.78) !important;
    padding: 0.65rem 0.55rem !important;
    color: #64748b !important;
    text-align: center !important;
    font-size: 0.78rem !important;
    font-weight: 460 !important;
    animation: premiumAuthMicroPop 620ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

body.premium-public-bg .premium-auth-stats span:nth-child(1) {
    animation-delay: 680ms !important;
}

body.premium-public-bg .premium-auth-stats span:nth-child(2) {
    animation-delay: 760ms !important;
}

body.premium-public-bg .premium-auth-stats span:nth-child(3) {
    animation-delay: 840ms !important;
}

body.premium-public-bg .premium-auth-stats strong {
    display: block !important;
    color: #0057a8 !important;
    font-size: 0.92rem !important;
    font-weight: 620 !important;
}

body.premium-public-bg .premium-role-toggle {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
    margin-bottom: clamp(0.8rem, 1.6vh, 1.05rem) !important;
    border: 1px solid rgba(0, 132, 255, 0.12) !important;
    border-radius: 1.15rem !important;
    background: rgba(241, 245, 249, 0.76) !important;
    padding: 0.3rem !important;
    animation: premiumAuthTextLift 700ms cubic-bezier(0.16, 1, 0.3, 1) 650ms both !important;
}

body.premium-public-bg .premium-role-toggle button {
    display: inline-flex !important;
    min-height: 2.65rem !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.48rem !important;
    border: 0 !important;
    border-radius: 0.9rem !important;
    color: #64748b !important;
    font-size: 0.88rem !important;
    font-weight: 560 !important;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

body.premium-public-bg .premium-role-toggle button.is-active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0057a8, #0084ff 58%, #10b981) !important;
    box-shadow: 0 14px 30px rgba(0, 132, 255, 0.24) !important;
}

body.premium-public-bg .premium-auth-form {
    display: grid !important;
    gap: clamp(0.68rem, 1.35vh, 0.9rem) !important;
    min-height: 0 !important;
}

body.premium-public-bg .premium-auth-form > * {
    animation: premiumAuthFieldIn 680ms cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

body.premium-public-bg .premium-auth-form > *:nth-child(1) {
    animation-delay: 720ms !important;
}

body.premium-public-bg .premium-auth-form > *:nth-child(2) {
    animation-delay: 790ms !important;
}

body.premium-public-bg .premium-auth-form > *:nth-child(3) {
    animation-delay: 860ms !important;
}

body.premium-public-bg .premium-auth-form > *:nth-child(4) {
    animation-delay: 930ms !important;
}

body.premium-public-bg .premium-auth-form > *:nth-child(5) {
    animation-delay: 1000ms !important;
}

body.premium-public-bg .premium-auth-form > *:nth-child(6) {
    animation-delay: 1070ms !important;
}

body.premium-public-bg .premium-auth-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.72rem !important;
}

body.premium-public-bg .premium-field label,
body.premium-public-bg .premium-field-row label {
    display: block !important;
    margin-bottom: 0.34rem !important;
    color: #334155 !important;
    font-size: 0.78rem !important;
    font-weight: 560 !important;
}

body.premium-public-bg .premium-field-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.8rem !important;
}

body.premium-public-bg .premium-field-row a,
body.premium-public-bg .premium-auth-switch a {
    color: #0057a8 !important;
    font-weight: 560 !important;
    text-decoration: none !important;
}

body.premium-public-bg .premium-field input,
body.premium-public-bg .premium-field select,
body.premium-public-bg .premium-field textarea {
    width: 100% !important;
    min-height: 2.85rem !important;
    border: 1px solid rgba(0, 87, 168, 0.13) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
    padding: 0.75rem 0.92rem !important;
    color: #0f172a !important;
    font-size: 0.93rem !important;
    font-weight: 460 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(15, 23, 42, 0.035) !important;
    outline: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

body.premium-public-bg .premium-field input:focus,
body.premium-public-bg .premium-field select:focus,
body.premium-public-bg .premium-field textarea:focus {
    border-color: rgba(0, 132, 255, 0.48) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.12), 0 16px 34px rgba(0, 132, 255, 0.08) !important;
}

body.premium-public-bg .premium-check-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.58rem !important;
    color: #64748b !important;
    font-size: 0.82rem !important;
    font-weight: 460 !important;
}

body.premium-public-bg .premium-check-row input {
    width: 1rem !important;
    height: 1rem !important;
    accent-color: #0084ff !important;
}

body.premium-public-bg .premium-auth-submit {
    position: relative !important;
    display: inline-flex !important;
    width: 100% !important;
    min-height: 3rem !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.58rem !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 1rem !important;
    background: linear-gradient(135deg, #0057a8, #0084ff 55%, #10b981) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 38px rgba(0, 132, 255, 0.24) !important;
    font-size: 0.94rem !important;
    font-weight: 620 !important;
    line-height: 1 !important;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease !important;
}

body.premium-public-bg .premium-auth-submit::before {
    position: absolute !important;
    inset: 0 !important;
    content: "" !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
    transform: translateX(-120%) skewX(-18deg) !important;
    transition: transform 520ms ease !important;
}

body.premium-public-bg .premium-auth-submit:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 22px 46px rgba(0, 132, 255, 0.3) !important;
    filter: saturate(1.06) !important;
}

body.premium-public-bg .premium-auth-submit:hover::before {
    transform: translateX(120%) skewX(-18deg) !important;
}

body.premium-public-bg .premium-auth-submit svg,
body.premium-public-bg .premium-auth-submit i,
body.premium-public-bg .premium-auth-submit .premium-inline-icon {
    position: relative !important;
    z-index: 1 !important;
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    max-width: 1rem !important;
    flex: 0 0 1rem !important;
}

body.premium-public-bg .premium-auth-submit span {
    position: relative !important;
    z-index: 1 !important;
}

body.premium-public-bg .premium-auth-switch {
    margin: clamp(0.85rem, 1.55vh, 1.05rem) 0 0 !important;
    color: #64748b !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: 460 !important;
    animation: premiumAuthTextLift 700ms cubic-bezier(0.16, 1, 0.3, 1) 1120ms both !important;
}

body.premium-public-bg .premium-auth-alert {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    border-radius: 1rem !important;
    background: rgba(254, 242, 242, 0.92) !important;
    padding: 0.72rem 0.85rem !important;
    color: #991b1b !important;
    font-size: 0.84rem !important;
    font-weight: 620 !important;
}

body.premium-public-bg .premium-field-error {
    margin: 0.28rem 0 0 !important;
    color: #dc2626 !important;
    font-size: 0.74rem !important;
    font-weight: 620 !important;
}

body.premium-public-bg .premium-auth-icon {
    display: grid !important;
    width: 3.15rem !important;
    height: 3.15rem !important;
    place-items: center !important;
    margin-bottom: 1rem !important;
    border-radius: 1.1rem !important;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.12), rgba(16, 185, 129, 0.12)) !important;
    color: #0057a8 !important;
    font-size: 1.25rem !important;
}

body.premium-public-bg .premium-auth-code-preview {
    display: flex !important;
    gap: 0.55rem !important;
    margin-top: 1.4rem !important;
}

body.premium-public-bg .premium-auth-code-preview span {
    display: grid !important;
    width: clamp(2.6rem, 6vw, 3.6rem) !important;
    height: clamp(3rem, 7vw, 4rem) !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: clamp(1.35rem, 3vw, 2rem) !important;
    font-weight: 720 !important;
}

@keyframes premiumAuthLogoDrop {
    0% {
        opacity: 0;
        transform: translate3d(0, -0.9rem, 0) scale(0.98);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes premiumAuthVisualIn {
    0% {
        opacity: 0;
        transform: translate3d(-1.6rem, 0.9rem, 0) rotateY(-7deg) scale(0.985);
        filter: blur(14px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes premiumAuthCardIn {
    0% {
        opacity: 0;
        transform: translate3d(1.7rem, 1rem, 0) rotateY(7deg) scale(0.985);
        filter: blur(14px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes premiumAuthTextLift {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.9rem, 0);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes premiumAuthFieldIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.65rem, 0) scale(0.992);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes premiumAuthFeatureIn {
    0% {
        opacity: 0;
        transform: translate3d(-0.8rem, 0.55rem, 0);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes premiumAuthMicroPop {
    0% {
        opacity: 0;
        transform: translate3d(0, 0.45rem, 0) scale(0.94);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes premiumAuthGradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes premiumAuthAurora {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    100% {
        transform: translate3d(-4rem, 3rem, 0) rotate(18deg) scale(1.08);
    }
}

@media (min-width: 1024px) {
    body.premium-public-bg .premium-public-logo {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    body.premium-public-bg .premium-auth-panel-logo {
        display: none !important;
    }

    body.premium-public-bg .premium-auth-layout,
    body.premium-public-bg .premium-auth-layout-register,
    body.premium-public-bg .premium-auth-layout-compact {
        width: min(100%, 35rem) !important;
        height: min-content !important;
        max-height: calc(100svh - 5rem) !important;
        grid-template-columns: minmax(0, 1fr) !important;
        overflow: visible !important;
    }

    body.premium-public-bg .premium-auth-visual {
        display: none !important;
    }

    body.premium-public-bg .premium-auth-card {
        max-height: calc(100svh - 5rem) !important;
    }
}

@media (max-width: 640px) {
    body.premium-public-bg .premium-public-shell {
        padding: 0.55rem !important;
    }

    body.premium-public-bg .premium-public-logo {
        display: inline-flex !important;
        top: 0.55rem !important;
        left: 0.55rem !important;
        padding: 0.38rem 0.75rem 0.38rem 0.4rem !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.11em !important;
    }

    body.premium-public-bg .premium-logo-mark {
        width: 1.9rem !important;
        height: 1.9rem !important;
    }

    body.premium-public-bg .premium-public-main {
        padding-top: 3.15rem !important;
        padding-bottom: 0 !important;
    }

    body.premium-public-bg .premium-auth-layout,
    body.premium-public-bg .premium-auth-layout-register,
    body.premium-public-bg .premium-auth-layout-compact {
        width: 100% !important;
        max-height: calc(100svh - 3.55rem) !important;
    }

    body.premium-public-bg .premium-auth-card {
        max-height: calc(100svh - 3.55rem) !important;
        border-radius: 1.25rem !important;
        padding: clamp(0.78rem, 2vh, 1rem) !important;
    }

    body.premium-public-bg .premium-auth-header {
        margin-bottom: 0.62rem !important;
    }

    body.premium-public-bg .premium-auth-header h1 {
        font-size: clamp(1.42rem, 6.5vw, 1.9rem) !important;
        line-height: 1 !important;
    }

    body.premium-public-bg .premium-auth-header p:not(.premium-kicker) {
        margin-top: 0.45rem !important;
        font-size: 0.78rem !important;
        line-height: 1.42 !important;
    }

    body.premium-public-bg .premium-auth-stats {
        gap: 0.38rem !important;
        margin-bottom: 0.62rem !important;
    }

    body.premium-public-bg .premium-auth-stats span {
        padding: 0.48rem 0.35rem !important;
        font-size: 0.68rem !important;
    }

    body.premium-public-bg .premium-auth-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.55rem !important;
    }

    body.premium-public-bg .premium-auth-form {
        gap: 0.55rem !important;
    }

    body.premium-public-bg .premium-field input,
    body.premium-public-bg .premium-field select,
    body.premium-public-bg .premium-field textarea {
        min-height: 2.5rem !important;
        border-radius: 0.82rem !important;
        padding: 0.62rem 0.78rem !important;
        font-size: 0.84rem !important;
    }

    body.premium-public-bg .premium-role-toggle {
        margin-bottom: 0.58rem !important;
        border-radius: 0.95rem !important;
        padding: 0.22rem !important;
    }

    body.premium-public-bg .premium-role-toggle button {
        min-height: 2.2rem !important;
        border-radius: 0.74rem !important;
        font-size: 0.8rem !important;
    }

    body.premium-public-bg .premium-auth-submit {
        min-height: 2.55rem !important;
        border-radius: 0.85rem !important;
        font-size: 0.86rem !important;
    }

    body.premium-public-bg .premium-auth-switch,
    body.premium-public-bg .premium-check-row {
        font-size: 0.76rem !important;
    }
}

@media (max-height: 740px) {
    body.premium-public-bg .premium-public-shell {
        padding-top: 0.45rem !important;
        padding-bottom: 0.45rem !important;
    }

    body.premium-public-bg .premium-public-logo {
        top: 0.45rem !important;
        left: clamp(0.55rem, 1.8vw, 1rem) !important;
        transform: scale(0.92) !important;
        transform-origin: left top !important;
    }

    body.premium-public-bg .premium-public-main {
        padding-top: 2.85rem !important;
    }

    body.premium-public-bg .premium-auth-card {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    body.premium-public-bg .premium-auth-visual-content {
        padding: clamp(3.65rem, 6vw, 4.25rem) clamp(1rem, 2.4vw, 1.65rem) clamp(1rem, 2.4vw, 1.65rem) !important;
    }

    body.premium-public-bg .premium-auth-panel-logo {
        top: 0.75rem !important;
        left: 0.75rem !important;
        transform: scale(0.9) !important;
        transform-origin: left top !important;
    }

    body.premium-public-bg .premium-auth-visual h2 {
        font-size: clamp(1.65rem, 3vw, 2.65rem) !important;
        line-height: 1 !important;
    }

    body.premium-public-bg .premium-auth-visual p {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
    }

    body.premium-public-bg .premium-auth-showcase {
        gap: 0.45rem !important;
        margin-top: 0.7rem !important;
    }

    body.premium-public-bg .premium-auth-showcase > div {
        padding: 0.48rem 0.55rem !important;
    }

    body.premium-public-bg .premium-auth-showcase span {
        display: none !important;
    }

    body.premium-public-bg .premium-auth-stats,
    body.premium-public-bg .premium-auth-header p:not(.premium-kicker) {
        display: none !important;
    }

    body.premium-public-bg .premium-auth-form {
        gap: 0.52rem !important;
    }

    body.premium-public-bg .premium-field input,
    body.premium-public-bg .premium-field select {
        min-height: 2.42rem !important;
    }

    body.premium-public-bg .premium-auth-submit {
        min-height: 2.55rem !important;
    }
}

@media (max-height: 660px) {
    body.premium-public-bg .premium-public-logo {
        transform: scale(0.86) !important;
        transform-origin: left top !important;
    }

    body.premium-public-bg .premium-auth-header {
        margin-bottom: 0.45rem !important;
    }

    body.premium-public-bg .premium-auth-header h1 {
        font-size: clamp(1.32rem, 5vh, 1.75rem) !important;
    }

    body.premium-public-bg .premium-auth-visual p,
    body.premium-public-bg .premium-auth-showcase {
        display: none !important;
    }

    body.premium-public-bg .premium-role-toggle {
        margin-bottom: 0.45rem !important;
    }

    body.premium-public-bg .premium-check-row,
    body.premium-public-bg .premium-auth-switch {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.premium-public-bg .premium-public-logo,
    body.premium-public-bg .premium-auth-visual,
    body.premium-public-bg .premium-auth-card,
    body.premium-public-bg .premium-auth-pill,
    body.premium-public-bg .premium-auth-visual h2,
    body.premium-public-bg .premium-auth-visual p,
    body.premium-public-bg .premium-auth-showcase > div,
    body.premium-public-bg .premium-kicker,
    body.premium-public-bg .premium-auth-header h1,
    body.premium-public-bg .premium-auth-header p:not(.premium-kicker),
    body.premium-public-bg .premium-auth-stats span,
    body.premium-public-bg .premium-role-toggle,
    body.premium-public-bg .premium-auth-form > *,
    body.premium-public-bg .premium-auth-switch,
    body.premium-public-bg .premium-auth-visual::before,
    body.premium-public-bg .premium-auth-submit::before {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
