body.mrga-login-page-body {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    background: #f7f8fc;
    overflow-x: hidden;
}

.mrga-login-page {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #f7f8fc;
}

.mrga-login {
    --mrga-primary: var(--mrg-color-primary, #7c3aed);
    --mrga-primary-hover: var(--mrg-color-primary-hover, #6d28d9);
    --mrga-panel-dark: #20113f;
    --mrga-ink: #171826;
    --mrga-muted: #657085;
    --mrga-line: #d8deea;
    --mrga-field: #fbfcff;
    --mrga-card: #fffffd;
    --mrga-soft: #f7f8fc;
    --mrga-danger: #b42318;
    --mrga-danger-bg: #fff4f2;
    --mrga-success: #0f8b5f;
    --mrga-focus: rgba(124, 58, 237, 0.18);
    --mrga-eye-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M1%2012s4-8%2011-8%2011%208%2011%208-4%208-11%208-11-8-11-8z'/%3E%3Ccircle%20cx='12'%20cy='12'%20r='3'/%3E%3C/svg%3E");
    --mrga-eye-off-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M17.94%2017.94A10.07%2010.07%200%200%201%2012%2020c-7%200-11-8-11-8a18.45%2018.45%200%200%201%205.06-5.94'/%3E%3Cpath%20d='M9.9%204.24A9.12%209.12%200%200%201%2012%204c7%200%2011%208%2011%208a18.5%2018.5%200%200%201-2.16%203.19'/%3E%3Cline%20x1='1'%20y1='1'%20x2='23'%20y2='23'/%3E%3C/svg%3E");
    position: relative;
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    align-items: stretch;
    justify-content: center;
    color: var(--mrga-ink);
    font-family: inherit;
    background:
        radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(124, 58, 237, 0.04) 0%, rgba(14, 165, 233, 0.04) 100%),
        var(--mrga-soft);
}

.mrga-login,
.mrga-login * {
    box-sizing: border-box;
}

.mrga-login__intro {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    padding: 32px;
    color: #fbfbff;
    background:
        radial-gradient(circle at 45% 28%, rgba(255, 255, 253, 0.14), transparent 30%),
        linear-gradient(155deg, var(--mrga-primary) 0%, var(--mrga-primary-hover) 48%, var(--mrga-panel-dark) 100%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1), visibility 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mrga-login__intro.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mrga-login__intro-lockup {
    display: grid;
    justify-items: center;
    gap: 16px;
}

.mrga-login__intro-icon {
    display: flex;
    width: 84px;
    height: 84px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 253, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 253, 0.13);
    box-shadow: 0 16px 44px rgba(16, 9, 34, 0.28);
}

.mrga-login__intro-icon img {
    display: block;
    width: 64px;
    height: 64px;
}

.mrga-login__intro-icon span {
    color: #fbfbff;
    font-family: var(--mrg-font-heading, inherit);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.mrga-login__intro-text {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
}

.mrga-login__intro-brand {
    color: #fbfbff;
    font-family: var(--mrg-font-heading, inherit);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.mrga-login__intro-tag {
    color: rgba(255, 255, 253, 0.7);
    font-size: 12px;
    line-height: 1.45;
}

.mrga-login__intro-bar {
    position: relative;
    width: 140px;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 253, 0.14);
}

.mrga-login__intro-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 253, 0.88), transparent);
    transform: translateX(-100%);
    animation: mrga-login-intro-bar 1100ms ease-in-out infinite;
}

@keyframes mrga-login-intro-bar {
    to {
        transform: translateX(350%);
    }
}

.mrga-login__shell {
    display: grid;
    width: 100%;
    min-height: 100%;
    place-items: center;
    padding: clamp(32px, 7vh, 72px) clamp(16px, 4vw, 40px);
}

.mrga-login__card {
    display: grid;
    align-content: start;
    width: min(100%, 520px);
    padding: 40px 36px;
    border: 1px solid rgba(216, 222, 234, 0.92);
    border-radius: 8px;
    background: var(--mrga-card);
    box-shadow: 0 20px 60px rgba(60, 44, 98, 0.14), 0 4px 18px rgba(12, 18, 32, 0.06);
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    animation: mrga-login-card-rise 520ms cubic-bezier(0.16, 1, 0.3, 1) 180ms forwards;
}

@keyframes mrga-login-card-rise {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mrga-login__header {
    margin: 0;
}

.mrga-login__header h1 {
    margin: 0;
    color: var(--mrga-ink);
    font-family: var(--mrg-font-heading, inherit);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.14;
}

.mrga-login__header p {
    margin: 8px 0 0;
    color: var(--mrga-muted);
    font-size: 14px;
    line-height: 1.6;
}

.mrga-login__social {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.mrga-login .mrga-social__btn {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mrga-login .mrga-social__btn:hover,
.mrga-login .mrga-social__btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.mrga-login .mrga-social__btn:focus-visible {
    outline: 3px solid var(--mrga-focus);
    outline-offset: 2px;
}

.mrga-login .mrga-social__icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 18px;
}

.mrga-login .mrga-social__btn--google {
    color: #202333;
    background: linear-gradient(180deg, #fffffd 0%, #fbfcff 100%);
    border-color: rgba(202, 211, 226, 0.95);
    box-shadow: 0 1px 2px rgba(16, 9, 34, 0.04), inset 0 1px 0 rgba(255, 255, 253, 0.95);
}

.mrga-login .mrga-social__btn--google:hover,
.mrga-login .mrga-social__btn--google:focus {
    background: linear-gradient(180deg, #fffffd 0%, #f7f9ff 100%);
    border-color: rgba(177, 190, 211, 0.95);
    box-shadow: 0 4px 10px rgba(16, 9, 34, 0.07), inset 0 1px 0 rgba(255, 255, 253, 0.95);
}

.mrga-login .mrga-social__btn--google:active {
    transform: translateY(0);
    background: #f7f9ff;
    border-color: rgba(177, 190, 211, 0.95);
    box-shadow: inset 0 1px 2px rgba(16, 9, 34, 0.1), inset 0 1px 0 rgba(255, 255, 253, 0.78);
}

.mrga-login .mrga-social__btn--google .mrga-social__icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path fill='%234285F4' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/><path fill='%2334A853' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/><path fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/><path fill='%23EA4335' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/></svg>");
}

.mrga-login .mrga-social__btn--facebook {
    color: #fbfbff;
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 10px 22px rgba(24, 119, 242, 0.22);
}

.mrga-login .mrga-social__btn--facebook:hover,
.mrga-login .mrga-social__btn--facebook:focus {
    background: #166fe0;
    border-color: #166fe0;
    box-shadow: 0 14px 28px rgba(24, 119, 242, 0.28);
}

.mrga-login .mrga-social__btn--facebook .mrga-social__icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffffff' d='M14.5 8H17V4.5h-3c-2.49 0-4.5 2.01-4.5 4.5v2H7v3.5h2.5V21h3.5v-6.5h2.83l.67-3.5H13V9c0-.55.45-1 1-1z'/></svg>");
}

.mrga-login__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 0;
    color: var(--mrga-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.mrga-login__divider::before,
.mrga-login__divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--mrga-line);
}

.mrga-login__form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.mrga-login__field {
    display: grid;
    gap: 7px;
}

.mrga-login__field label {
    color: var(--mrga-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.mrga-login__password-utility {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}

.mrga-login__password-utility a {
    color: var(--mrga-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.mrga-login__password-utility a:hover,
.mrga-login__password-utility a:focus {
    color: var(--mrga-primary-hover);
    text-decoration: underline;
}

.mrga-login__password {
    position: relative;
}

.mrga-login input[type="text"],
.mrga-login input[type="password"] {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid #c7d0df;
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--mrga-ink);
    background: var(--mrga-field);
    font: inherit;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mrga-login input[type="text"]::placeholder,
.mrga-login input[type="password"]::placeholder {
    color: #97a3b7;
}

.mrga-login input[type="text"]:focus,
.mrga-login input[type="password"]:focus {
    border-color: var(--mrga-primary);
    background: #fffffd;
    box-shadow: 0 0 0 3px var(--mrga-focus);
}

.mrga-login input[aria-invalid="true"] {
    border-color: var(--mrga-danger);
    background: var(--mrga-danger-bg);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.mrga-login__password input {
    padding-right: 50px;
}

.mrga-login__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667085;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mrga-login__toggle:hover,
.mrga-login__toggle:focus {
    background: rgba(124, 58, 237, 0.08);
    color: var(--mrga-primary);
}

.mrga-login__toggle:active {
    transform: translateY(-50%) scale(0.96);
}

.mrga-login__toggle:focus-visible {
    outline: 3px solid var(--mrga-focus);
    outline-offset: 1px;
}

.mrga-login__eye {
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: var(--mrga-eye-mask) center / 18px 18px no-repeat;
    mask: var(--mrga-eye-mask) center / 18px 18px no-repeat;
    transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mrga-login__toggle.is-visible .mrga-login__eye {
    -webkit-mask-image: var(--mrga-eye-off-mask);
    mask-image: var(--mrga-eye-off-mask);
    transform: rotate(180deg);
}

.mrga-login__submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    color: #fbfbff;
    background: var(--mrga-primary);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.24);
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mrga-login__submit:hover,
.mrga-login__submit:focus {
    background: var(--mrga-primary-hover);
    box-shadow: 0 16px 30px rgba(124, 58, 237, 0.3);
    transform: translateY(-1px);
}

.mrga-login__submit:focus-visible {
    outline: 3px solid var(--mrga-focus);
    outline-offset: 2px;
}

.mrga-login__submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.mrga-login__notice {
    display: none;
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.mrga-login__notice.is-visible {
    display: block;
}

.mrga-login__notice.mrga-notice--error,
.mrga-login__notice.is-error {
    display: block;
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.mrga-login__notice.is-info {
    display: block;
    color: #075985;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
}

.mrga-login__notice.is-success {
    display: block;
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.mrga-login__resend {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 8px;
    color: var(--mrga-primary);
    background: rgba(124, 58, 237, 0.04);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mrga-login__resend:hover,
.mrga-login__resend:focus {
    border-color: rgba(124, 58, 237, 0.28);
    background: rgba(124, 58, 237, 0.08);
    color: var(--mrga-primary-hover);
}

.mrga-login__resend:focus-visible {
    outline: 3px solid var(--mrga-focus);
    outline-offset: 2px;
}

.mrga-login__links {
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.mrga-login__links a {
    color: var(--mrga-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.mrga-login__links a:hover,
.mrga-login__links a:focus {
    color: var(--mrga-primary-hover);
    text-decoration: underline;
}

@media (max-width: 767px) {
    body.mrga-login-page-body {
        background: #fff;
        overflow: hidden;
    }

    .mrga-login-page {
        background: #fff;
        overflow: hidden;
    }

    .mrga-login {
        min-height: 100%;
        background: #fff;
    }

    .mrga-login__shell {
        min-height: 100%;
        place-items: stretch;
        padding: 0;
    }

    .mrga-login__card {
        width: 100%;
        min-height: 100%;
        overflow: auto;
        padding: 18px 18px 16px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .mrga-login__header h1 {
        font-size: 24px;
    }

    .mrga-login__header p,
    .mrga-login__links a,
    .mrga-login__password-utility a {
        font-size: 13px;
    }

    .mrga-login__social {
        gap: 10px;
        margin-top: 18px;
    }

    .mrga-login .mrga-social__btn,
    .mrga-login__submit {
        min-height: 48px;
    }

    .mrga-login__divider {
        margin-top: 18px;
    }

    .mrga-login__form {
        gap: 12px;
        margin-top: 18px;
    }

    .mrga-login__field {
        gap: 6px;
    }

    .mrga-login__password-utility {
        margin-top: 0;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .mrga-login__card {
        width: min(100%, 620px);
    }

    .mrga-login__shell {
        padding: clamp(30px, 7vw, 54px) clamp(24px, 5vw, 36px);
    }
}

@media (min-width: 1101px) {
    .mrga-login__shell {
        padding: clamp(42px, 8vh, 88px) clamp(28px, 6vw, 72px);
    }

    .mrga-login__card {
        width: min(100%, 540px);
    }
}

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

    .mrga-login__intro-bar::after {
        animation: none !important;
    }
}

body.mrga-social-password-page-body,
.mrga-social-password-page {
    overflow: hidden;
}

.mrga-social-password-page-body {
    min-height: 100svh;
    background: var(--mrga-soft);
}

.mrga-social-password-page {
    width: 100%;
    min-height: 100svh;
}

.mrga-social-password {
    width: 100%;
    min-height: 100svh;
    color: var(--mrga-ink);
    background:
        radial-gradient(circle at 11% 18%, rgba(124, 58, 237, 0.12), transparent 27%),
        linear-gradient(90deg, rgba(124, 58, 237, 0.065) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, #fbfbff 0%, #f2efff 100%);
    background-size: 100% 100%, 42px 42px, 100% 100%;
}

.mrga-social-password__stage {
    display: grid;
    grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
    width: 100%;
    min-height: 100svh;
}

.mrga-social-password__brand {
    position: relative;
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(38px, 5vw, 72px);
    color: #fbfbff;
    background:
        radial-gradient(circle at 26% 18%, rgba(255, 255, 253, 0.18), transparent 28%),
        linear-gradient(145deg, rgba(242, 184, 75, 0.22) 0%, rgba(242, 184, 75, 0) 34%),
        linear-gradient(155deg, var(--mrga-primary) 0%, var(--mrga-primary-hover) 52%, var(--mrga-panel-dark) 100%);
}

.mrga-social-password__brand::after {
    position: absolute;
    right: -24%;
    bottom: 8%;
    width: 66%;
    height: 34%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0,
        rgba(255, 255, 255, 0.1) 1px,
        transparent 1px,
        transparent 18px
    );
    content: "";
    transform: rotate(-10deg);
}

.mrga-social-password__brand-lockup {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mrga-social-password__mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 8px;
    background: #fbfbff;
    color: var(--mrga-primary);
    box-shadow: 0 18px 34px rgba(16, 9, 34, 0.28);
    font-size: 28px;
    font-weight: 900;
}

.mrga-social-password__mark img {
    display: block;
    width: 34px;
    height: 34px;
}

.mrga-social-password__brand-name {
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.mrga-social-password__brand-tag {
    margin-top: 6px;
    color: rgba(251, 251, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.mrga-social-password__brand-copy {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 420px;
    gap: 12px;
}

.mrga-social-password__brand-copy span {
    color: #f2b84b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
}

.mrga-social-password__brand-copy strong {
    color: #fbfbff;
    font-size: clamp(30px, 3.15vw, 42px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
    white-space: nowrap;
}

.mrga-social-password__panel {
    display: grid;
    min-height: 100svh;
    align-content: center;
    justify-items: start;
    padding: clamp(32px, 6vh, 64px) clamp(36px, 8vw, 104px);
}

.mrga-social-password__header,
.mrga-social-password__form {
    width: min(100%, 520px);
}

.mrga-social-password__header h1 {
    margin: 0;
    color: var(--mrga-ink);
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
}

.mrga-social-password__header p {
    max-width: 480px;
    margin: 12px 0 0;
    color: var(--mrga-muted);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.5;
}

.mrga-social-password__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--mrga-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.mrga-social-password__form {
    gap: 13px;
    margin-top: 28px;
}

.mrga-social-password input[type="tel"],
.mrga-social-password input[type="password"] {
    font-size: 16px;
}

.mrga-social-password .mrga-login__field {
    gap: 7px;
}

.mrga-social-password .mrga-login__field label {
    color: var(--mrga-ink);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}

.mrga-social-password__input,
.mrga-social-password .mrga-login__password {
    position: relative;
    width: 100%;
}

.mrga-social-password__input input,
.mrga-social-password .mrga-login__password input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--mrga-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--mrga-ink);
    box-shadow: 0 12px 28px rgba(29, 19, 67, 0.08);
    font-size: 16px;
    line-height: 1.35;
}

.mrga-social-password__input input {
    padding: 13px 16px;
}

.mrga-social-password .mrga-login__password input {
    padding: 13px 52px 13px 16px;
}

.mrga-social-password__input input:focus-visible,
.mrga-social-password .mrga-login__password input:focus-visible {
    border-color: var(--mrga-primary);
    outline: 3px solid var(--mrga-focus);
    outline-offset: 1px;
}

.mrga-social-password__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667085;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mrga-social-password__toggle:active {
    transform: translateY(-50%) scale(0.96);
}

.mrga-social-password__toggle:focus-visible {
    outline: 3px solid var(--mrga-focus);
    outline-offset: 1px;
}

.mrga-social-password__toggle.is-visible .mrga-login__eye {
    -webkit-mask-image: var(--mrga-eye-off-mask);
    mask-image: var(--mrga-eye-off-mask);
    transform: rotate(180deg);
}

.mrga-social-password__strength {
    display: grid;
    gap: 7px;
    min-height: 24px;
}

.mrga-social-password__strength-track {
    position: relative;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4ebe6;
}

.mrga-social-password__strength-fill {
    display: block;
    width: var(--mrga-strength, 0%);
    height: 100%;
    border-radius: inherit;
    background: #dc2626;
    transition: width 180ms ease, background 180ms ease;
}

.mrga-social-password__strength[data-state="fair"] .mrga-social-password__strength-fill {
    background: #d97706;
}

.mrga-social-password__strength[data-state="good"] .mrga-social-password__strength-fill {
    background: #2563eb;
}

.mrga-social-password__strength[data-state="strong"] .mrga-social-password__strength-fill {
    background: #16a34a;
}

.mrga-social-password__strength-label {
    color: var(--mrga-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.mrga-social-password__submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 8px;
    color: #fbfbff;
    background: var(--mrga-primary);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.24);
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mrga-social-password__submit:active {
    transform: translateY(0);
}

.mrga-social-password__submit:focus-visible {
    outline: 3px solid var(--mrga-focus);
    outline-offset: 2px;
}

.mrga-social-password__submit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .mrga-social-password__toggle:hover {
        background: rgba(124, 58, 237, 0.08);
        color: var(--mrga-primary);
    }

    .mrga-social-password__submit:hover {
        background: var(--mrga-primary-hover);
        box-shadow: 0 18px 34px rgba(124, 58, 237, 0.3);
        transform: translateY(-1px);
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .mrga-social-password__stage {
        grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
    }

    .mrga-social-password__brand {
        padding: 30px 28px;
    }

    .mrga-social-password__brand-copy strong {
        font-size: clamp(24px, 3vw, 28px);
    }

    .mrga-social-password__panel {
        padding: 34px 30px;
    }
}

@media (max-width: 767px) {
    .mrga-social-password__stage {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .mrga-social-password__brand {
        min-height: auto;
        padding: 20px 16px 18px;
    }

    .mrga-social-password__brand-copy {
        display: none;
    }

    .mrga-social-password__mark {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .mrga-social-password__brand-name {
        font-size: 18px;
    }

    .mrga-social-password__brand-tag {
        font-size: 11px;
    }

    .mrga-social-password__panel {
        min-height: 0;
        align-content: start;
        padding: 24px 16px calc(18px + env(safe-area-inset-bottom));
    }

    .mrga-social-password__header h1 {
        font-size: 30px;
    }

    .mrga-social-password__header p {
        margin-top: 8px;
        font-size: 14px;
    }

    .mrga-social-password__form {
        width: 100%;
        gap: 12px;
        margin-top: 20px;
    }

    .mrga-social-password__input input,
    .mrga-social-password .mrga-login__password input {
        min-height: 48px;
    }

    .mrga-social-password__submit {
        min-height: 48px;
        font-size: 14px;
    }
}

@media (max-height: 620px) {
    .mrga-social-password__brand {
        display: none;
    }

    .mrga-social-password__stage {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .mrga-social-password__panel {
        padding-top: 18px;
        padding-bottom: 16px;
    }

    .mrga-social-password__header h1 {
        font-size: 28px;
    }

    .mrga-social-password__header p {
        margin-top: 4px;
        font-size: 13px;
    }

    .mrga-social-password__form {
        gap: 10px;
        margin-top: 12px;
    }
}
