:root {
    --pm-auth-purple: #7c31dd;
    --pm-auth-dark: #12082b;
    --pm-auth-ink: #1d1230;
    --pm-auth-muted: #746b7f;
}

.pm-auth {
    min-height: 100vh;
    background: var(--pm-auth-dark);
}

.pm-auth .pm-login-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 32% 22%, rgba(124, 49, 221, .34), transparent 33%),
        linear-gradient(135deg, #0e0624 0%, #211044 55%, #110827 100%);
    isolation: isolate;
}

.pm-auth .pm-login-page::before,
.pm-auth .pm-login-page::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(172, 112, 255, .15);
    border-radius: 50%;
    pointer-events: none;
}

.pm-auth .pm-login-page::before {
    width: 520px;
    height: 520px;
    left: -180px;
    bottom: -260px;
    animation: pm-orbit-drift 12s ease-in-out infinite alternate;
}

.pm-auth .pm-login-page::after {
    width: 420px;
    height: 420px;
    top: -250px;
    left: 38%;
    animation: pm-orbit-drift 15s ease-in-out -4s infinite alternate-reverse;
}

.pm-auth .pm-login-brand {
    position: absolute;
    z-index: 5;
    top: 30px;
    left: clamp(28px, 5vw, 84px);
    display: inline-flex;
    opacity: 0;
    animation: pm-fade-down .7s cubic-bezier(.2, .75, .25, 1) .05s forwards;
}

.pm-auth .pm-login-brand img {
    width: 174px;
    height: 54px;
    object-fit: contain;
}

.pm-auth .mybazar-login-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr);
    background: transparent;
}

.pm-auth .mybazar-login-avatar {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 116px clamp(42px, 6vw, 100px) 46px;
    background: transparent !important;
    color: #fff;
}

.pm-auth .pm-login-intro {
    width: min(640px, 100%);
    margin-bottom: 28px;
    opacity: 0;
    animation: pm-reveal-up .85s cubic-bezier(.2, .75, .25, 1) .2s forwards;
}

.pm-auth .pm-login-eyebrow,
.pm-auth .pm-form-eyebrow {
    display: block;
    color: #bd7bff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 13px;
}

.pm-auth .pm-login-intro h1 {
    max-width: 600px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: .99;
    letter-spacing: -.045em;
    margin: 0 0 20px;
    text-wrap: balance;
}

.pm-auth .pm-login-intro p {
    max-width: 610px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}

.pm-auth .pm-checkout-demo {
    width: min(680px, 100%);
    position: relative;
    min-height: 370px;
    color: var(--pm-auth-ink);
    background: rgba(252, 250, 255, .98);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 19px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, .36);
    overflow: visible;
    opacity: 0;
    transform: translateY(28px) scale(.975);
    animation:
        pm-dashboard-enter 1s cubic-bezier(.2, .75, .25, 1) .4s forwards,
        pm-dashboard-float 5.5s ease-in-out 1.45s infinite;
}

.pm-auth .pm-checkout-topbar {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #211632;
    border-radius: 18px 18px 0 0;
    color: #fff;
}

.pm-auth .pm-checkout-store,
.pm-auth .pm-cart-heading,
.pm-auth .pm-cart-item,
.pm-auth .pm-payment-success {
    display: flex;
    align-items: center;
}

.pm-auth .pm-checkout-store {
    gap: 10px;
}

.pm-auth .pm-store-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-weight: 800;
    border-radius: 9px;
    background: linear-gradient(135deg, #9b50ed, #6720bd);
}

.pm-auth .pm-checkout-store strong,
.pm-auth .pm-checkout-store small {
    display: block;
}

.pm-auth .pm-checkout-store strong {
    font-size: 12px;
}

.pm-auth .pm-checkout-store small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .54);
    font-size: 9px;
}

.pm-auth .pm-register-status {
    padding: 7px 10px;
    color: #b8f9d5;
    background: rgba(49, 212, 124, .1);
    border: 1px solid rgba(49, 212, 124, .18);
    border-radius: 30px;
    font-size: 9px;
    font-weight: 700;
}

.pm-auth .pm-register-status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    background: #31d47c;
    border-radius: 50%;
    animation: pm-sync-pulse 2s ease-out infinite;
}

.pm-auth .pm-checkout-body {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    min-height: 308px;
}

.pm-auth .pm-product-browser {
    padding: 18px;
    background: #f7f3fb;
    border-radius: 0 0 0 18px;
}

.pm-auth .pm-search-products {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    margin-bottom: 14px;
    color: #91879d;
    background: #fff;
    border: 1px solid #e6ddec;
    border-radius: 9px;
    font-size: 10px;
}

.pm-auth .pm-search-products span {
    font-size: 18px;
    line-height: 1;
}

.pm-auth .pm-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pm-auth .pm-product-card {
    min-width: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #e9e1ef;
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(35, 16, 61, .04);
}

.pm-auth .pm-product-card strong,
.pm-auth .pm-product-card small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-auth .pm-product-card strong {
    margin-top: 7px;
    color: #2c2138;
    font-size: 9px;
}

.pm-auth .pm-product-card small {
    margin-top: 3px;
    color: #7a7084;
    font-size: 8px;
}

.pm-auth .pm-product-visual {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
}

.pm-auth .pm-visual-purple { background: #f0e4ff; }
.pm-auth .pm-visual-blue { background: #e3efff; }
.pm-auth .pm-visual-gold { color: #916211; background: #fff1cf; }
.pm-auth .pm-visual-green { color: #17845a; background: #dff8ed; }

.pm-auth .pm-product-one,
.pm-auth .pm-product-two,
.pm-auth .pm-product-three {
    animation: pm-product-tap 7.2s ease-in-out infinite;
}

.pm-auth .pm-product-two { animation-delay: .8s; }
.pm-auth .pm-product-three { animation-delay: 1.6s; }

.pm-auth .pm-cart-panel {
    padding: 18px 16px 15px;
    background: #fff;
    border-radius: 0 0 18px;
}

.pm-auth .pm-cart-heading {
    justify-content: space-between;
    margin-bottom: 13px;
}

.pm-auth .pm-cart-heading strong,
.pm-auth .pm-cart-heading small {
    display: block;
}

.pm-auth .pm-cart-heading strong {
    color: #281c35;
    font-size: 11px;
}

.pm-auth .pm-cart-heading small {
    margin-top: 2px;
    color: #968c9f;
    font-size: 8px;
}

.pm-auth .pm-cart-count {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #7127cb;
    background: #f0e3ff;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
}

.pm-auth .pm-cart-items {
    min-height: 154px;
}

.pm-auth .pm-cart-item {
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #eee8f2;
    opacity: 0;
    transform: translateX(14px);
    animation: pm-cart-add 7.2s ease-in-out infinite;
}

.pm-auth .pm-cart-item-two { animation-delay: .8s; }
.pm-auth .pm-cart-item-three { animation-delay: 1.6s; }

.pm-auth .pm-cart-item > span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    background: #f2e7ff;
    border-radius: 7px;
    font-size: 12px;
}

.pm-auth .pm-cart-item div {
    min-width: 0;
    flex: 1;
}

.pm-auth .pm-cart-item strong,
.pm-auth .pm-cart-item small {
    display: block;
}

.pm-auth .pm-cart-item strong {
    color: #33263d;
    font-size: 8px;
}

.pm-auth .pm-cart-item small {
    margin-top: 2px;
    color: #988fa0;
    font-size: 7px;
}

.pm-auth .pm-cart-item b {
    color: #2d2237;
    font-size: 8px;
}

.pm-auth .pm-cart-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 10px 0;
}

.pm-auth .pm-cart-total span {
    color: #776c81;
    font-size: 9px;
}

.pm-auth .pm-cart-total strong {
    color: #25172f;
    font-size: 15px;
}

.pm-auth .pm-pay-button {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    color: #fff;
    background: linear-gradient(135deg, #9345ea, #6721bd);
    border: 0;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    animation: pm-pay-glow 7.2s ease-in-out infinite;
}

.pm-auth .pm-payment-success {
    position: absolute;
    right: -18px;
    bottom: -20px;
    gap: 11px;
    min-width: 214px;
    padding: 13px 16px;
    background: rgba(27, 13, 57, .94);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .3);
    backdrop-filter: blur(12px);
    z-index: 3;
    opacity: 0;
    transform: translateY(8px) scale(.96);
    animation: pm-payment-pop 7.2s ease-in-out infinite;
}

.pm-auth .pm-success-check {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    color: #102d20;
    border-radius: 50%;
    background: #31d47c;
    font-size: 16px;
    font-weight: 900;
}

.pm-auth .pm-payment-success strong,
.pm-auth .pm-payment-success small {
    display: block;
    color: #fff;
}

.pm-auth .pm-payment-success strong {
    font-size: 13px;
}

.pm-auth .pm-payment-success small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
}

.pm-auth .pm-scan-line {
    position: absolute;
    z-index: 2;
    top: 62px;
    bottom: 0;
    left: 0;
    width: 2px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(transparent, #a559ff, transparent);
    box-shadow: 0 0 16px #9f4aff;
    animation: pm-scan-across 7.2s ease-in-out infinite;
}

.pm-auth .pm-login-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    margin-top: 42px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    animation: pm-reveal-up .75s cubic-bezier(.2, .75, .25, 1) .85s forwards;
}

.pm-auth .pm-login-benefits span::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    color: #cf9aff;
    background: rgba(148, 67, 229, .2);
    border-radius: 50%;
}

.pm-auth .mybazar-login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px clamp(34px, 5vw, 82px);
    background: #f8f6fb !important;
}

.pm-auth .login-wrapper {
    width: min(470px, 100%);
    padding: clamp(30px, 4vw, 48px) !important;
    background: #fff;
    border: 1px solid #e7dfed;
    border-radius: 22px !important;
    box-shadow: 0 26px 65px rgba(35, 16, 61, .12) !important;
    opacity: 0;
    transform: translateX(30px);
    animation: pm-form-enter .85s cubic-bezier(.2, .75, .25, 1) .28s forwards;
}

.pm-auth .login-wrapper h2 {
    color: var(--pm-auth-ink);
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 0 0 10px;
}

.pm-auth .login-wrapper h2 span {
    color: var(--pm-auth-purple) !important;
}

.pm-auth .login-wrapper h6 {
    color: var(--pm-auth-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    margin: 0 0 28px;
}

.pm-auth .pm-form-eyebrow {
    color: var(--pm-auth-purple);
    margin-bottom: 10px;
}

.pm-auth .pm-field-label {
    display: block;
    color: var(--pm-auth-ink);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

.pm-auth .login-wrapper .input-group {
    min-height: 52px;
    margin-bottom: 19px;
    background: #fbfafd;
    border: 1px solid #dfd4e8 !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pm-auth .login-wrapper .input-group:focus-within {
    border-color: var(--pm-auth-purple) !important;
    box-shadow: 0 0 0 3px rgba(122, 53, 212, .1);
    transform: translateY(-1px);
}

.pm-auth .login-wrapper .input-group.pm-input-error {
    margin-bottom: 6px;
    border-color: #dc3545 !important;
}

.pm-auth .login-wrapper .input-group .form-control {
    color: var(--pm-auth-ink);
    background: transparent !important;
}

.pm-auth .pm-field-error {
    color: #c92d3d !important;
    font-size: 12px !important;
    margin: 0 0 15px !important;
}

.pm-auth .mybazar-login-section .forget-password {
    margin: 2px 0 23px;
}

.pm-auth .mybazar-login-section .forget-password a,
.pm-auth a {
    color: #6726be;
}

.pm-auth .mybazar-login-section .login-btn {
    width: 100%;
    min-height: 52px;
    color: #fff;
    font-weight: 700;
    border: 0;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #9148e6, #5c1dab) !important;
    box-shadow: 0 13px 25px rgba(94, 30, 174, .25);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pm-auth .mybazar-login-section .login-btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -35%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, .28);
    transform: rotate(24deg);
    transition: left .55s ease;
}

.pm-auth .mybazar-login-section .login-btn:hover::after {
    left: 112%;
}

.pm-auth .mybazar-login-section .login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(94, 30, 174, .32);
}

.pm-auth .pm-login-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    color: var(--pm-auth-muted);
    font-size: 12px;
}

.pm-auth .pm-login-links a {
    font-weight: 700;
}

.pm-auth .social-login {
    gap: 10px;
}

@keyframes pm-fade-down {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pm-reveal-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pm-form-enter {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pm-dashboard-enter {
    from { opacity: 0; transform: translateY(28px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pm-dashboard-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes pm-sync-pulse {
    0% { box-shadow: 0 0 0 0 rgba(49, 212, 124, .45); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(49, 212, 124, 0); }
}

@keyframes pm-orbit-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(32px, -18px, 0) scale(1.06); }
}

@keyframes pm-product-tap {
    0%, 8%, 100% { transform: translateY(0); border-color: #e9e1ef; }
    12%, 18% { transform: translateY(-3px); border-color: #9b50ed; box-shadow: 0 8px 18px rgba(113, 39, 203, .15); }
    24% { transform: translateY(0); }
}

@keyframes pm-cart-add {
    0%, 7% { opacity: 0; transform: translateX(14px); }
    15%, 88% { opacity: 1; transform: translateX(0); }
    96%, 100% { opacity: 0; transform: translateX(8px); }
}

@keyframes pm-pay-glow {
    0%, 48%, 100% { box-shadow: 0 0 0 rgba(103, 33, 189, 0); transform: scale(1); }
    56%, 66% { box-shadow: 0 8px 22px rgba(103, 33, 189, .35); transform: scale(1.015); }
}

@keyframes pm-payment-pop {
    0%, 60%, 100% { opacity: 0; transform: translateY(8px) scale(.96); }
    68%, 90% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pm-scan-across {
    0%, 4%, 100% { left: 1%; opacity: 0; }
    8% { opacity: .9; }
    35% { left: 98%; opacity: 0; }
}

@media (max-width: 1199px) {
    .pm-auth .mybazar-login-section {
        grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
    }

    .pm-auth .pm-login-intro h1 {
        font-size: 43px;
    }

    .pm-auth .pm-login-benefits span:nth-child(n+3) {
        display: none;
    }
}

/* Login identity and field refinements */
.pm-auth .pm-portal-label {
    color: #7027c8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
}

.pm-auth .pm-brand-core > .pm-ready-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin: 0;
    color: #fff !important;
    background: linear-gradient(145deg, rgba(187, 112, 255, .72), rgba(100, 32, 177, .76));
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(34, 8, 68, .25);
}

.pm-auth .pm-ready-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pm-auth .pm-brand-core > strong {
    margin-top: 12px;
    color: #fff !important;
    font-size: 17px;
    letter-spacing: -.02em;
}

.pm-auth .pm-brand-core > .pm-system-ready {
    margin-top: 6px;
}

.pm-auth .login-wrapper .input-group {
    overflow: visible;
}

.pm-auth .login-wrapper .input-group .form-control {
    min-width: 0;
    height: 43px;
    padding: 0 45px 0 12px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.pm-auth .login-wrapper .input-group .form-control:focus,
.pm-auth .login-wrapper .input-group .form-control:focus-visible,
.pm-auth .login-wrapper .input-group .form-control:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.pm-auth .login-wrapper .input-group .hide-pass {
    top: 50%;
    right: 15px;
    z-index: 4;
    transform: translateY(-50%);
}

.pm-auth .login-wrapper .input-group .hide-pass img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.pm-auth .login-wrapper .input-group:focus-within .pm-field-icon {
    background: linear-gradient(145deg, #e7d5fa, #f3eafd);
}

/* Premium sign-in card */
.pm-auth .login-wrapper {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(142, 60, 225, .1), transparent 31%),
        linear-gradient(155deg, rgba(255, 255, 255, .99), rgba(251, 248, 255, .97));
    border: 1px solid rgba(111, 53, 168, .16);
    border-radius: 28px !important;
    box-shadow: 0 30px 75px rgba(35, 16, 61, .15), inset 0 1px #fff !important;
}

.pm-auth .login-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 115px;
    height: 115px;
    border: 1px solid rgba(123, 49, 221, .1);
    border-radius: 0 28px 0 100%;
    pointer-events: none;
}

.pm-auth .pm-form-brand {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.pm-auth .pm-form-logo {
    width: 116px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 2px 8px;
    background: linear-gradient(135deg, #291248, #6d26c1);
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(83, 29, 147, .18);
}

.pm-auth .pm-form-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pm-auth .pm-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: #356c51;
    background: #edf9f2;
    border: 1px solid #d3f0df;
    border-radius: 30px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
}

.pm-auth .pm-secure-badge i {
    width: 7px;
    height: 7px;
    background: #2fc978;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(47, 201, 120, .12);
}

.pm-auth .pm-field-label {
    margin-left: 2px;
}

.pm-auth .login-wrapper .input-group {
    min-height: 56px;
    padding: 5px;
    background: rgba(255, 255, 255, .8);
    border-radius: 15px !important;
}

.pm-auth .login-wrapper .input-group:focus-within {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(122, 53, 212, .09), 0 10px 25px rgba(62, 26, 96, .07);
}

.pm-auth .login-wrapper .input-group .pm-field-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    padding: 0;
    background: linear-gradient(145deg, #eee2fa, #faf6fd);
    border-radius: 11px;
}

.pm-auth .login-wrapper .input-group .pm-field-icon img {
    width: 19px;
    height: 19px;
    opacity: .72;
    object-fit: contain;
}

.pm-auth .login-wrapper .input-group .form-control {
    min-width: 0;
    padding-left: 12px;
    font-size: 14px;
}

.pm-auth .login-wrapper .input-group input:-webkit-autofill,
.pm-auth .login-wrapper .input-group input:-webkit-autofill:hover,
.pm-auth .login-wrapper .input-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
}

.pm-auth .mybazar-login-section .forget-password {
    align-items: center;
    margin-right: 2px;
    margin-left: 2px;
}

.pm-auth .mybazar-login-section .login-btn {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 0 20px;
    border-radius: 15px !important;
    background: linear-gradient(120deg, #9749e9, #7026ca 58%, #54169e) !important;
}

.pm-auth .mybazar-login-section .login-btn i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #6b25bc;
    background: #fff;
    border-radius: 10px;
    font-size: 18px;
    font-style: normal;
    transition: transform .2s ease;
}

.pm-auth .mybazar-login-section .login-btn:hover i {
    transform: translateX(2px);
}

.pm-auth .pm-form-assurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    color: #8b8293;
    font-size: 9px;
    text-align: center;
}

.pm-auth .pm-form-assurance span {
    color: #31bb72;
    font-size: 8px;
}

@media (max-height: 820px) and (min-width: 992px) {
    .pm-auth .pm-form-brand {
        margin-bottom: 16px;
    }

    .pm-auth .login-wrapper {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

@media (max-width: 575px) {
    .pm-auth .login-wrapper {
        border-radius: 20px !important;
    }

    .pm-auth .pm-form-brand {
        margin-bottom: 20px;
    }
}

@media (max-width: 991px) {
    .pm-auth .pm-login-page {
        background: #f8f6fb;
    }

    .pm-auth .pm-login-brand {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 18px 24px;
        background: #14092e;
    }

    .pm-auth .pm-login-brand img {
        width: 154px;
        height: 44px;
    }

    .pm-auth .mybazar-login-section {
        display: block;
        min-height: calc(100vh - 80px);
    }

    .pm-auth .mybazar-login-avatar {
        display: none !important;
    }

    .pm-auth .mybazar-login-wrapper {
        min-height: calc(100vh - 80px);
        padding: 44px 20px;
    }
}

@media (max-width: 575px) {
    .pm-auth .mybazar-login-wrapper {
        align-items: flex-start;
        padding: 28px 14px;
    }

    .pm-auth .login-wrapper {
        padding: 28px 20px !important;
        border-radius: 18px !important;
    }

    .pm-auth .pm-login-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-auth *,
    .pm-auth *::before,
    .pm-auth *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
    }
}

/* Branded login visual — intentionally independent from the website dashboard imagery. */
.pm-auth .pm-brand-message {
    width: min(640px, 100%);
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: pm-reveal-up .8s cubic-bezier(.2, .75, .25, 1) .18s forwards;
}

.pm-auth .pm-brand-message h1 {
    max-width: 620px;
    color: #fff;
    font-size: clamp(38px, 3.8vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0 0 16px;
    text-wrap: balance;
}

.pm-auth .pm-brand-message p {
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.pm-auth .pm-brand-stage {
    width: min(580px, 82%);
    aspect-ratio: 1.7;
    position: relative;
    display: grid;
    place-items: center;
    margin: 30px auto 20px;
    opacity: 0;
    animation: pm-reveal-up .9s cubic-bezier(.2, .75, .25, 1) .38s forwards;
}

.pm-auth .pm-brand-glow {
    position: absolute;
    width: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #8537db;
    filter: blur(72px);
    opacity: .4;
    animation: pm-glow-breathe 4s ease-in-out infinite;
}

.pm-auth .pm-brand-orbit {
    position: absolute;
    border: 1px solid rgba(183, 117, 255, .27);
    border-radius: 50%;
}

.pm-auth .pm-orbit-one {
    width: 72%;
    aspect-ratio: 1;
    animation: pm-orbit-spin 18s linear infinite;
}

.pm-auth .pm-orbit-two {
    width: 93%;
    aspect-ratio: 1.55;
    border-style: dashed;
    opacity: .52;
    animation: pm-orbit-spin 25s linear infinite reverse;
}

.pm-auth .pm-brand-core {
    position: relative;
    z-index: 2;
    width: min(330px, 58%);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(145deg, rgba(169, 93, 241, .25), rgba(255, 255, 255, .055));
    border: 1px solid rgba(219, 178, 255, .28);
    border-radius: 30px;
    box-shadow: 0 35px 70px rgba(0, 0, 0, .3), 0 0 45px rgba(135, 55, 219, .16), inset 0 1px rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px);
    animation: pm-core-float 5s ease-in-out infinite;
}

.pm-auth .pm-brand-core img {
    width: 205px;
    max-width: 100%;
    height: 74px;
    object-fit: contain;
}

.pm-auth .pm-brand-core > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .86) !important;
    font-size: 10px;
    font-weight: 700;
}

.pm-auth .pm-brand-core i {
    width: 7px;
    height: 7px;
    background: #35df85;
    border-radius: 50%;
    animation: pm-sync-pulse 2s ease-out infinite;
}

.pm-auth .pm-float-chip {
    position: absolute;
    z-index: 3;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    color: #fff;
    background: rgba(28, 13, 58, .94);
    border: 1px solid rgba(208, 158, 255, .22);
    border-radius: 13px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .25);
    backdrop-filter: blur(14px);
}

.pm-auth .pm-float-chip > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    color: #d6a4ff;
    background: rgba(145, 72, 230, .22);
    border-radius: 9px;
    font-size: 14px;
}

.pm-auth .pm-float-chip small,
.pm-auth .pm-float-chip strong {
    display: block;
    white-space: nowrap;
}

.pm-auth .pm-float-chip small {
    color: rgba(255, 255, 255, .62) !important;
    font-size: 8px;
}

.pm-auth .pm-float-chip strong {
    margin-top: 2px;
    color: #fff !important;
    font-size: 10px;
}

.pm-auth .pm-chip-sales {
    top: 5%;
    right: -2%;
    animation: pm-chip-float 4.2s ease-in-out infinite;
}

.pm-auth .pm-chip-stock {
    left: -4%;
    bottom: 9%;
    animation: pm-chip-float 4.8s ease-in-out -.9s infinite;
}

.pm-auth .pm-chip-cloud {
    right: 1%;
    bottom: 1%;
    animation: pm-chip-float 4.5s ease-in-out -1.8s infinite;
}

.pm-auth .pm-trust-row {
    width: min(590px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    z-index: 2;
    margin-top: 8px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    opacity: 0;
    animation: pm-reveal-up .75s ease .72s forwards;
}

.pm-auth .pm-trust-row > div + div {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.pm-auth .pm-trust-row strong,
.pm-auth .pm-trust-row span {
    display: block;
}

.pm-auth .pm-trust-row strong {
    color: #fff !important;
    font-size: 17px;
}

.pm-auth .pm-trust-row span {
    margin-top: 3px;
    color: rgba(255, 255, 255, .64) !important;
    font-size: 9px;
}

.pm-auth .login-wrapper .input-group input:-webkit-autofill,
.pm-auth .login-wrapper .input-group input:-webkit-autofill:hover,
.pm-auth .login-wrapper .input-group input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--pm-auth-ink);
    -webkit-box-shadow: 0 0 0 1000px #fbfafd inset !important;
    box-shadow: 0 0 0 1000px #fbfafd inset !important;
    transition: background-color 9999s ease-out 0s;
}

.pm-auth .login-wrapper .input-group .form-control {
    min-width: 0;
}

.pm-auth .login-wrapper .input-group .form-control::selection {
    color: #fff;
    background: #7c31dd;
}

.pm-auth .mybazar-login-section .forget-password label,
.pm-auth .mybazar-login-section .forget-password a {
    font-size: 13px;
}

.pm-auth .pm-login-links {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee8f2;
}

@keyframes pm-orbit-spin {
    to { transform: rotate(360deg); }
}

@keyframes pm-core-float {
    0%, 100% { transform: translateY(0) rotate(-.5deg); }
    50% { transform: translateY(-8px) rotate(.5deg); }
}

@keyframes pm-chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes pm-glow-breathe {
    0%, 100% { opacity: .32; transform: scale(.92); }
    50% { opacity: .48; transform: scale(1.08); }
}

@media (max-height: 820px) and (min-width: 992px) {
    .pm-auth .mybazar-login-avatar {
        padding-top: 96px;
        padding-bottom: 24px;
    }

    .pm-auth .pm-brand-message h1 {
        font-size: clamp(34px, 3.4vw, 48px);
    }

    .pm-auth .pm-brand-stage {
        width: min(500px, 76%);
        margin-top: 17px;
        margin-bottom: 8px;
    }

    .pm-auth .pm-brand-core {
        min-height: 126px;
    }

    .pm-auth .pm-trust-row {
        padding: 12px 0;
    }
}

@media (max-width: 1199px) {
    .pm-auth .pm-float-chip {
        min-width: 132px;
    }

    .pm-auth .pm-chip-cloud {
        display: none;
    }
}

/* Final field reset: prevents nested theme/browser focus borders. */
.pm-auth .login-wrapper .input-group {
    overflow: visible;
}

.pm-auth .login-wrapper .input-group .form-control {
    min-width: 0;
    height: 43px;
    padding: 0 45px 0 12px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.pm-auth .login-wrapper .input-group .form-control:focus,
.pm-auth .login-wrapper .input-group .form-control:focus-visible,
.pm-auth .login-wrapper .input-group .form-control:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.pm-auth .login-wrapper .input-group .hide-pass {
    top: 50%;
    right: 15px;
    z-index: 4;
    transform: translateY(-50%);
}

.pm-auth .login-wrapper .input-group .hide-pass img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
