/* ==========================================================================
   TELA DE ACESSO - painel animado + formulário
   As cores --auth-* são trocadas por auth.js quando a empresa de acesso é identificada.
   ========================================================================== */

.auth-body {
    --auth-primary-color: var(--brand);
    --auth-primary-hover: var(--brand-hover);
    --auth-glow: color-mix(in srgb, var(--brand) 35%, transparent);
    --auth-gold: var(--accent-gold);
    --auth-bg-page: var(--bg-body);
    --auth-card-bg: var(--bg-card);
    --auth-text-color: var(--text-primary);
    --auth-text-muted: var(--text-muted);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    min-height: 100vh;
    min-height: 100dvh;
    background: var(--auth-bg-page, var(--bg-body));
    color: var(--auth-text-color);
    overflow-x: hidden;
}

.auth-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.auth-hero,
.auth-panel {
    min-width: 0;
}

/* ==========================================================================
   Painel animado
   ========================================================================== */
.auth-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem clamp(2rem, 5vw, 5rem);
    background: var(--auth-bg-gradient, radial-gradient(circle at 30% 20%, var(--bg-card) 0%, var(--bg-body) 75%));
    isolation: isolate;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: glowDrift 16s ease-in-out infinite alternate;
}

.hero-glow.g1 {
    width: 46vmax;
    height: 46vmax;
    left: -14vmax;
    top: -16vmax;
    background: var(--auth-primary-color);
    opacity: 0.32;
}

.hero-glow.g2 {
    width: 34vmax;
    height: 34vmax;
    right: -12vmax;
    bottom: -14vmax;
    background: var(--auth-gold);
    opacity: 0.16;
    animation-duration: 20s;
}

.hero-dots {
    position: absolute;
    inset: -40px;
    background-image: radial-gradient(color-mix(in srgb, var(--auth-text-color) 9%, transparent) 1px, transparent 1.5px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    animation: dotsDrift 40s linear infinite;
}

@keyframes glowDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(4vmax, 3vmax) scale(1.12); }
}

@keyframes dotsDrift {
    from { transform: translate(0, 0); }
    to { transform: translate(26px, 26px); }
}

.hero-stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    min-height: 0;
    min-width: 0;
}

/* Órbitas: o hub (Notificador) no centro e os canais ao redor */
.hero-orbit {
    --size: clamp(260px, 34vw, 430px);
    position: relative;
    width: var(--size);
    height: var(--size);
    flex-shrink: 0;
}

.orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--auth-text-color) 14%, transparent);
    transform: translate(-50%, -50%);
    animation: orbitSpin linear infinite;
}

.orbit-ring.ring-1 { width: 44%; height: 44%; animation-duration: 9s; }
.orbit-ring.ring-2 { width: 70%; height: 70%; animation-duration: 15s; animation-direction: reverse; border-style: solid; border-color: color-mix(in srgb, var(--auth-text-color) 7%, transparent); }
.orbit-ring.ring-3 { width: 96%; height: 96%; animation-duration: 24s; }

/* Pacote de dados percorrendo cada órbita */
.orbit-packet {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--auth-primary-hover);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06), 0 0 18px 4px var(--auth-glow);
}

.ring-2 .orbit-packet {
    background: var(--auth-gold);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06), 0 0 16px 3px color-mix(in srgb, var(--accent-gold) 50%, transparent);
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30%;
    height: 30%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-core {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(140deg, var(--auth-primary-color), var(--auth-primary-hover));
    box-shadow: 0 18px 50px var(--auth-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    animation: hubFloat 4s ease-in-out infinite;
}

.hub-core svg {
    width: 46%;
    height: 46%;
    transform-origin: 50% 10%;
    animation: bellRing 4s ease-in-out infinite;
}

.hub-badge {
    position: absolute;
    top: 12%;
    right: 12%;
    width: 18%;
    height: 18%;
    border-radius: 50%;
    background: var(--auth-gold);
    border: 3px solid var(--auth-primary-color);
    animation: badgePop 4s ease-in-out infinite;
}

.hub-pulse {
    position: absolute;
    inset: 0;
    border-radius: 30%;
    border: 2px solid var(--auth-primary-hover);
    opacity: 0;
    animation: hubPulse 3s ease-out infinite;
}

.hub-pulse.p2 {
    animation-delay: 1.5s;
}

@keyframes hubFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes bellRing {
    0%, 60%, 100% { transform: rotate(0deg); }
    64% { transform: rotate(14deg); }
    68% { transform: rotate(-12deg); }
    72% { transform: rotate(9deg); }
    76% { transform: rotate(-6deg); }
    80% { transform: rotate(0deg); }
}

@keyframes badgePop {
    0%, 60%, 100% { transform: scale(1); }
    66% { transform: scale(1.35); }
    74% { transform: scale(0.9); }
}

@keyframes hubPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Canais (nós fixos ao redor do hub) */
.orbit-node {
    position: absolute;
    z-index: 3;
    width: 15%;
    height: 15%;
    min-width: 44px;
    min-height: 44px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-text-color);
    background: color-mix(in srgb, var(--bg-card) 85%, transparent);
    border: 1px solid color-mix(in srgb, var(--auth-text-color) 14%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 10px 28px rgba(26, 20, 51, 0.14);
    transform: translate(-50%, -50%);
    animation: nodeBob 5s ease-in-out infinite, nodeReceive 6s ease-in-out infinite;
}

.node-whatsapp { left: 50%; top: 2%; color: #059669; }
.node-sms { left: 98%; top: 50%; color: #B45309; animation-delay: -1.2s, -1.5s; }
.node-email { left: 50%; top: 98%; color: #2563EB; animation-delay: -2.4s, -3s; }
.node-coupon { left: 2%; top: 50%; color: #C026D3; animation-delay: -3.6s, -4.5s; }

@keyframes nodeBob {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -6px; }
}

@keyframes nodeReceive {
    0%, 82%, 100% { border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 10px 28px rgba(26, 20, 51, 0.14); }
    88% { border-color: currentColor; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05), 0 0 26px currentColor; }
}

/* Feed de notificações em tempo real */
.hero-feed {
    position: relative;
    flex: 1 1 260px;
    max-width: 320px;
    min-width: 0;
    height: 232px;
    list-style: none;
    justify-content: flex-start;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.55rem;
    pointer-events: none;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--bg-card) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--auth-text-color) 10%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(26, 20, 51, 0.14);
    animation: feedIn 0.6s var(--ease-out) both;
    transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.feed-item.is-old {
    opacity: 0.45;
    transform: scale(0.96);
}

.feed-item.is-leaving {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
}

.feed-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--text-inverted);
    background: var(--auth-primary-hover);
}

.feed-icon.sms { background: #FBBF24; }
.feed-icon.e-mail { background: #8cc8ff; }
.feed-icon.pdv { background: #f0abfc; }

.feed-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.feed-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--auth-text-color);
    line-height: 1.3;
}

.feed-meta {
    font-size: 0.68rem;
    color: var(--auth-text-muted);
}

.feed-check {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--auth-primary-hover);
}

@keyframes feedIn {
    from { opacity: 0; transform: translateY(-14px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Texto do painel */
.hero-copy {
    max-width: 560px;
    animation: copyIn 0.9s var(--ease-out) 0.15s both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--auth-primary-hover);
    background: color-mix(in srgb, var(--auth-text-color) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--auth-text-color) 10%, transparent);
}

.hero-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auth-primary-hover);
    box-shadow: 0 0 10px var(--auth-primary-hover);
    animation: hubPulseDot 1.8s ease-in-out infinite;
}

@keyframes hubPulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-headline {
    margin: 1rem 0 0.75rem;
    font-size: clamp(1.7rem, 1.1rem + 2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    color: var(--auth-text-color);
    background: linear-gradient(100deg, var(--auth-text-color) 0%, var(--auth-text-color) 45%, var(--auth-primary-hover) 70%, var(--auth-text-color) 95%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: headlineSheen 7s ease-in-out infinite;
}

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

.hero-sub {
    font-size: 0.98rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--text-secondary) 78%, transparent);
}

.hero-stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.hero-stats li {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--auth-text-color);
}

.hero-stats span {
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--auth-text-muted);
}

@keyframes copyIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Formulário
   ========================================================================== */
.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem);
    background:
        radial-gradient(600px 400px at 100% 0%, var(--auth-glow), transparent 70%),
        var(--auth-bg-page, var(--bg-body));
    border-left: 1px solid color-mix(in srgb, var(--auth-text-color) 6%, transparent);
}

.auth-card {
    width: 100%;
    max-width: 430px;
    padding: 2.25rem 2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--auth-text-color) 6%, transparent), color-mix(in srgb, var(--auth-text-color) 1.5%, transparent)), var(--auth-card-bg, var(--bg-card));
    border: 1px solid var(--auth-card-border, color-mix(in srgb, var(--brand) 40%, transparent));
    box-shadow: 0 30px 70px rgba(26, 20, 51, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: cardIn 0.7s var(--ease-out) both;
    transition: background 0.4s ease, border-color 0.4s ease;
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-brand {
    text-align: left;
    margin-bottom: 1.75rem;
}

.auth-brand-logo {
    height: 48px;
    max-width: 170px;
    object-fit: contain;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(26, 20, 51, 0.1);
    transition: var(--transition);
}

/* Marca do Notificador: já tem fundo próprio, dispensa o quadro branco dos logos de empresa */
.auth-brand-logo.is-brand-mark {
    height: 64px;
    background: transparent;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--brand-hover) 35%, transparent);
}

.auth-brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--auth-text-color);
    margin: 0 0 0.35rem;
}

.auth-brand-subtitle {
    font-size: 0.88rem;
    color: var(--auth-text-muted);
    margin: 0;
}

.auth-field {
    margin-bottom: 1.1rem;
}

.auth-field .form-label {
    font-size: 0.8rem;
    color: color-mix(in srgb, var(--text-secondary) 90%, transparent);
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--auth-text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--auth-primary-hover);
}

.auth-input {
    height: 48px;
    border-radius: 12px !important;
    background: var(--auth-input-bg, var(--bg-input)) !important;
    border: 1px solid var(--auth-input-border, var(--border-color)) !important;
    color: var(--auth-text-color, var(--text-primary)) !important;
    font-size: 0.95rem;
}

/* Autopreenchimento do navegador: mantém o fundo do tema em vez do azul/escuro padrão */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--auth-text-color, var(--text-primary));
    transition: background-color 600000s 0s;
    caret-color: var(--auth-text-color, var(--text-primary));
}

.auth-input-wrap .auth-input {
    padding-left: 2.6rem;
}

.auth-input-password {
    padding-right: 3rem !important;
}

.auth-input:focus {
    border-color: var(--auth-primary-hover, var(--brand-hover)) !important;
    box-shadow: 0 0 0 4px var(--auth-glow, color-mix(in srgb, var(--brand) 35%, transparent)) !important;
}

.auth-toggle-password {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--auth-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-toggle-password:hover {
    color: var(--auth-text-color);
    background: color-mix(in srgb, var(--auth-text-color) 6%, transparent);
}

.auth-toggle-password .icon-hide,
.auth-toggle-password[aria-pressed="true"] .icon-show {
    display: none;
}

.auth-toggle-password[aria-pressed="true"] .icon-hide {
    display: inline;
}

#login_empresa_container {
    animation: authFadeIn 0.35s var(--ease-out);
}

#login_empresa_container .auth-input {
    padding-left: 0.9rem;
}

/* Botão Acessar Sistema */
.auth-btn-primary {
    position: relative;
    overflow: hidden;
    height: 52px;
    margin-top: 0.75rem;
    border-radius: 14px !important;
    border: none !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2px;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--auth-primary-color, var(--brand)), var(--auth-primary-hover, var(--brand-hover))) !important;
    box-shadow: 0 12px 28px var(--auth-glow);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}

.auth-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: buttonSheen 4.5s ease-in-out infinite;
}

@keyframes buttonSheen {
    0%, 70% { left: -60%; }
    100% { left: 130%; }
}

.auth-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px var(--auth-glow);
    filter: brightness(1.05);
}

.auth-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.auth-btn-primary:disabled {
    cursor: progress;
    opacity: 0.9;
}

.auth-btn-arrow {
    transition: transform 0.2s var(--ease-out);
}

.auth-btn-primary:hover .auth-btn-arrow {
    transform: translateX(4px);
}

.auth-btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

.auth-btn-primary:disabled .auth-btn-spinner {
    display: inline-block;
}

.auth-btn-primary:disabled .auth-btn-arrow {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-secure-hint {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 1.25rem 0 0;
    font-size: 0.72rem;
    color: var(--auth-text-muted);
}

.auth-secure-hint svg {
    flex-shrink: 0;
    color: var(--auth-primary-hover);
}

.auth-card .alert {
    border-radius: 12px;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Tablet e celular
   ========================================================================== */
@media (max-width: 1024px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
    }

    .auth-hero {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 2rem 2rem 2.5rem;
    }

    .hero-orbit {
        --size: clamp(200px, 30vw, 280px);
    }

    .hero-feed {
        display: none;
    }

    .hero-copy {
        flex: 1;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .auth-panel {
        align-items: flex-start;
        border-left: none;
        padding-top: 0;
        margin-top: -1.25rem;
        background: transparent;
    }

    .auth-card {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .auth-hero {
        flex-direction: column;
        gap: 1rem;
        padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.25rem 2.25rem;
        text-align: center;
    }

    .hero-stage {
        justify-content: center;
    }

    .hero-orbit {
        --size: 190px;
    }

    .orbit-node {
        min-width: 36px;
        min-height: 36px;
    }

    .orbit-node svg {
        width: 17px;
        height: 17px;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-headline {
        font-size: 1.45rem;
        margin: 0.75rem 0 0.4rem;
    }

    .hero-sub,
    .hero-stats {
        display: none;
    }

    .auth-panel {
        padding: 0 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }

    .auth-card {
        padding: 1.75rem 1.25rem;
        border-radius: 22px;
    }

    .auth-brand-logo {
        height: 40px;
        margin-bottom: 1rem;
    }

    .auth-brand-title {
        font-size: 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-body *,
    .auth-body *::before,
    .auth-body *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   HUD: mesma linguagem visual da área autenticada (grade, cantoneiras e dados em mono)
   ========================================================================== */
.auth-body {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

.auth-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--auth-text-color) 3%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--auth-text-color) 3%, transparent) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 40% 45%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 40% 45%, #000 20%, transparent 75%);
}

.hero-eyebrow,
.hero-stats span {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: 0.08em;
}

.hero-stats strong {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 600;
}

.hero-headline,
.auth-brand-title {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-card {
    position: relative;
    border-radius: 18px;
    --corner: color-mix(in srgb, var(--auth-primary-hover) 70%, transparent);
    background:
        linear-gradient(var(--corner), var(--corner)) top left / 18px 1px no-repeat,
        linear-gradient(var(--corner), var(--corner)) top left / 1px 18px no-repeat,
        linear-gradient(var(--corner), var(--corner)) bottom right / 18px 1px no-repeat,
        linear-gradient(var(--corner), var(--corner)) bottom right / 1px 18px no-repeat,
        linear-gradient(180deg, color-mix(in srgb, var(--auth-text-color) 5%, transparent), color-mix(in srgb, var(--auth-text-color) 1%, transparent)),
        var(--auth-card-bg, var(--bg-card));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.auth-card .form-control {
    border-radius: 10px;
}

.auth-card .form-control:focus {
    border-color: var(--auth-primary-hover);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-primary-hover) 18%, transparent);
}

.auth-btn-primary {
    border-radius: 10px !important;
    border: 1px solid color-mix(in srgb, var(--auth-primary-hover) 45%, transparent) !important;
    background: linear-gradient(135deg, var(--auth-primary-color), color-mix(in srgb, var(--auth-primary-color) 78%, var(--auth-primary-hover))) !important;
    letter-spacing: 0.02em;
}
