html:has(body.osoul-auth-body),
body.osoul-auth-body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    font-family: var(--osoul-font-sans);
}

body.osoul-auth-body {
    --osoul-portal-pad-x: clamp(20px, 4.2vw, 64px);
    --osoul-portal-pad-y: clamp(18px, 3.8vh, 42px);
    --osoul-portal-max-w: 1180px;
    --osoul-portal-w: min(var(--osoul-portal-max-w), calc(100vw - (var(--osoul-portal-pad-x) * 2)));
    --osoul-seam-pos: calc(50vw - (var(--osoul-portal-w) * 0.05));
    position: relative;
    background-color: #f4e8d4 !important;
    background-image:
        radial-gradient(circle at 28% 50%, rgba(252, 244, 230, 0.34) 0%, rgba(242, 228, 206, 0.14) 100%),
        url('/images/logo/osoul-auth-bg.webp') !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center center, center bottom !important;
    background-size: 100% 100%, cover !important;
    color: var(--osoul-ink);
    transition: background-color 0.28s ease, color 0.25s ease;
}

html[data-theme="dark"] body.osoul-auth-body {
    background-color: #120d0a !important;
    background-image:
        radial-gradient(circle at 28% 50%, rgba(20, 15, 12, 0.28) 0%, rgba(15, 11, 9, 0.12) 100%),
        url('/images/logo/osoul-auth-bg-dark.webp') !important;
}

body.osoul-auth-body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: var(--osoul-seam-pos);
    background: linear-gradient(180deg, #ab5a3b 0%, #9a4d30 100%);
    border-inline-end: 1px solid rgba(255, 248, 238, 0.16);
    pointer-events: none;
    z-index: 0;
    transition: background-color 0.28s ease, border-color 0.28s ease;
}

html[data-theme="dark"] body.osoul-auth-body::before {
    background: linear-gradient(180deg, #753821 0%, #5c2a17 100%);
    border-inline-end-color: rgba(255, 238, 216, 0.09);
}

body.osoul-auth-body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle 420px at 74% 20%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 68%),
        radial-gradient(circle 360px at 22% 82%, rgba(181, 98, 66, 0.2) 0%, rgba(181, 98, 66, 0) 70%),
        radial-gradient(circle 340px at 82% 78%, rgba(212, 155, 91, 0.22) 0%, rgba(212, 155, 91, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

html[data-theme="dark"] body.osoul-auth-body::after {
    background:
        radial-gradient(circle 420px at 74% 20%, rgba(212, 155, 91, 0.14) 0%, rgba(212, 155, 91, 0) 68%),
        radial-gradient(circle 360px at 22% 82%, rgba(181, 98, 66, 0.18) 0%, rgba(181, 98, 66, 0) 70%),
        radial-gradient(circle 340px at 82% 78%, rgba(240, 201, 141, 0.1) 0%, rgba(240, 201, 141, 0) 70%);
}

body.osoul-auth-body > .container-fluid {
    padding: 0;
    position: relative;
    z-index: 2;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

body.osoul-auth-body > .container-fluid > .wrapper.vh-100,
body.osoul-auth-body .wrapper {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

body.osoul-auth-body .footercontainer,
body.osoul-auth-body footer {
    display: none !important;
}

.osoul-login-wrapper,
.osoul-login-wrapper--signup {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none !important;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: var(--osoul-portal-pad-y) var(--osoul-portal-pad-x);
    display: flex;
    align-items: center;
    justify-content: center;
}

.osoul-login-card {
    position: relative;
    display: grid;
    grid-template-columns: 45% 55%;
    width: var(--osoul-portal-w);
    height: min(810px, calc(100vh - (var(--osoul-portal-pad-y) * 2)));
    height: min(810px, calc(100dvh - (var(--osoul-portal-pad-y) * 2)));
    min-height: 0;
    margin-inline: auto;
    background: rgba(255, 252, 246, 0.64);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 244, 0.34);
    box-shadow:
        0 34px 76px -14px rgba(32, 16, 8, 0.28),
        0 14px 30px -10px rgba(32, 16, 8, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.24) inset;
    opacity: 1;
    transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

html[data-theme="dark"] .osoul-login-card {
    background: rgba(28, 21, 17, 0.66);
    border-color: rgba(255, 239, 218, 0.13);
    box-shadow:
        0 38px 86px -10px rgba(0, 0, 0, 0.74),
        0 16px 34px -8px rgba(0, 0, 0, 0.48),
        0 1px 0 rgba(255, 244, 228, 0.12) inset;
}

.osoul-login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        132deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.06) 22%,
        rgba(255, 255, 255, 0) 46%,
        rgba(255, 255, 255, 0.03) 76%,
        rgba(255, 255, 255, 0.11) 100%
    );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(181, 98, 66, 0.08);
    pointer-events: none;
    z-index: 4;
}

html[data-theme="dark"] .osoul-login-card::before {
    background: linear-gradient(
        132deg,
        rgba(255, 245, 232, 0.09) 0%,
        rgba(255, 245, 232, 0.02) 24%,
        rgba(255, 245, 232, 0) 48%,
        rgba(212, 155, 91, 0.025) 78%,
        rgba(255, 245, 232, 0.05) 100%
    );
    box-shadow:
        inset 0 0 0 1px rgba(255, 240, 220, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.osoul-brand-showcase {
    --spot-x: 50%;
    --spot-y: 44%;
    position: relative;
    height: 100%;
    min-height: 0;
    background: linear-gradient(160deg, rgba(190, 104, 71, 0.93) 0%, rgba(177, 94, 62, 0.95) 55%, rgba(158, 79, 50, 0.97) 100%);
    border-inline-end: 1px solid rgba(255, 248, 238, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 248, 238, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: clamp(20px, 3vh, 36px) clamp(20px, 2.6vw, 40px);
    overflow: hidden;
    isolation: isolate;
}

html[data-theme="dark"] .osoul-brand-showcase {
    background: linear-gradient(160deg, rgba(176, 94, 62, 0.91) 0%, rgba(154, 77, 48, 0.94) 55%, rgba(126, 59, 34, 0.96) 100%);
    border-inline-end-color: rgba(255, 239, 218, 0.14);
}

.osoul-brand-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='68' viewBox='0 0 68 68'%3E%3Cg fill='none' stroke='%23fcf1df' stroke-opacity='0.052' stroke-width='0.9'%3E%3Cpath d='M34 4L43 25L64 34L43 43L34 64L25 43L4 34L25 25Z'/%3E%3Ccircle cx='34' cy='34' r='10'/%3E%3Cpath d='M0 34H4M64 34H68M34 0V4M34 64V68'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 68px 68px;
    pointer-events: none;
    z-index: 1;
}

.osoul-brand-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 320px at var(--spot-x) var(--spot-y),
        rgba(255, 238, 206, 0.14) 0%,
        rgba(255, 238, 206, 0) 72%
    );
    pointer-events: none;
    z-index: 2;
}

.osoul-showcase-frame {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(251, 242, 223, 0.28);
    border-radius: 18px;
    pointer-events: none;
    z-index: 2;
}

.osoul-showcase-frame::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(251, 242, 223, 0.14);
    border-radius: 13px;
}

.osoul-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    color: rgba(251, 242, 223, 0.62);
    z-index: 3;
    pointer-events: none;
}

.osoul-corner--tr { top: 23px; left: 23px; }
.osoul-corner--tl { top: 23px; right: 23px; transform: scaleX(-1); }
.osoul-corner--br { bottom: 23px; left: 23px; transform: scaleY(-1); }
.osoul-corner--bl { bottom: 23px; right: 23px; transform: scale(-1, -1); }

.osoul-showcase-welcome {
    position: relative;
    z-index: 3;
    margin-bottom: 0;
    padding: 4px 18px;
    border-radius: 999px;
    background: rgba(255, 248, 238, 0.11);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 248, 238, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    color: var(--osoul-cream);
    font-family: var(--osoul-font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.osoul-emblem-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(315px, 34vh);
    margin: auto 0;
    aspect-ratio: 802 / 1200;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.osoul-emblem-fallback,
#osoulTreeCanvas {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    user-select: none;
}

.osoul-emblem-fallback {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#osoulTreeCanvas {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.osoul-emblem-stage.is-animated #osoulTreeCanvas {
    opacity: 1;
}

.osoul-emblem-stage.is-fallback .osoul-emblem-fallback {
    opacity: 1;
}

.osoul-showcase-copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 392px;
    margin-top: 0;
    padding: 9px 14px;
    border-radius: 15px;
    background: rgba(255, 248, 238, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 248, 238, 0.26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
}

.osoul-showcase-motto {
    margin: 0;
    color: #fff7e8;
    font-family: var(--osoul-font-serif);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.65;
}

.osoul-showcase-sep {
    display: block;
    width: 52px;
    height: 1px;
    margin: 7px auto;
    background: linear-gradient(90deg, transparent, rgba(240, 201, 141, 0.65), transparent);
}

.osoul-showcase-desc {
    margin: 0;
    color: rgba(251, 242, 223, 0.88);
    font-family: var(--osoul-font-sans);
    font-size: 0.79rem;
    font-weight: 500;
    line-height: 1.65;
}

.osoul-motto-star {
    color: #f0c98d;
    font-size: 0.72rem;
}

.osoul-form-panel {
    padding: clamp(24px, 3.6vh, 42px) clamp(26px, 3.8vw, 52px) clamp(32px, 4.2vh, 52px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
    background-color: rgba(255, 252, 246, 0.68);
    background-image:
        linear-gradient(155deg, rgba(255, 255, 255, 0.76) 0%, rgba(253, 247, 238, 0.6) 54%, rgba(249, 239, 224, 0.68) 100%),
        url('/images/logo/osoul-auth-bg.webp');
    background-size: 100% 100%, cover;
    background-position: center center, center bottom;
    background-repeat: no-repeat, no-repeat;
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    min-width: 0;
    height: 100%;
    min-height: 0;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    transition: background-color 0.28s ease;
}

html[data-theme="dark"] .osoul-form-panel {
    background-color: rgba(26, 19, 16, 0.7);
    background-image:
        linear-gradient(155deg, rgba(42, 31, 25, 0.76) 0%, rgba(28, 21, 17, 0.62) 54%, rgba(21, 16, 13, 0.72) 100%),
        url('/images/logo/osoul-auth-bg-dark.webp');
    background-size: 100% 100%, cover;
    background-position: center center, center bottom;
    background-repeat: no-repeat, no-repeat;
}

.osoul-form-panel > * {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 448px;
    margin-inline: auto;
    flex-shrink: 0;
}

.osoul-form-panel > :first-child {
    margin-top: auto;
}

.osoul-form-panel > :last-child {
    margin-bottom: auto;
}

.osoul-login-wrapper--signup .osoul-form-panel > * {
    max-width: 506px;
}

.osoul-form-panel > .osoul-top-bar {
    max-width: 516px;
}

[dir="ltr"] .osoul-form-panel {
    text-align: left;
}

@media (min-width: 640px) {
    .osoul-form-panel {
        direction: ltr;
    }

    .osoul-form-panel > * {
        direction: rtl;
    }

    [dir="ltr"] .osoul-form-panel {
        direction: rtl;
    }

    [dir="ltr"] .osoul-form-panel > * {
        direction: ltr;
    }
}

html.osoul-anim-pending .osoul-form-panel .osoul-top-bar,
html.osoul-anim-pending .osoul-form-panel > .osoul-stagger-2,
html.osoul-anim-pending .osoul-form-panel .osoul-mode-tabs,
html.osoul-anim-pending .osoul-form-panel .osoul-verify-card,
html.osoul-anim-pending .osoul-form-panel .osoul-field-group,
html.osoul-anim-pending .osoul-form-panel .osoul-pw-security-box,
html.osoul-anim-pending .osoul-form-panel .osoul-submit-btn,
html.osoul-anim-pending .osoul-form-panel > .osoul-stagger-4,
html.osoul-anim-pending .osoul-form-panel .osoul-card-footer {
    opacity: 0;
    transform: translateY(28px);
}

.osoul-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.osoul-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--osoul-olive-soft);
    color: var(--osoul-badge-text);
    border: 1px solid var(--osoul-badge-border);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 0;
}

.osoul-badge-leaf {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--osoul-terracotta);
    filter: drop-shadow(0 1px 2px rgba(182, 98, 66, 0.22));
    transform-origin: bottom center;
    animation: osoulBadgeLeafSway 3.6s ease-in-out infinite;
}

@keyframes osoulBadgeLeafSway {
    0%, 100% { transform: rotate(-6deg); }
    50% { transform: rotate(8deg); }
}

.osoul-mini-mark {
    height: 34px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    flex-shrink: 0;
}

.osoul-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.osoul-theme-btn,
.osoul-lang-btn {
    height: 33px;
    border-radius: 999px;
    border: 1px solid var(--osoul-pill-border);
    background: var(--osoul-pill-bg);
    color: var(--osoul-pill-text);
    font-family: var(--osoul-font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.16s ease;
}

.osoul-theme-btn {
    width: 33px;
    padding: 0;
}

.osoul-lang-btn {
    padding: 0 11px;
}

.osoul-lang-dropdown {
    position: relative;
}

.osoul-lang-caret {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

.osoul-lang-dropdown.is-open .osoul-lang-caret {
    transform: rotate(180deg);
}

.osoul-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    min-width: 145px;
    padding: 6px;
    border-radius: 13px;
    background: var(--osoul-surface);
    border: 1px solid var(--osoul-border);
    box-shadow: 0 14px 32px rgba(24, 28, 34, 0.14);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

html[data-theme="dark"] .osoul-lang-menu {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.48);
}

.osoul-lang-dropdown.is-open .osoul-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.osoul-lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 11px;
    border-radius: 9px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--osoul-ink);
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.osoul-lang-option:hover {
    background: var(--osoul-pill-bg);
    color: var(--osoul-terracotta);
    text-decoration: none;
}

.osoul-lang-option.is-active {
    background: var(--osoul-olive-soft);
    color: var(--osoul-terracotta);
}

.osoul-theme-btn:hover,
.osoul-lang-btn:hover {
    border-color: var(--osoul-gold);
    color: var(--osoul-terracotta);
    transform: translateY(-1px);
    text-decoration: none;
}

.osoul-theme-btn svg,
.osoul-lang-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.osoul-icon-sun {
    display: none;
}

.osoul-icon-moon {
    display: block;
}

html[data-theme="dark"] .osoul-icon-sun {
    display: block;
    color: #f3c178;
}

html[data-theme="dark"] .osoul-icon-moon {
    display: none;
}

.osoul-form-title {
    font-size: 1.82rem;
    font-weight: 800;
    color: var(--osoul-ink);
    margin-bottom: 6px;
    line-height: 1.28;
}

.osoul-form-subtitle {
    font-size: 0.93rem;
    color: var(--osoul-muted);
    margin-bottom: 22px;
    line-height: 1.62;
}

.osoul-field-group {
    margin-bottom: 18px;
}

.osoul-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.osoul-label {
    font-size: 0.89rem;
    font-weight: 700;
    color: var(--osoul-ink);
    margin: 0;
    transition: color 0.2s ease;
}

.osoul-field-group:focus-within .osoul-label {
    color: var(--osoul-terracotta);
}

.osoul-forgot-link {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--osoul-terracotta);
    text-decoration: none;
    transition: color 0.18s ease;
}

html[data-theme="dark"] .osoul-forgot-link {
    color: #e49a76;
}

.osoul-forgot-link:hover {
    color: var(--osoul-terracotta-deep);
    text-decoration: underline;
}

html[data-theme="dark"] .osoul-forgot-link:hover {
    color: #f3b899;
}

.osoul-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.osoul-input-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 12px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--osoul-gold), var(--osoul-terracotta), var(--osoul-olive));
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

[dir="ltr"] .osoul-input-wrap::after {
    transform-origin: left center;
}

.osoul-input-wrap:focus-within::after {
    transform: scaleX(1);
}

.osoul-input-icon {
    position: absolute;
    right: 14px;
    color: var(--osoul-input-icon);
    font-size: 1.02rem;
    pointer-events: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

[dir="ltr"] .osoul-input-icon {
    right: auto;
    left: 14px;
}

.osoul-input-wrap:focus-within .osoul-input-icon {
    color: var(--osoul-terracotta);
    transform: scale(1.08);
}

.osoul-input {
    width: 100%;
    height: 50px;
    padding: 10px 44px;
    border-radius: 13px;
    border: 1.5px solid rgba(181, 98, 66, 0.22);
    background-color: rgba(255, 255, 255, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 2px 6px rgba(45, 36, 31, 0.035);
    color: var(--osoul-ink);
    font-size: 16px;
    font-family: var(--osoul-font-sans);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

html[data-theme="dark"] .osoul-input {
    border-color: rgba(212, 155, 91, 0.22);
    background-color: rgba(18, 13, 11, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 244, 228, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.24);
}

.osoul-input:hover:not(:focus):not(.is-invalid) {
    border-color: rgba(181, 98, 66, 0.44);
}

html[data-theme="dark"] .osoul-input:hover:not(:focus):not(.is-invalid) {
    border-color: rgba(212, 155, 91, 0.42);
}

.osoul-input::placeholder {
    color: var(--osoul-input-placeholder);
}

.osoul-input:-webkit-autofill,
.osoul-input:-webkit-autofill:hover,
.osoul-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--osoul-ink);
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    transition: background-color 9999s ease-out 0s;
}

html[data-theme="dark"] .osoul-input:-webkit-autofill,
html[data-theme="dark"] .osoul-input:-webkit-autofill:hover,
html[data-theme="dark"] .osoul-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--osoul-ink);
    -webkit-box-shadow: 0 0 0 1000px #16110e inset;
}

.osoul-input-ltr {
    direction: ltr;
    text-align: right;
}

[dir="ltr"] .osoul-input-ltr {
    text-align: left;
}

.osoul-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: rgba(181, 98, 66, 0.72);
    box-shadow: 0 6px 16px rgba(181, 98, 66, 0.10), 0 0 0 3.5px rgba(181, 98, 66, 0.14);
}

html[data-theme="dark"] .osoul-input:focus {
    background-color: #16110e;
    border-color: rgba(212, 155, 91, 0.62);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34), 0 0 0 3.5px rgba(212, 155, 91, 0.16);
}

.osoul-input.is-invalid {
    border-color: #dc3545;
    background-color: #fffafa;
}

html[data-theme="dark"] .osoul-input.is-invalid {
    border-color: #e05260;
    background-color: #271517;
}

.osoul-field-error {
    display: none;
    margin-top: 6px;
    font-size: 0.83rem;
    font-weight: 700;
    color: #c93442;
    align-items: center;
    gap: 5px;
}

html[data-theme="dark"] .osoul-field-error {
    color: #f47682;
}

.osoul-field-error.is-visible {
    display: flex;
}

.osoul-pw-toggle {
    position: absolute;
    left: 6px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    color: var(--osoul-input-icon);
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

[dir="ltr"] .osoul-pw-toggle {
    left: auto;
    right: 6px;
}

.osoul-pw-toggle:hover {
    color: var(--osoul-terracotta);
    background-color: rgba(181, 98, 66, 0.10);
}

.osoul-submit-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    border: none;
    border-radius: 13px;
    background: linear-gradient(135deg, #c06948 0%, var(--osoul-terracotta-dark) 100%);
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    font-family: var(--osoul-font-sans);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 22px rgba(181, 98, 66, 0.25);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.osoul-submit-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -105%;
    width: 62%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 250, 240, 0.36) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-22deg);
    pointer-events: none;
}

.osoul-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(181, 98, 66, 0.34);
    filter: brightness(1.03);
    color: #ffffff;
}

.osoul-submit-btn:hover::after {
    left: 145%;
    transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.osoul-submit-btn:active {
    transform: translateY(0);
}

.osoul-submit-btn .osoul-arrow,
.osoul-submit-btn .osoul-btn-icon-start {
    transition: transform 0.2s ease;
}

.osoul-submit-btn:hover .osoul-arrow {
    transform: translateX(-4px);
}

[dir="ltr"] .osoul-submit-btn:hover .osoul-arrow {
    transform: translateX(4px);
}

.osoul-submit-btn:hover .osoul-btn-icon-start {
    transform: scale(1.1);
}

.osoul-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 248, 235, 0.38);
    pointer-events: none;
    animation: osoulRippleAnim 0.6s ease-out forwards;
}

@keyframes osoulRippleAnim {
    to {
        transform: scale(3.5);
        opacity: 0;
    }
}

.osoul-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: osoulSpin 0.7s linear infinite;
}

.osoul-submit-btn.is-loading .osoul-spinner {
    display: inline-block;
}

.osoul-submit-btn.is-loading .osoul-arrow,
.osoul-submit-btn.is-loading .osoul-btn-icon-start {
    display: none;
}

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

.osoul-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 14px;
    color: var(--osoul-divider-text);
    font-size: 0.82rem;
    font-weight: 500;
}

.osoul-divider::before,
.osoul-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--osoul-border), transparent);
}

.osoul-sprout-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.osoul-verify-card {
    padding: 18px 18px 16px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--osoul-pw-box-bg);
    border: 1.5px solid var(--osoul-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.osoul-verify-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.osoul-verify-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--osoul-pill-bg);
    border: 1px solid var(--osoul-pill-border);
    color: var(--osoul-terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.osoul-verify-icon svg {
    width: 22px;
    height: 22px;
}

.osoul-verify-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.osoul-verify-sent-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--osoul-ink-soft);
}

.osoul-verify-email {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--osoul-ink);
    direction: ltr;
    text-align: right;
    overflow-wrap: anywhere;
}

[dir="ltr"] .osoul-verify-email {
    text-align: left;
}

.osoul-verify-hint {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--osoul-ink-soft);
}

.osoul-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--osoul-pill-bg);
    border: 1px solid var(--osoul-pill-border);
    color: var(--osoul-terracotta);
    font-size: 0.77rem;
    font-weight: 800;
}

.osoul-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--osoul-gold);
    box-shadow: 0 0 0 3px rgba(212, 155, 91, 0.24);
    animation: osoulPulseDot 2s ease-in-out infinite;
}

@keyframes osoulPulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}

.osoul-mode-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--osoul-surface-elevated);
    border: 1.5px solid var(--osoul-border);
}

.osoul-mode-tab {
    border: none;
    border-radius: 10px;
    min-height: 42px;
    padding: 8px 10px;
    background: transparent;
    color: var(--osoul-muted);
    font-family: var(--osoul-font-sans);
    font-size: 0.87rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.osoul-mode-tab:hover {
    color: var(--osoul-ink);
}

.osoul-mode-tab.is-active {
    background: linear-gradient(135deg, #c06948 0%, var(--osoul-terracotta-dark) 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(181, 98, 66, 0.26);
}

.osoul-tab-pane {
    display: none;
}

.osoul-tab-pane.is-active {
    display: block;
    animation: osoulPaneIn 0.24s ease;
}

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

.osoul-field-hint {
    margin-top: 5px;
    font-size: 0.76rem;
    color: var(--osoul-muted);
    line-height: 1.45;
}

.osoul-select {
    appearance: none;
    -webkit-appearance: none;
    padding-inline-start: 42px;
    padding-inline-end: 38px;
    cursor: pointer;
}

.osoul-select-caret {
    position: absolute;
    left: 14px;
    color: var(--osoul-input-icon);
    font-size: 0.95rem;
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

[dir="ltr"] .osoul-select-caret {
    left: auto;
    right: 14px;
}

.osoul-sr-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.osoul-combo {
    position: relative;
    width: 100%;
}

.osoul-combo-trigger {
    width: 100%;
    text-align: start;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding-inline-start: 44px;
    padding-inline-end: 38px;
}

.osoul-combo-trigger.is-placeholder {
    color: var(--osoul-input-placeholder);
}

.osoul-combo.is-open .osoul-combo-trigger {
    background-color: var(--osoul-input-focus-bg);
    border-color: rgba(181, 98, 66, 0.72);
    box-shadow: 0 4px 14px rgba(181, 98, 66, 0.08), 0 0 0 4px rgba(181, 98, 66, 0.12);
}

.osoul-combo.is-open .osoul-select-caret {
    transform: rotate(180deg);
    color: var(--osoul-terracotta);
}

.osoul-combo-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border-radius: 14px;
    background: var(--osoul-surface);
    border: 1.5px solid var(--osoul-border);
    box-shadow: 0 18px 38px rgba(24, 28, 34, 0.16);
    z-index: 40;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

html[data-theme="dark"] .osoul-combo-panel {
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
}

.osoul-combo.is-open .osoul-combo-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.osoul-combo-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.osoul-combo-search-icon {
    position: absolute;
    right: 11px;
    color: var(--osoul-input-icon);
    font-size: 0.9rem;
    pointer-events: none;
}

[dir="ltr"] .osoul-combo-search-icon {
    right: auto;
    left: 11px;
}

.osoul-combo-search {
    width: 100%;
    height: 38px;
    padding: 6px 34px 6px 12px;
    border-radius: 10px;
    border: 1px solid var(--osoul-border);
    background: var(--osoul-input-bg);
    color: var(--osoul-ink);
    font-family: var(--osoul-font-sans);
    font-size: 15px;
    transition: border-color 0.18s ease;
}

[dir="ltr"] .osoul-combo-search {
    padding: 6px 12px 6px 34px;
}

.osoul-combo-search:focus {
    outline: none;
    border-color: var(--osoul-terracotta);
}

.osoul-combo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 195px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.osoul-combo-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 11px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--osoul-ink);
    cursor: pointer;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.osoul-combo-option:hover,
.osoul-combo-option.is-focused {
    background: var(--osoul-pill-bg);
    color: var(--osoul-terracotta);
}

.osoul-combo-option.is-selected {
    background: var(--osoul-olive-soft);
    color: var(--osoul-terracotta);
}

.osoul-combo-option-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.osoul-combo-code {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--osoul-surface-elevated);
    border: 1px solid var(--osoul-border);
    color: var(--osoul-muted);
    direction: ltr;
}

.osoul-combo-check {
    opacity: 0;
    font-size: 0.88rem;
    color: var(--osoul-terracotta);
}

.osoul-combo-option.is-selected .osoul-combo-check {
    opacity: 1;
}

.osoul-combo-empty {
    display: none;
    padding: 14px 10px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--osoul-muted);
}

.osoul-combo-empty.is-visible {
    display: block;
}

.osoul-textarea {
    height: auto;
    min-height: 98px;
    padding: 12px 15px;
    line-height: 1.65;
    resize: vertical;
}

.osoul-upload-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 13px;
    border: 1.5px dashed var(--osoul-border);
    background: var(--osoul-input-bg);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.osoul-upload-box:hover {
    border-color: var(--osoul-gold);
    background: var(--osoul-surface-elevated);
}

.osoul-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.osoul-upload-preview {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--osoul-pill-bg);
    border: 1px solid var(--osoul-pill-border);
    color: var(--osoul-terracotta);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.osoul-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.osoul-upload-box.has-file .osoul-upload-preview img {
    display: block;
}

.osoul-checked-time {
    font-weight: 700;
    white-space: nowrap;
}

.osoul-upload-box.has-file .osoul-upload-preview .fe {
    display: none;
}

.osoul-upload-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.osoul-upload-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--osoul-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.osoul-upload-sub {
    font-size: 0.74rem;
    color: var(--osoul-muted);
}

.osoul-signup-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 46px;
    border-radius: 13px;
    border: 1.5px solid var(--osoul-secondary-border);
    background: var(--osoul-secondary-bg);
    color: var(--osoul-secondary-text);
    font-size: 0.93rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.osoul-signup-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -105%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(212, 155, 91, 0) 0%,
        rgba(212, 155, 91, 0.26) 50%,
        rgba(212, 155, 91, 0) 100%
    );
    transform: skewX(-22deg);
    pointer-events: none;
}

.osoul-signup-btn:hover {
    background: var(--osoul-secondary-hover-bg);
    border-color: var(--osoul-gold);
    color: var(--osoul-secondary-text);
    transform: translateY(-1px);
    text-decoration: none;
}

.osoul-signup-btn:hover::after {
    left: 145%;
    transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.osoul-card-footer {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px dashed var(--osoul-footer-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--osoul-footer-text);
}

.osoul-contact-links {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    direction: ltr;
    white-space: nowrap;
    flex-shrink: 0;
}

.osoul-contact-links a {
    color: var(--osoul-footer-link);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: color 0.18s ease;
}

.osoul-contact-links a:hover {
    color: var(--osoul-terracotta);
}

.osoul-phone-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.85;
}

.osoul-alert-box .row {
    margin-right: 0;
    margin-left: 0;
    width: 100%;
}

.osoul-alert-box .alert {
    width: 100%;
    border-radius: 13px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.55;
    padding: 12px 15px;
    margin-bottom: 16px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.osoul-alert-box .alert-success {
    background-color: #f2f6ee;
    border: 1px solid rgba(122, 125, 82, 0.34);
    color: #3f5228;
}

.osoul-alert-box .alert-danger {
    background-color: #fff6f6;
    border: 1px solid rgba(201, 52, 66, 0.25);
    color: #b4232c;
}

.osoul-alert-box .alert-info {
    background-color: #fdf8f0;
    border: 1px solid rgba(212, 155, 91, 0.35);
    color: #7d4c29;
}

html[data-theme="dark"] .osoul-alert-box .alert-success {
    background-color: rgba(45, 110, 68, 0.18);
    border-color: rgba(74, 179, 112, 0.34);
    color: #9ce6b6;
}

html[data-theme="dark"] .osoul-alert-box .alert-danger {
    background-color: rgba(180, 35, 44, 0.18);
    border-color: rgba(244, 118, 130, 0.32);
    color: #fca5ae;
}

html[data-theme="dark"] .osoul-alert-box .alert-info {
    background-color: rgba(212, 155, 91, 0.14);
    border-color: rgba(212, 155, 91, 0.32);
    color: #f2cfa4;
}

body.osoul-auth-body input::-webkit-outer-spin-button,
body.osoul-auth-body input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.osoul-auth-body input[type=number] {
    -moz-appearance: textfield;
}

.osoul-login-wrapper--signup {
    max-width: 980px;
}

.osoul-form-panel--signup {
    padding: 26px clamp(24px, 3.2vw, 40px) 24px;
}

.osoul-form-panel--signup .osoul-form-subtitle {
    margin-bottom: 18px;
}

.osoul-form-panel--signup .osoul-field-group {
    margin-bottom: 13px;
}

.osoul-form-panel--signup .osoul-input {
    height: 46px;
}

.osoul-form-panel--signup .osoul-divider {
    margin: 15px 0 11px;
}

.osoul-form-panel--signup .osoul-card-footer {
    margin-top: 16px;
    padding-top: 12px;
}

.osoul-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.osoul-pw-security-box {
    background: var(--osoul-surface-elevated);
    border: 1.5px solid var(--osoul-border);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 2px 0 12px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.osoul-pw-security-box.is-all-met {
    background: #f5fbf7;
    border-color: rgba(29, 138, 78, 0.35);
}

html[data-theme="dark"] .osoul-pw-security-box.is-all-met {
    background: rgba(29, 138, 78, 0.11);
    border-color: rgba(68, 196, 124, 0.38);
}

.osoul-pw-security-box.is-invalid-shake {
    border-color: rgba(220, 53, 69, 0.65);
    background: #fff8f8;
    animation: osoulBoxShake 0.38s ease;
}

html[data-theme="dark"] .osoul-pw-security-box.is-invalid-shake {
    border-color: rgba(244, 118, 130, 0.55);
    background: rgba(180, 35, 44, 0.14);
}

@keyframes osoulBoxShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(5px); }
    50% { transform: translateX(-5px); }
    75% { transform: translateX(3px); }
}

.osoul-pw-strength-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.osoul-pw-strength-label {
    font-size: 0.81rem;
    font-weight: 700;
    color: var(--osoul-ink);
}

.osoul-pw-strength-badge {
    font-size: 0.74rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--osoul-pill-bg);
    color: var(--osoul-muted);
    transition: background-color 0.22s ease, color 0.22s ease;
}

.osoul-pw-strength-badge[data-level="weak"] {
    background: #fde8ea;
    color: #c92a37;
}

.osoul-pw-strength-badge[data-level="medium"] {
    background: #fef3dc;
    color: #a66914;
}

.osoul-pw-strength-badge[data-level="strong"] {
    background: #e3f5eb;
    color: #197a44;
}

html[data-theme="dark"] .osoul-pw-strength-badge[data-level="weak"] {
    background: rgba(220, 53, 69, 0.22);
    color: #fca5ae;
}

html[data-theme="dark"] .osoul-pw-strength-badge[data-level="medium"] {
    background: rgba(224, 139, 38, 0.22);
    color: #f8ce8b;
}

html[data-theme="dark"] .osoul-pw-strength-badge[data-level="strong"] {
    background: rgba(29, 138, 78, 0.24);
    color: #8ce5b1;
}

.osoul-pw-meter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.osoul-pw-meter-seg {
    height: 5px;
    border-radius: 999px;
    background: var(--osoul-border);
    transition: background-color 0.25s ease;
}

.osoul-pw-meter[data-score="1"] .osoul-pw-meter-seg:nth-child(1) {
    background: #dc3545;
}

.osoul-pw-meter[data-score="2"] .osoul-pw-meter-seg:nth-child(-n+2) {
    background: #e08b26;
}

.osoul-pw-meter[data-score="3"] .osoul-pw-meter-seg:nth-child(-n+3) {
    background: #98a148;
}

.osoul-pw-meter[data-score="4"] .osoul-pw-meter-seg {
    background: #1d8a4e;
}

.osoul-pw-criteria-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
}

.osoul-pw-criterion {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #b02a37;
    line-height: 1.35;
    transition: color 0.22s ease;
}

html[data-theme="dark"] .osoul-pw-criterion {
    color: #f27c87;
}

.osoul-pw-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.osoul-pw-dot svg {
    width: 9px;
    height: 9px;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.2s ease, transform 0.24s ease;
}

.osoul-pw-criterion.is-met {
    color: #197341;
}

html[data-theme="dark"] .osoul-pw-criterion.is-met {
    color: #6de09d;
}

.osoul-pw-criterion.is-met .osoul-pw-dot {
    background-color: #1d8a4e;
    box-shadow: 0 0 0 3px rgba(29, 138, 78, 0.18);
    transform: scale(1.06);
}

.osoul-pw-criterion.is-met .osoul-pw-dot svg {
    opacity: 1;
    transform: scale(1);
}

.osoul-pw-leaf {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #dc3545;
    transform-origin: bottom center;
    transform: rotate(-8deg);
    transition: color 0.24s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.24s ease;
}

html[data-theme="dark"] .osoul-pw-leaf {
    color: #f27c87;
}

.osoul-pw-criterion.is-met .osoul-pw-leaf {
    color: #1d8a4e;
    transform: rotate(4deg) scale(1.1);
    filter: drop-shadow(0 1px 2px rgba(29, 138, 78, 0.24));
}

html[data-theme="dark"] .osoul-pw-criterion.is-met .osoul-pw-leaf {
    color: #4bd184;
}

@media (min-width: 640px) and (max-width: 1279.98px) {
    .osoul-form-panel {
        padding-bottom: 64px;
    }
}

@media (min-width: 640px) and (max-width: 991.98px) {
    body.osoul-auth-body {
        --osoul-portal-pad-x: 16px;
        --osoul-portal-pad-y: 16px;
    }

    .osoul-login-wrapper {
        max-width: none !important;
    }

    .osoul-login-card {
        grid-template-columns: 45% 55%;
        border-radius: 22px;
    }

    .osoul-brand-showcase {
        padding: 20px 15px 18px;
    }

    .osoul-showcase-frame {
        inset: 12px;
        border-radius: 15px;
    }

    .osoul-showcase-welcome {
        font-size: 0.85rem;
        padding: 4px 13px;
    }

    .osoul-emblem-stage {
        max-width: min(244px, 31vh);
    }

    .osoul-showcase-copy {
        padding: 8px 11px;
    }

    .osoul-showcase-motto {
        font-size: 0.87rem;
    }

    .osoul-showcase-desc {
        font-size: 0.74rem;
    }

    .osoul-form-panel {
        padding: 26px 22px 68px;
    }

    .osoul-form-title {
        font-size: 1.58rem;
    }
}

@media (max-width: 991.98px) {
    .osoul-form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .osoul-form-panel--signup {
        padding: 26px 22px 68px;
    }
}

@media (max-width: 639.98px) {
    html:has(body.osoul-auth-body),
    body.osoul-auth-body {
        height: auto !important;
        min-height: 100dvh;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body.osoul-auth-body::before {
        inset: 0 0 auto 0;
        width: 100%;
        height: 210px;
        border-inline-end: none;
        border-bottom: 1px solid rgba(255, 248, 238, 0.16);
    }

    body.osoul-auth-body > .container-fluid,
    body.osoul-auth-body > .container-fluid > .wrapper.vh-100,
    body.osoul-auth-body .wrapper {
        height: auto !important;
        overflow: visible !important;
        align-items: stretch;
        padding: 0 !important;
    }

    .osoul-login-wrapper,
    .osoul-login-wrapper--signup {
        height: auto !important;
        overflow: visible !important;
        align-items: stretch;
        padding: 12px 12px 84px !important;
    }

    .osoul-login-card {
        grid-template-columns: 1fr;
        width: 100%;
        height: auto !important;
        overflow: hidden !important;
        border-radius: 22px;
    }

    .osoul-brand-showcase {
        position: relative;
        height: auto !important;
        min-height: 0;
        border-inline-end: none;
        border-bottom: 1px solid rgba(255, 248, 238, 0.24);
        padding: 22px 16px 20px;
    }

    html[data-theme="dark"] .osoul-brand-showcase {
        border-bottom-color: rgba(255, 239, 218, 0.14);
    }

    .osoul-showcase-frame {
        inset: 10px;
        border-radius: 14px;
    }

    .osoul-corner {
        width: 18px;
        height: 18px;
    }

    .osoul-corner--tr { top: 15px; left: 15px; }
    .osoul-corner--tl { top: 15px; right: 15px; }
    .osoul-corner--br { bottom: 15px; left: 15px; }
    .osoul-corner--bl { bottom: 15px; right: 15px; }

    .osoul-showcase-welcome {
        font-size: 0.84rem;
        padding: 3px 12px;
    }

    .osoul-emblem-stage {
        max-width: 196px;
    }

    .osoul-showcase-copy {
        margin-top: 0;
        padding: 9px 12px;
    }

    .osoul-showcase-motto {
        font-size: 0.86rem;
    }

    .osoul-showcase-desc {
        font-size: 0.74rem;
    }

    .osoul-top-bar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .osoul-badge {
        font-size: 0.73rem;
        padding: 4px 10px;
    }

    .osoul-form-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .osoul-form-subtitle {
        font-size: 0.88rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .osoul-form-panel {
        height: auto !important;
        min-height: 0;
        overflow: visible !important;
        padding: 24px 18px 26px;
    }

    .osoul-form-panel > :first-child {
        margin-top: 0;
    }

    .osoul-form-panel > :last-child {
        margin-bottom: 0;
    }

    .osoul-form-panel--signup {
        padding: 24px 16px 26px;
    }

    .osoul-pw-security-box {
        padding: 11px 12px;
    }

    .osoul-card-footer {
        font-size: 0.69rem;
        gap: 6px;
    }
}

@media (max-width: 439.98px) {
    .osoul-pw-criteria-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .osoul-emblem-stage {
        max-width: 170px;
    }

    .osoul-form-panel {
        padding: 20px 14px 22px;
    }

    .osoul-label-row {
        flex-wrap: wrap;
    }
}

@media (max-height: 540px) and (orientation: landscape) {
    html:has(body.osoul-auth-body),
    body.osoul-auth-body {
        height: auto !important;
        min-height: 100dvh;
        overflow-y: auto !important;
    }

    body.osoul-auth-body > .container-fluid,
    body.osoul-auth-body > .container-fluid > .wrapper.vh-100,
    body.osoul-auth-body .wrapper,
    .osoul-login-wrapper,
    .osoul-login-wrapper--signup {
        height: auto !important;
        overflow: visible !important;
        align-items: flex-start;
        padding: 12px 16px 76px !important;
    }

    .osoul-login-card {
        height: auto !important;
        border-radius: 20px;
    }

    .osoul-brand-showcase {
        height: auto !important;
        padding: 18px;
    }

    .osoul-emblem-stage {
        max-width: 164px;
    }

    .osoul-form-panel {
        height: auto !important;
        overflow: visible !important;
        padding: 22px 24px;
    }
}

.osoul-invite-banner {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(181, 98, 66, 0.10) 0%, rgba(212, 155, 91, 0.14) 100%);
    border: 1px solid rgba(181, 98, 66, 0.28);
}

html[data-theme="dark"] .osoul-invite-banner {
    background: linear-gradient(135deg, rgba(212, 155, 91, 0.12) 0%, rgba(181, 98, 66, 0.14) 100%);
    border-color: rgba(212, 155, 91, 0.30);
}

.osoul-invite-banner-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #fffaf2;
    border: 1px solid rgba(181, 98, 66, 0.24);
    padding: 2px;
}

html[data-theme="dark"] .osoul-invite-banner-logo {
    background: #241b17;
    border-color: rgba(212, 155, 91, 0.32);
}

.osoul-invite-banner-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.osoul-invite-banner-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(181, 98, 66, 0.16);
    color: #974c30;
}

html[data-theme="dark"] .osoul-invite-banner-badge {
    background: rgba(212, 155, 91, 0.20);
    color: #f0c27d;
}

.osoul-invite-banner-copy strong {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--osoul-ink);
    line-height: 1.4;
}

.osoul-invite-banner-copy small {
    font-size: 0.80rem;
    color: var(--osoul-muted, #6f5f55);
    line-height: 1.45;
}

html[data-theme="dark"] .osoul-invite-banner-copy small {
    color: #cbbba9;
}
