body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background: var(--color-base-100);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.public-entry-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    padding: 2rem 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22)),
        url('../inc/img/illustrations/auth-background-2.png');
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
}

html[data-theme='dark'] .public-entry-shell {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.38)),
        url('../inc/img/illustrations/auth-background-2.png');
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
}

.public-entry-shell-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.public-entry-stage {
    width: 100%;
    max-width: 72rem;
}

.public-entry-figure {
    width: min(40rem, 82vw);
    max-width: 40rem;
    opacity: 0.44;
    pointer-events: none;
}

.public-entry-figure svg {
    display: block;
    width: 100%;
    height: auto;
}

.public-entry-orb {
    display: none;
}

.public-entry-orb-primary {
    top: -7rem;
    left: -4rem;
    width: 18rem;
    height: 18rem;
    background: color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.public-entry-orb-secondary {
    right: -5rem;
    bottom: -7rem;
    width: 22rem;
    height: 22rem;
    background: color-mix(in srgb, var(--color-info) 40%, transparent);
}

.public-entry-grid {
    display: none;
}

.public-entry-card {
    position: relative;
    z-index: 1;
    overflow: visible;
    border: 1px solid color-mix(in srgb, var(--color-base-content) 8%, transparent);
    background: var(--color-base-100);
    box-shadow: 0 20px 48px color-mix(in srgb, var(--color-base-content) 18%, transparent);
}

html[data-theme='dark'] .public-entry-card {
    background: color-mix(in srgb, var(--color-base-100) 88%, transparent);
}

.public-entry-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 7rem;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--color-primary) 14%, transparent) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.public-entry-brand {
    color: inherit;
    text-decoration: none;
}

.public-theme-logo {
    display: none;
    width: min(13rem, 100%);
    max-width: 13rem;
    height: 3rem;
    object-fit: contain;
    object-position: center;
}

.public-theme-logo--dark {
    display: block;
}

html[data-theme='dark'] .public-theme-logo--dark,
body.dark-theme .public-theme-logo--dark {
    display: none;
}

html[data-theme='dark'] .public-theme-logo--light,
body.dark-theme .public-theme-logo--light {
    display: block;
}

.public-entry-brand:hover {
    text-decoration: none;
}

.public-entry-brand-mark {
    background: var(--color-base-100);
}

.public-entry-copy {
    border: 1px solid color-mix(in srgb, var(--color-base-content) 9%, transparent);
    background: color-mix(in srgb, var(--color-base-100) 84%, transparent);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--color-base-100) 45%, transparent);
}

.public-entry-form {
    display: grid;
    gap: 1.05rem;
}

.public-entry-form .label-text {
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: color-mix(in srgb, var(--color-base-content) 85%, transparent);
}

.public-entry-form .input,
.public-entry-form .btn,
.public-entry-form .select {
    width: 100%;
}

.public-entry-form .input,
.public-entry-form .select,
.public-entry-form textarea {
    min-height: 2.62rem;
    border-radius: 0.85rem;
    border-color: color-mix(in srgb, var(--color-base-content) 16%, transparent);
    background: color-mix(in srgb, var(--color-base-200) 36%, transparent);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.public-entry-form .input:focus,
.public-entry-form .select:focus,
.public-entry-form textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.public-entry-form .public-entry-inline-action {
    width: auto;
    flex: 0 0 auto;
}

.public-entry-password-wrap {
    position: relative;
}

.public-entry-password-wrap .input {
    width: 100%;
    padding-inline-end: 4.5rem;
}

.public-entry-password-toggle {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.45rem;
    transform: translateY(-50%);
    z-index: 2;
}

.public-entry-form .input input {
    width: 100%;
    background: transparent;
}

.public-entry-inline-action {
    white-space: nowrap;
}

.public-entry-toolbar .btn {
    backdrop-filter: blur(10px);
}

.public-entry-toolbar {
    row-gap: 0.35rem;
}

.public-entry-toolbar [data-theme-option].dropdown-active {
    color: var(--color-primary);
}

.public-entry-toolbar .dropdown {
    position: relative;
}

.public-entry-toolbar .dropdown-menu {
    inset-inline-start: auto;
    inset-inline-end: 0;
    z-index: 60;
}

.public-entry-footer {
    color: color-mix(in srgb, var(--color-base-content) 68%, transparent);
}

.public-entry-scroll-top {
    box-shadow: 0 20px 40px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

@media (max-width: 767px) {
    .public-entry-figure {
        opacity: 0.3;
        transform: scale(1.04);
    }

    .public-entry-shell {
        padding: 1.25rem 0;
    }
}

@media (max-width: 640px) {
    .public-entry-connect {
        width: 100%;
    }
}