input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #0B1016 inset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    transition: background-color 5000s ease-in-out 0s;
}

html[data-theme="light"] .page-auth input:-webkit-autofill,
html[data-theme="light"] .page-auth input:-webkit-autofill:hover,
html[data-theme="light"] .page-auth input:-webkit-autofill:focus,
html[data-theme="light"] .page-auth input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #222222 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.verify-otp {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.verify-otp__digit {
    width: 3rem;
    height: 3.35rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(31, 41, 55, 0.95);
    background: #0b1016;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 600;
    text-align: center;
    caret-color: #a78bfa;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.verify-otp__digit:hover {
    border-color: rgba(75, 85, 99, 0.9);
}

.verify-otp__digit:focus {
    border-color: rgba(117, 67, 244, 0.85);
    box-shadow: 0 0 0 3px rgba(117, 67, 244, 0.18);
}

.verify-otp__digit.is-error {
    border-color: rgba(239, 68, 68, 0.7);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.verify-otp__digit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 420px) {
    .verify-otp {
        gap: 0.35rem;
    }

    .verify-otp__digit {
        width: 2.55rem;
        height: 3rem;
        font-size: 1.2rem;
        border-radius: 0.65rem;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(-48%, -52%) scale(1.12);
        opacity: 0.85;
    }
    50% {
        transform: translate(-52%, -48%) scale(1.25);
        opacity: 0.7;
    }
    75% {
        transform: translate(-51%, -51%) scale(1.12);
        opacity: 0.85;
    }
}

.glow-bg {
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(117, 67, 244, 0.12) 0%, rgba(11, 16, 22, 0) 70%);
    z-index: 0;
    pointer-events: none;

    animation: pulse-glow 10s ease-in-out infinite;
}

@media (max-width: 767px) {
    .page-auth main {
        padding: 20px 16px 28px;
        align-items: flex-start;
    }

    .page-auth .auth-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .page-auth main h1 {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

    .page-auth main .flex.py-2 span {
        white-space: nowrap;
        font-size: 11px;
        margin-left: 8px;
        margin-right: 8px;
    }

    .page-auth main .grid.grid-cols-2 {
        gap: 10px;
    }

    .page-auth main button[type="submit"] {
        min-height: 48px;
        white-space: normal;
        line-height: 1.3;
    }

    .page-auth .glow-bg {
        width: 420px;
        height: 420px;
    }

    .page-auth footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}