/**
 * Auth v2 — modified look (not a copy), zero animation
 */

.ua-shell *,
.ua-shell *::before,
.ua-shell *::after {
    animation: none !important;
    transition: none !important;
}

.ua-shell .ua-blob,
.ua-shell [class*="shine"],
.ua-shell .gx-banner__shine {
    display: none !important;
}

/* Compact page shell */
.ua-shell .ua-top {
    padding: 8px 0 !important;
    gap: 8px !important;
}

.ua-shell .ua-grid {
    padding: 4px 0 16px !important;
}

.ua-shell .ua-card {
    margin: 4px auto 12px !important;
    padding: 8px !important;
}

.ua-shell .ua-card-body {
    padding: 10px 8px 8px !important;
}

.ua-shell .na-form {
    gap: 10px !important;
}

.ua-shell .ua-card-benefits,
.ua-shell .ua-footer,
.ua-shell .ua-copyright {
    display: none !important;
}

/* Bottom Login / Already have account — hide (tabs upar hain) */
.ua-shell .pa-divider,
.ua-shell .na-switch,
.ua-login .na-submit--ghost {
    display: none !important;
}

/* Tabs — Create Account first, bigger & clear */
.ua-auth-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 0 14px;
    padding: 5px;
    border-radius: 14px 16px;
    background: #e7effc;
    border: 1px solid #c7dbf8;
}

.ua-auth-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 0.5rem;
    border-radius: 11px 14px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 800;
    color: #5b6f8c;
}

.ua-auth-switch a.is-active {
    color: #fff;
    background: linear-gradient(135deg, #4f8ef7 0%, #6d28d9 100%);
    box-shadow: 0 6px 12px rgba(109, 40, 217, 0.2);
}

/* Heading: banner slot (admin home banner) */
.ua-heading {
    padding: 0 12px 12px !important;
    overflow: hidden !important;
}

.ua-shell .ua-heading h1 {
    font-size: 1.35rem !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

.ua-shell .ua-heading h2 {
    font-size: 0.88rem !important;
    margin: 2px 0 0 !important;
    font-weight: 600 !important;
}

.ua-shell .ua-heading p {
    font-size: 0.72rem !important;
    margin: 2px 0 0 !important;
    opacity: 0.92;
}

.ua-heading-banner {
    position: relative;
    margin: -1px -1px 10px;
    height: 88px;
    overflow: hidden;
    border-radius: 16px 16px 20px 10px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.35), transparent 40%),
        linear-gradient(135deg, #d8b4fe, #7c3aed 55%, #4c1d95);
}

.ua-heading-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ua-heading-banner__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: Inter, Manrope, sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 12px;
}

.ua-heading-banner__fallback small {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    opacity: 0.9;
}

.ua-heading-badge,
.ua-heading > .ua-icon {
    display: none !important;
}

.ua-heading h1 {
    position: relative;
    z-index: 1;
}

/* ── New field boxes (modified shape, compact) ── */
.ua-shell .na-field {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    clip-path: none !important;
}

.ua-shell .na-field > label {
    display: block;
    margin: 0 0 4px 2px !important;
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1e3a5f !important;
}

.ua-shell .na-input {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 50px;
    padding: 0 12px 0 50px !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%) !important;
    border: 1.5px solid #9ec5ff !important;
    border-radius: 14px 7px 14px 7px !important;
    box-shadow:
        0 6px 14px rgba(124, 58, 237, 0.07),
        inset 0 1px 0 #fff !important;
    overflow: hidden;
}

.ua-shell .na-input::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #e879f9, #6d28d9);
}

.ua-shell .na-field:focus-within .na-input {
    border-color: #7c3aed !important;
    box-shadow:
        0 0 0 3px rgba(124, 58, 237, 0.14),
        0 12px 24px rgba(124, 58, 237, 0.1) !important;
}

.ua-shell .na-input-icon {
    position: absolute !important;
    left: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    border: 1px solid #f4e4ff !important;
    border-radius: 10px 5px 10px 5px !important;
    display: grid !important;
    place-items: center !important;
    background:
        radial-gradient(circle at 30% 25%, #ffffff 0%, #fde4f2 55%, #f4e4ff 100%) !important;
    color: #6d28d9 !important;
    box-shadow:
        0 4px 10px rgba(124, 58, 237, 0.16),
        inset 0 1px 0 #fff !important;
    overflow: hidden;
}

.ua-shell .na-input-icon::before { display: none !important; }

.ua-shell .na-input-icon svg,
.ua-shell .na-input-icon .na-ico,
.ua-shell .na-input-icon i {
    display: none !important;
}

.ua-shell .na-input-icon img {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.18));
}

.ua-shell .na-input input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 48px !important;
    padding: 0 8px 0 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #1a1230 !important;
    border-radius: 0 !important;
}

.ua-shell .na-input input::placeholder {
    color: #8aa0bc !important;
    font-weight: 600 !important;
}

.ua-shell .na-hint {
    display: none !important;
}

.ua-shell .na-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    background: #e8f1ff;
    color: #6d28d9;
    display: grid;
    place-items: center;
    cursor: pointer;
}

/* Primary submit — thoda gap fields se */
.ua-shell .na-submit {
    position: relative;
    overflow: hidden;
    border-radius: 12px 6px 12px 6px !important;
    margin: 4px 0 0 !important;
    padding: 0.82rem 0.75rem !important;
    min-height: 48px;
}

.ua-shell .na-submit::after {
    display: none !important;
    content: none !important;
}

.ua-shell .na-submit-icon {
    display: grid !important;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px 4px;
    background: rgba(255, 255, 255, 0.2);
}

.ua-shell .na-submit-icon svg { display: none !important; }
.ua-shell .na-submit-icon i { color: #fff; font-size: 0.9rem; }

.na-submit--ghost {
    background: #fff !important;
    color: #6d28d9 !important;
    border: 2px solid #fb923c !important;
    box-shadow: 0 8px 16px rgba(251, 146, 60, 0.14) !important;
    text-decoration: none;
}

.na-submit--ghost .na-submit-text,
.na-submit--ghost span { color: #6d28d9 !important; }
.na-submit--ghost .na-submit-icon {
    background: linear-gradient(135deg, #fdba74, #ea580c);
}
.na-submit--ghost .na-submit-icon i { color: #fff; }

.ua-top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.na-ref-line {
    margin: 0 0 6px;
    padding: 7px 10px;
    border-radius: 10px 6px;
    background: #fdf4ff;
    border: 1px solid #e9d5ff;
    color: #6d28d9;
    font-weight: 800;
    font-size: 0.75rem;
}

@media (max-width: 420px) {
    .ua-heading-banner { height: 76px; border-radius: 14px 14px 18px 8px; }
    .ua-auth-switch a { font-size: 0.8rem; padding: 0.78rem 0.4rem; }
    .ua-shell .ua-security small { display: none; }
}

/* SX auth — purple card, slanted shapes */
.ua-shell {
    background:
        radial-gradient(ellipse 70% 42% at 100% 0%, rgba(196, 140, 255, 0.28), transparent 58%),
        radial-gradient(ellipse 80% 40% at 0% 100%, rgba(255, 168, 130, 0.32), transparent 60%),
        linear-gradient(180deg, #f7e9ff 0%, #f8e6f4 30%, #fde4ea 64%, #ffd4c4 100%) !important;
    color: #1a1230;
}

.ua-wrap {
    width: min(430px, calc(100% - 20px)) !important;
    padding-bottom: 28px;
}

.sx-brandbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 2px 10px !important;
}

.sx-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #1a1230 !important;
    text-decoration: none;
}

.sx-mark,
.sx-secure {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(160deg, #7c3aed 0%, #5b21b6 60%, #4c1d95 100%);
    box-shadow: 0 8px 16px rgba(91, 33, 182, 0.24);
}

.sx-mark {
    min-width: 46px;
    padding: 0 12px 0 14px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

.sx-name {
    font-size: 0.98rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-secure {
    gap: 6px;
    padding: 0 16px 0 14px;
    font-size: 0.72rem;
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.ua-shell .ua-card {
    background: #fff !important;
    border: 0 !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 40px rgba(120, 50, 140, 0.12) !important;
    padding: 12px !important;
    margin: 6px auto 8px !important;
}

.ua-shell .ua-heading,
.ua-shell .sx-hero {
    background: linear-gradient(165deg, #7c3aed 0%, #6b21a8 42%, #5b1d78 100%) !important;
    border: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 100%, 0 100%);
    box-shadow: none !important;
    text-align: center;
    color: #fff !important;
    padding: 26px 18px 34px !important;
    margin: 0;
}

.ua-shell .ua-heading:before { display: none !important; }

.ua-shell .sx-hero h1,
.ua-shell .ua-heading h1 {
    font-size: 1.55rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
    color: #fff !important;
}

.ua-shell .sx-hero h2,
.ua-shell .ua-heading h2 {
    margin-top: 6px !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.ua-shell .sx-hero p,
.ua-shell .ua-heading p {
    margin-top: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.ua-shell .ua-card-body {
    padding: 14px 6px 8px !important;
}

.ua-auth-switch {
    display: grid !important;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 0 !important;
    align-items: stretch;
    margin: 2px 0 16px !important;
    padding: 0 !important;
    min-height: 52px;
    background: linear-gradient(90deg, #f6f1fa, #f3eef8) !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
    overflow: visible;
}

.ua-auth-switch a {
    border-radius: 0 !important;
    background: transparent !important;
    color: #8d819c !important;
    box-shadow: none !important;
    min-height: 52px;
    padding: 0.8rem 0.4rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
}

.ua-auth-switch a.is-active {
    color: #fff !important;
    background: linear-gradient(110deg, #7c3aed 0%, #5b21b6 100%) !important;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 7% 100%);
    box-shadow: 0 8px 16px rgba(91, 33, 182, 0.22) !important;
    z-index: 1;
}

.ua-login .ua-auth-switch {
    grid-template-columns: 1.05fr 0.95fr;
}

.ua-login .ua-auth-switch a.is-active {
    clip-path: polygon(8% 0, 100% 0, 93% 100%, 0 100%);
}

.ua-shell .na-field > label {
    color: #4a3b5c !important;
    letter-spacing: 0.08em !important;
    font-size: 0.68rem !important;
}

.ua-shell .na-input {
    min-height: 54px !important;
    padding: 0 40px 0 46px !important;
    background: #f7f2f8 !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    box-shadow: none !important;
}

.ua-shell .na-input::before {
    width: 8px !important;
    background: linear-gradient(180deg, #8b5cf6, #5b21b6) !important;
}

.ua-shell .na-field:focus-within .na-input {
    background: #fbf8fc !important;
    box-shadow: 0 0 0 2px rgba(109, 40, 217, 0.18) !important;
}

.ua-shell .na-input-icon {
    left: 16px !important;
    width: 22px !important;
    height: 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5b21b6 !important;
}

.ua-shell .na-input-icon img { display: none !important; }

.ua-shell .na-input-icon i {
    display: block !important;
    color: #5b21b6 !important;
    font-size: 0.95rem;
}

.ua-shell .na-input input {
    color: #1a1230 !important;
    font-weight: 650 !important;
}

.ua-shell .na-input input::placeholder {
    color: #9a8eaa !important;
    font-weight: 600 !important;
}

.ua-shell .na-toggle {
    right: 16px;
    background: transparent !important;
    color: #6d28d9 !important;
    border-radius: 0;
}

.ua-shell .na-submit {
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, #6d28d9 0%, #a21caf 40%, #f97316 78%, #fb7185 100%) !important;
    color: #fff !important;
    min-height: 54px !important;
    margin-top: 6px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    box-shadow: 0 14px 24px rgba(109, 40, 217, 0.24) !important;
}

.ua-shell .na-submit-text { color: #fff !important; }

.sx-growth {
    text-align: center;
    padding: 16px 8px 8px;
}

.sx-growth h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 900;
    color: #1a1230;
    letter-spacing: -0.02em;
}

.sx-growth p {
    margin: 4px 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.na-ref-line {
    background: #f6f0fb !important;
    border: 0 !important;
    color: #5b21b6 !important;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    border-radius: 0 !important;
}

.ua-shell.ua-register,
.ua-shell.ua-login {
    background:
        radial-gradient(ellipse 70% 42% at 100% 0%, rgba(196, 140, 255, 0.28), transparent 58%),
        radial-gradient(ellipse 80% 40% at 0% 100%, rgba(255, 168, 130, 0.32), transparent 60%),
        linear-gradient(180deg, #f7e9ff 0%, #f8e6f4 30%, #fde4ea 64%, #ffd4c4 100%) !important;
    color: #1a1230 !important;
}

.ua-shell.ua-register .ua-card,
.ua-shell.ua-login .ua-card {
    border: 0 !important;
    background: #fff !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 40px rgba(120, 50, 140, 0.12) !important;
    overflow: visible !important;
}

.ua-shell.ua-register .ua-heading,
.ua-shell.ua-login .ua-heading {
    background: linear-gradient(165deg, #7a2ea8 0%, #6b2178 55%, #54185f 100%) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, 100% 0, 100% 74%, 84% 100%, 0 100%) !important;
    box-shadow: none !important;
}

.ua-shell.ua-register .na-input,
.ua-shell.ua-login .na-input {
    background: #f6f1f8 !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 14px) 100%, 0 100%) !important;
}

.ua-shell.ua-register .na-input input,
.ua-shell.ua-login .na-input input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ua-shell.ua-register .na-input-icon,
.ua-shell.ua-login .na-input-icon {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #5b21b6 !important;
}

.ua-shell.ua-register .na-submit,
.ua-shell.ua-login .na-submit {
    background: linear-gradient(90deg, #6d28d9 0%, #c026d3 40%, #f97316 78%, #fb7185 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%) !important;
    box-shadow: 0 14px 24px rgba(109, 40, 217, 0.24) !important;
}

.ua-shell.ua-register .na-submit:hover,
.ua-shell.ua-login .na-submit:hover {
    transform: none !important;
}

@media (max-width: 600px) {
    .ua-shell.ua-register .ua-wrap,
    .ua-shell.ua-login .ua-wrap {
        width: min(430px, calc(100% - 16px)) !important;
    }
}

.ua-shell.ua-register .ua-grid,
.ua-shell.ua-login .ua-grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.ua-shell.ua-register .ua-card,
.ua-shell.ua-login .ua-card {
    margin: 4px auto 0 !important;
    padding-bottom: 8px !important;
}

.ua-wrap {
    padding-bottom: 8px !important;
}

.sx-growth {
    padding: 8px 8px 4px !important;
}

@media (max-width: 600px) {
    .ua-shell.ua-register .ua-grid,
    .ua-shell.ua-login .ua-grid {
        padding: 0 !important;
    }
}
