    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
        display: flex; align-items: center; justify-content: center;
        min-height: 100vh; padding: 20px;
    }

    .wrapper {
        display: flex; width: 100%; max-width: 950px;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(24px);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.12);
        border: 0.5px solid rgba(0,0,0,0.08);
        overflow: hidden; min-height: 650px;
    }

    .form-side {
        flex: 2; padding: 48px 52px;
        display: flex; flex-direction: column; justify-content: center;
        background: rgba(255,255,255,0.6);
    }

    .section-label {
        font-size: 10px; font-weight: 700; color: rgba(0,0,0,0.35);
        text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
    }
    .section-title { font-size: 22px; font-weight: 600; color: #111; margin-bottom: 4px; }
    .section-sub   { font-size: 13px; color: #888; margin-bottom: 28px; }

    .form-group { margin-bottom: 14px; }
    .form-group label {
        display: block; font-size: 11px; font-weight: 600; color: #555;
        text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px;
    }

    .pw-wrap {
        position: relative;
    }
    .pw-wrap input {
        padding-right: 42px !important;
    }
    .pw-toggle {
        position: absolute;
        right: 12px; top: 50%; transform: translateY(-50%);
        background: none; border: none; cursor: pointer;
        padding: 0; color: #aaa;
        display: flex; align-items: center; justify-content: center;
        transition: color 0.2s;
    }
    .pw-toggle:hover { color: #111; }
    .pw-toggle svg { width: 18px; height: 18px; pointer-events: none; }

    .form-group input {
        width: 100%; padding: 11px 16px;
        border: 1.5px solid rgba(0,0,0,0.09);
        background: rgba(255,255,255,0.8);
        border-radius: 10px; font-size: 14px;
        font-family: inherit; color: #111;
        transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-group input:focus {
        outline: none; border-color: #111;
        box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
        background: #fff;
    }

    .pw-requirements {
        margin-top: 8px;
        background: rgba(255,255,255,0.7);
        border: 1px solid rgba(0,0,0,0.06);
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 11.5px;
    }
    .pw-requirements ul {
        list-style: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 8px;
    }
    .pw-requirements li {
        color: #888;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s;
    }
    .pw-requirements li.valid {
        color: #16a34a;
        font-weight: 600;
    }
    .pw-requirements li::before {
        content: '○';
        font-size: 12px;
    }
    .pw-requirements li.valid::before {
        content: '✓';
    }

    .btn {
        width: 100%; padding: 13px; border: none; border-radius: 10px;
        font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 6px;
        font-family: inherit; transition: transform 0.15s, background 0.2s;
    }
    .btn-primary { background: #111; color: white; }
    .btn-primary:hover  { background: #2a2a2a; transform: translateY(-1px); }
    .btn-primary:active { transform: translateY(0); }
    .btn-primary:disabled {
        background: #ccc; color: #999; cursor: not-allowed; transform: none;
    }

    .btn-guest {
        display: block; width: 100%; padding: 12px;
        border: 1.5px solid rgba(0,0,0,0.15); border-radius: 10px;
        font-size: 13px; font-weight: 600; font-family: inherit;
        color: #555; background: rgba(255,255,255,0.7);
        text-align: center; text-decoration: none; cursor: pointer;
        transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
        margin-bottom: 18px;
    }
    .btn-guest:hover {
        border-color: #111; background: rgba(255,255,255,0.95);
        color: #111; transform: translateY(-1px);
    }

    .row { display: flex; gap: 10px; }

    .divider {
        display: flex; align-items: center; gap: 12px; margin: 18px 0;
    }
    .divider span { font-size: 11px; color: #bbb; white-space: nowrap; }
    .divider::before, .divider::after {
        content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.08);
    }

    .footer-links { margin-top: 4px; font-size: 12px; text-align: center; color: #888; line-height: 2; }
    .footer-links a { color: #111; font-weight: 600; text-decoration: none; }
    .footer-links a:hover { text-decoration: underline; }

    .success-box {
        background: rgba(34,197,94,0.08);
        border: 1px solid rgba(34,197,94,0.25);
        color: #15803d;
        padding: 10px 14px; border-radius: 10px;
        margin-bottom: 18px; font-size: 12px; font-weight: 600;
        display: flex; align-items: center; gap: 8px;
    }

    .error-box {
        background: rgba(220,38,38,0.08);
        border: 1px solid rgba(220,38,38,0.2);
        color: #b91c1c;
        padding: 10px 14px; border-radius: 10px;
        margin-bottom: 18px; font-size: 12px; font-weight: 600;
    }

    .brand-side {
        flex: 1; display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        background: #111; color: white; text-align: center;
        position: relative; overflow: hidden;
    }
    .brand-side::before {
        content: ''; position: absolute; inset: 0;
        background: repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
            transparent 1px, transparent 20px
        );
    }
    .brand-side::after {
        content: ''; position: absolute;
        width: 220px; height: 220px; border-radius: 50%;
        background: rgba(255,255,255,0.03);
        bottom: -60px; right: -60px;
    }
    .brand-logo {
        font-size: 72px; font-weight: 700; letter-spacing: -3px;
        position: relative; z-index: 1;
        background: linear-gradient(135deg, #fff 60%, rgba(255,255,255,0.45));
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .brand-divider {
        width: 32px; height: 1px;
        background: rgba(255,255,255,0.15);
        margin: 14px auto; position: relative; z-index: 1;
    }
    .brand-name { font-size: 13px; letter-spacing: 3px; color: rgba(255,255,255,0.5); position: relative; z-index: 1; }
    .brand-type { font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,0.25); margin-top: 4px; position: relative; z-index: 1; }

    .hidden { display: none; }

    body { padding: 0; align-items: stretch; justify-content: stretch; }
    .wrapper {
        max-width: none; min-height: 100vh; min-height: 100dvh;
        border-radius: 0; box-shadow: none; border: none;
        background: transparent; backdrop-filter: none;
    }
    .form-side { padding: 48px 7vw; }
    .form-side > * { width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; }

    @media (max-width: 768px) {
        .wrapper { flex-direction: column-reverse; }
        .brand-side { flex: 0 0 auto; padding: 28px 16px; font-size: 44px; }
        .brand-side .brand-logo { font-size: 44px; }
        .form-side { flex: 1; padding: 32px 22px 40px; justify-content: flex-start; }
    }
    .req { color: #dc2626; font-weight: 700; margin-left: 2px; }
    .req-note { font-size: 11px; color: #888; margin: -18px 0 20px; }
    .req-note .req { margin-left: 0; }
    .brand-side {
        background:
            radial-gradient(60% 45% at 20% 15%, rgba(37,99,235,0.35) 0%, transparent 70%),
            radial-gradient(55% 45% at 85% 85%, rgba(124,58,237,0.35) 0%, transparent 70%),
            #0b0b0f;
        padding: 40px 24px 0;
        isolation: isolate;
    }
    .brand-side::before { z-index: 0; }
    .brand-side::after { display: none; }

    .bs-glow {
        position: absolute; width: 380px; height: 380px; border-radius: 50%;
        filter: blur(70px); opacity: .55; z-index: 0; pointer-events: none;
    }
    .bs-glow.g1 { background: #2563eb; top: -120px; left: -120px; animation: bsFloat1 12s ease-in-out infinite; }
    .bs-glow.g2 { background: #7c3aed; bottom: -140px; right: -120px; animation: bsFloat2 14s ease-in-out infinite; }
    @keyframes bsFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(70px,90px); } }
    @keyframes bsFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-80px,-70px); } }

    .bs-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
    .bs-particles span {
        position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
        background: rgba(255,255,255,.55); animation: bsRise linear infinite;
    }
    .bs-particles span:nth-child(1) { left: 12%; animation-duration: 9s;  animation-delay: 0s; }
    .bs-particles span:nth-child(2) { left: 28%; animation-duration: 12s; animation-delay: 2s; width: 3px; height: 3px; }
    .bs-particles span:nth-child(3) { left: 46%; animation-duration: 10s; animation-delay: 4s; }
    .bs-particles span:nth-child(4) { left: 63%; animation-duration: 13s; animation-delay: 1s; width: 5px; height: 5px; background: rgba(165,180,252,.6); }
    .bs-particles span:nth-child(5) { left: 78%; animation-duration: 11s; animation-delay: 3s; width: 3px; height: 3px; }
    .bs-particles span:nth-child(6) { left: 90%; animation-duration: 9.5s; animation-delay: 5s; }
    @keyframes bsRise {
        0%   { transform: translateY(0); opacity: 0; }
        10%  { opacity: 1; }
        100% { transform: translateY(-110vh); opacity: 0; }
    }

    .bs-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin: auto 0; }

    .bs-logo-wrap { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-bottom: 26px; }
    .bs-ring {
        position: absolute; inset: 0; border-radius: 50%;
        border: 2px solid rgba(96,165,250,.55);
        animation: bsPulse 3s ease-out infinite;
    }
    .bs-ring:nth-child(2) { animation-delay: 1s; border-color: rgba(167,139,250,.55); }
    .bs-ring:nth-child(3) { animation-delay: 2s; }
    @keyframes bsPulse {
        0%   { transform: scale(.55); opacity: .9; }
        100% { transform: scale(1.45); opacity: 0; }
    }
    .bs-mark {
        position: relative; width: 92px; height: 92px; border-radius: 26px;
        display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding-bottom: 22px;
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
        box-shadow: 0 18px 45px rgba(37,99,235,.5), inset 0 1px 0 rgba(255,255,255,.3);
        animation: bsBob 4s ease-in-out infinite;
    }
    @keyframes bsBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
    .bs-mark i {
        display: block; width: 7px; border-radius: 4px; background: #fff;
        transform-origin: bottom; animation: bsEq 1.1s ease-in-out infinite;
    }
    .bs-mark i:nth-child(1) { height: 18px; animation-delay: -.2s; }
    .bs-mark i:nth-child(2) { height: 40px; animation-delay: -.6s; }
    .bs-mark i:nth-child(3) { height: 28px; animation-delay: -.4s; }
    .bs-mark i:nth-child(4) { height: 46px; animation-delay: -.9s; }
    .bs-mark i:nth-child(5) { height: 22px; animation-delay: -.1s; }
    @keyframes bsEq { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

    .brand-side .brand-logo {
        font-size: 76px; font-weight: 800; letter-spacing: 6px; line-height: 1;
        background: linear-gradient(110deg, #ffffff 0%, #c7d2fe 30%, #ffffff 50%, #a5b4fc 70%, #ffffff 100%);
        background-size: 220% 100%;
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
        animation: bsShine 5s linear infinite;
    }
    @keyframes bsShine { 0% { background-position: 100% 0; } 100% { background-position: -120% 0; } }

    .brand-side .brand-divider {
        width: 70px; height: 2px; margin: 16px auto;
        background: linear-gradient(90deg, transparent, #60a5fa, #a78bfa, transparent);
        animation: bsLine 3s ease-in-out infinite;
    }
    @keyframes bsLine { 0%,100% { width: 40px; opacity: .6; } 50% { width: 110px; opacity: 1; } }

    .brand-side .brand-name { font-size: 15px; font-weight: 700; letter-spacing: 7px; text-transform: uppercase; color: rgba(255,255,255,.85); }
    .brand-side .brand-type { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 8px; }

    .bs-tag {
        margin-top: 26px; display: inline-flex; align-items: center; gap: 8px;
        padding: 8px 16px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 1px;
        color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    }
    .bs-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: bsLive 1.8s ease-out infinite; }
    @keyframes bsLive { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

    .bs-eq {
        position: relative; z-index: 1; width: 100%; height: 110px; margin-top: 30px;
        display: flex; align-items: flex-end; justify-content: center; gap: 4px;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
                mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    }
    .bs-eq span {
        flex: 1; max-width: 9px; height: 100%; border-radius: 4px 4px 0 0;
        background: linear-gradient(180deg, #a78bfa 0%, #60a5fa 55%, rgba(37,99,235,.15) 100%);
        transform-origin: bottom; animation: bsBar 1.2s ease-in-out infinite;
        opacity: .85;
    }
    @keyframes bsBar { 0%,100% { transform: scaleY(.15); } 50% { transform: scaleY(var(--h, .8)); } }

    @media (max-width: 768px) {
        .brand-side { padding: 30px 16px 0; }
        .bs-logo-wrap { width: 110px; height: 110px; margin-bottom: 18px; }
        .bs-mark { width: 70px; height: 70px; border-radius: 20px; padding-bottom: 16px; gap: 4px; }
        .bs-mark i { width: 5px; }
        .brand-side .brand-logo { font-size: 50px; }
        .bs-tag { margin-top: 18px; }
        .bs-eq { height: 70px; margin-top: 22px; }
    }

    @media (prefers-reduced-motion: reduce) {
        .brand-side *, .brand-side *::before { animation: none !important; }
    }
    .form-side {
        position: relative; overflow: hidden;
        background:
            radial-gradient(45% 35% at 10% 10%, rgba(37,99,235,0.10) 0%, transparent 70%),
            radial-gradient(40% 35% at 90% 95%, rgba(124,58,237,0.10) 0%, transparent 70%),
            rgba(255,255,255,0.6);
    }
    #register-form > * { animation: lfUp .6s ease both; }
    #register-form > *:nth-child(2) { animation-delay: .05s; }
    #register-form > *:nth-child(3) { animation-delay: .10s; }
    #register-form > *:nth-child(4) { animation-delay: .15s; }
    #register-form > *:nth-child(5) { animation-delay: .20s; }
    #register-form > *:nth-child(6) { animation-delay: .28s; }
    #register-form > *:nth-child(7) { animation-delay: .34s; }
    #register-form > *:nth-child(8) { animation-delay: .40s; }
    @keyframes lfUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

    .lf-chip {
        display: inline-flex !important; width: auto !important; align-self: flex-start;
        align-items: center; gap: 8px; margin: 0 0 16px !important;
        padding: 6px 14px 6px 10px; border-radius: 999px;
        background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.18);
        color: #1d4ed8; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    }
    .lf-dot {
        width: 8px; height: 8px; border-radius: 50%;
        background: linear-gradient(135deg, #2563eb, #7c3aed);
        box-shadow: 0 0 0 0 rgba(37,99,235,.5); animation: lfPing 1.8s ease-out infinite;
    }
    @keyframes lfPing { to { box-shadow: 0 0 0 8px rgba(37,99,235,0); } }

    .lf-title { font-size: 32px; font-weight: 700; color: #0f172a; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 8px; }
    .lf-title span {
        background: linear-gradient(135deg, #2563eb, #7c3aed);
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .lf-sub { font-size: 14px; color: #64748b; margin-bottom: 26px; }
    #register-form .req-note { margin: -16px 0 22px; }

    .lf-form .form-group { margin-bottom: 18px; }
    .lf-form .form-group label { color: #334155; font-weight: 700; margin-bottom: 8px; }

    .lf-input { position: relative; }
    .lf-input .lf-icon {
        position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
        width: 18px; height: 18px; color: #94a3b8; pointer-events: none; transition: color .2s;
    }
    .lf-input .lf-icon svg { width: 18px; height: 18px; display: block; }
    .lf-form .lf-input input {
        padding: 14px 16px 14px 44px; border-radius: 12px;
        border: 1.5px solid rgba(15,23,42,0.10); background: #fff;
        box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    }
    .lf-form .lf-input.pw-wrap input { padding-right: 44px !important; }
    .lf-form .lf-input input:hover { border-color: rgba(37,99,235,0.35); }
    .lf-form .lf-input input:focus {
        border-color: #2563eb; background: #fff;
        box-shadow: 0 0 0 4px rgba(37,99,235,0.14);
    }
    .lf-input:focus-within .lf-icon { color: #2563eb; }
    .lf-input .pw-toggle { right: 14px; }

    .lf-forgot { text-align: right; margin-top: 8px; }
    .lf-forgot a { font-size: 12px; font-weight: 600; color: #2563eb; text-decoration: none; }
    .lf-forgot a:hover { text-decoration: underline; }

    .lf-btn {
        position: relative; overflow: hidden;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 15px; margin-top: 8px; border-radius: 12px; font-size: 15px;
        background: linear-gradient(135deg, #111827 0%, #1e3a8a 55%, #4c1d95 100%);
        box-shadow: 0 10px 24px rgba(30,58,138,0.30);
    }
    .lf-btn svg { width: 18px; height: 18px; transition: transform .25s; }
    .lf-btn::after {
        content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
        background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
        transform: skewX(-20deg); animation: lfShine 3.2s ease-in-out infinite;
    }
    @keyframes lfShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
    .lf-btn:hover { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #7c3aed 100%); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,0.35); }
    .lf-btn:hover svg { transform: translateX(4px); }

    .lf-divider { margin: 22px 0; }
    .lf-divider span { color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; }

    .lf-guest {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 13px; border-radius: 12px; background: #fff; color: #334155;
        border: 1.5px solid rgba(15,23,42,0.10); margin-bottom: 22px;
    }
    .lf-guest svg { width: 17px; height: 17px; }
    .lf-guest:hover { border-color: #7c3aed; color: #5b21b6; background: #faf5ff; transform: translateY(-1px); }

    .lf-register { text-align: center; font-size: 13px; color: #64748b; }
    .lf-register a {
        font-weight: 700; text-decoration: none;
        background: linear-gradient(135deg, #2563eb, #7c3aed);
        -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    }
    .lf-register a:hover { text-decoration: underline; text-decoration-color: #7c3aed; }

    @media (max-width: 768px) {
        .lf-title { font-size: 26px; }
        .lf-form .lf-input input { font-size: 16px; }
    }
    @media (prefers-reduced-motion: reduce) {
        #register-form > *, .lf-dot, .lf-btn::after { animation: none !important; }
    }

    #register-form .lf-title { margin-bottom: 6px; }
    #register-form .lf-sub { margin-bottom: 22px; }
    #register-form .lf-form .form-group { margin-bottom: 16px; }
    #register-form .row { gap: 12px; }
    #register-form .row > .form-group { min-width: 0; }
    #register-form .form-group label { white-space: nowrap; }
    #register-form input[name="middle_name"] {
        padding: 14px 14px; border-radius: 12px; border: 1.5px solid rgba(15,23,42,0.10);
        background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    }
    #register-form input[name="middle_name"]:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,0.14); }

    #register-form .pw-requirements {
        margin-top: 10px; padding: 12px 14px; border-radius: 12px;
        background: #fff; border: 1px solid rgba(15,23,42,0.08);
    }
    #register-form .pw-requirements li { font-size: 12px; }
    #register-form .pw-requirements li::before {
        content: ''; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
        border: 1.5px solid #cbd5e1; display: inline-block; transition: all .2s;
    }
    #register-form .pw-requirements li.valid { color: #16a34a; }
    #register-form .pw-requirements li.valid::before {
        content: '✓'; border-color: #16a34a; background: #16a34a; color: #fff;
        font-size: 9px; font-weight: 800; display: inline-grid; place-items: center; line-height: 1;
    }
    .lf-match { font-size: 12px; margin-top: 6px; font-weight: 600; min-height: 16px; }

    #register-form .lf-btn { margin-top: 6px; }
    #register-form .lf-btn:disabled {
        background: #cbd5e1; color: #f8fafc; box-shadow: none; transform: none; cursor: not-allowed;
    }
    #register-form .lf-btn:disabled::after { display: none; }
    #register-form .lf-btn:disabled svg { transform: none; }
    #register-form .lf-register { margin-top: 18px; }

    @media (max-width: 480px) {
        #register-form .row { flex-wrap: wrap; }
        #register-form .row > .form-group { flex: 1 1 100% !important; }
    }
    .form-side > * { max-width: 560px; }
    .success-box, .error-box { font-size: 13px; border-radius: 12px; padding: 11px 14px; margin-bottom: 14px; }

    .ca-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px 14px; }
    .ca-grid .form-group { margin: 0 !important; min-width: 0; }
    .ca-fn { grid-column: span 5; }
    .ca-mi { grid-column: span 2; }
    .ca-ln { grid-column: span 5; }
    .ca-half { grid-column: span 6; }
    .ca-full { grid-column: 1 / -1; }
    #register-form .form-group label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; }
    .lf-form .lf-input input { padding-top: 11px; padding-bottom: 11px; }
    .lf-form .lf-input.no-icon input { padding-left: 14px; }
    #register-form .lf-title, #verify-form .lf-title { font-size: 28px; margin-bottom: 4px; }
    #register-form .lf-sub { margin-bottom: 18px; font-size: 13px; }
    #register-form .req-note { margin: -12px 0 16px; }

    #register-form .pw-requirements { margin-top: -2px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
    #register-form .pw-requirements ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
    #register-form .pw-requirements li { font-size: 11.5px; gap: 5px; }
    #register-form .lf-match { margin: 0; min-height: 0; font-size: 11.5px; }
    #register-form .lf-btn { margin-top: 2px; padding: 13px; }
    #register-form .lf-register { margin-top: 14px; }

    #verify-form > * { animation: lfUp .6s ease both; }
    #verify-form > *:nth-child(2) { animation-delay: .05s; }
    #verify-form > *:nth-child(3) { animation-delay: .10s; }
    #verify-form > *:nth-child(4) { animation-delay: .15s; }
    #verify-form > *:nth-child(5) { animation-delay: .20s; }
    #verify-form > *:nth-child(6) { animation-delay: .25s; }
    #verify-form > *:nth-child(7) { animation-delay: .30s; }
    .ca-mail {
        position: relative; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 18px;
        display: grid; place-items: center; color: #fff;
        background: linear-gradient(135deg, #2563eb, #7c3aed);
        box-shadow: 0 12px 28px rgba(37,99,235,.35);
        animation: lfUp .6s ease both, caBob 3s ease-in-out .6s infinite;
    }
    .ca-mail svg { width: 28px; height: 28px; }
    .ca-mail-dot {
        position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%;
        background: #22c55e; border: 3px solid #f1f5f9; animation: lfPing 1.8s ease-out infinite;
    }
    @keyframes caBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
    #verify-form .lf-sub { margin-bottom: 16px; }
    #verify-form .lf-sub b { color: #0f172a; }
    .fp-timer {
        display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
        padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
        background: rgba(220,38,38,0.07); border: 1px solid rgba(220,38,38,0.2); color: #991b1b;
    }
    .fp-timer svg { width: 15px; height: 15px; }
    .fp-timer strong { font-variant-numeric: tabular-nums; }
    .fp-timer.expired { background: #f1f5f9; border-color: #cbd5e1; color: #475569; }
    .lf-form .lf-input input.ca-otp { font-size: 22px; font-weight: 800; letter-spacing: 12px; padding-top: 13px; padding-bottom: 13px; }
    .lf-form .lf-input input.ca-otp::placeholder { letter-spacing: 8px; }
    #verify-form .lf-btn { margin-top: 4px; }
    #verify-form .lf-btn:disabled { background: #cbd5e1; box-shadow: none; transform: none; cursor: not-allowed; }
    #verify-form .lf-btn:disabled::after { display: none; }

    .ca-resend { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 14px; font-size: 13px; color: #64748b; flex-wrap: wrap; }
    .ca-resend button {
        border: none; background: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 700; padding: 0;
        color: #2563eb;
    }
    .ca-resend button:hover:not(:disabled) { text-decoration: underline; }
    .ca-resend button:disabled { color: #94a3b8; cursor: not-allowed; }
    .ca-wait { font-variant-numeric: tabular-nums; color: #94a3b8; font-weight: 600; }
    .ca-change { text-decoration: none; margin-bottom: 0; font-size: 13px; font-weight: 600; }
    #register-form input[name="middle_name"] { padding: 11px 14px; }
    @media (min-width: 769px) and (max-height: 720px) { #register-form input[name="middle_name"] { padding: 9px 14px; } }

    @media (min-width: 769px) {
        html, body { height: 100%; overflow: hidden; }
        .wrapper { height: 100vh; height: 100dvh; min-height: 0; }
        .form-side { padding: 28px 5vw; overflow-y: auto; }
        .brand-side { padding-top: 24px; }
        .bs-eq { height: 90px; }
    }
    @media (min-width: 769px) and (max-height: 720px) {
        .form-side { padding-top: 18px; padding-bottom: 18px; }
        .ca-grid { gap: 9px 12px; }
        #register-form .lf-title, #verify-form .lf-title { font-size: 24px; }
        #register-form .lf-sub { margin-bottom: 12px; }
        .lf-form .lf-input input { padding-top: 9px; padding-bottom: 9px; }
        #register-form .lf-btn { padding: 11px; }
        .bs-logo-wrap { width: 120px; height: 120px; margin-bottom: 18px; }
        .bs-mark { width: 76px; height: 76px; padding-bottom: 18px; }
        .brand-side .brand-logo { font-size: 60px; }
    }
    @media (max-width: 480px) {
        .ca-fn, .ca-ln, .ca-half { grid-column: 1 / -1; }
        .ca-mi { grid-column: 1 / -1; }
    }

    [hidden] { display: none !important; }

    .ca-avatar {
        display: flex; align-items: center; gap: 16px;
        padding: 10px 14px; border-radius: 14px;
        background: #fff; border: 1.5px dashed rgba(37,99,235,0.25);
        transition: border-color .2s, background .2s;
    }
    .ca-avatar.dragover { border-color: #2563eb; background: #eff6ff; }

    .ca-avatar-pic {
        position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
        cursor: pointer; display: grid; place-items: center;
        background: linear-gradient(135deg, #eff6ff, #f5f3ff);
        box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(37,99,235,0.25);
        transition: box-shadow .2s, transform .2s;
    }
    .ca-avatar-pic:hover { transform: scale(1.04); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #7c3aed; }
    .ca-avatar-pic img {
        position: absolute; inset: 0; width: 100%; height: 100%;
        border-radius: 50%; object-fit: cover; display: none;
    }
    .ca-avatar-pic.has-img img { display: block; }
    .ca-avatar-pic.has-img .ca-avatar-ph { display: none; }
    .ca-avatar-ph { color: #a5b4fc; }
    .ca-avatar-ph svg { width: 30px; height: 30px; display: block; }
    .ca-avatar-cam {
        position: absolute; right: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%;
        display: grid; place-items: center; color: #fff;
        background: linear-gradient(135deg, #2563eb, #7c3aed);
        border: 2px solid #fff; box-shadow: 0 4px 10px rgba(37,99,235,.35);
    }
    .ca-avatar-cam svg { width: 12px; height: 12px; }

    .ca-avatar-info { min-width: 0; flex: 1; }
    .ca-avatar-title { font-size: 11px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: 0.8px; }
    .ca-avatar-title .ca-opt { font-weight: 600; color: #94a3b8; text-transform: none; letter-spacing: 0; }
    .ca-avatar-hint {
        font-size: 12px; color: #64748b; margin: 3px 0 7px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .ca-avatar-hint.err { color: #dc2626; font-weight: 600; }
    .ca-avatar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
    .ca-avatar-btn, .ca-avatar-remove {
        font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
        padding: 6px 12px; border-radius: 8px; transition: all .2s;
    }
    .ca-avatar-btn { color: #1d4ed8; background: rgba(37,99,235,0.08); border: 1px solid rgba(37,99,235,0.2); }
    .ca-avatar-btn:hover { background: rgba(37,99,235,0.14); }
    .ca-avatar-remove { color: #b91c1c; background: transparent; border: 1px solid rgba(220,38,38,0.2); }
    .ca-avatar-remove:hover { background: rgba(220,38,38,0.06); }

    .ca-verify-avatar {
        width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin-bottom: 18px;
        box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(124,58,237,0.35), 0 12px 28px rgba(37,99,235,.25);
    }
    .ca-verify-top { display: flex; align-items: center; gap: 14px; }
    .ca-verify-top .ca-mail { margin-bottom: 18px; }

    @media (min-width: 769px) and (max-height: 720px) {
        .ca-avatar { padding: 7px 12px; }
        .ca-avatar-pic { width: 52px; height: 52px; }
        .ca-avatar-hint { margin: 2px 0 5px; }
    }