@CHARSET "UTF-8";

:root {
    --mp-login-black: #2f2f2f;
    --mp-login-grey-1: #656565;
    --mp-login-grey-2: #959595;
    --mp-login-grey-3: #c8c8c8;
    --mp-login-grey-4: #f3f3f3;
    --mp-login-grey-5: #dcdcdc;
    --mp-login-red: #d4174d;
    --mp-login-danger: #da533f;
    --mp-login-green: #3db43a;
    --mp-login-green-border: #79a240;
    --mp-login-buy-border: #bf1e2e;
    --mp-login-white: #ffffff;
    --mp-login-shadow: 0 8px 40px rgba(0, 0, 0, 0.04), 0 21px 33px rgba(0, 0, 0, 0.04), 0 10px 13px rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--mp-login-white);
    color: var(--mp-login-black);
    font-family: "Inter Tight", "Roboto", Arial, sans-serif;
}

img {
    border: 0;
    max-width: 100%;
}

a {
    color: var(--mp-login-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.mp-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--mp-login-white);
    position: relative;
}

.mp-login-main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    background: var(--mp-login-grey-4);
}

.mp-login-main-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: fit-content;
    max-width: 100%;
}

.mp-login-panel {
    width: 600px;
    max-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
    padding: 48px 64px 40px;
    background: var(--mp-login-white);
}

.mp-login-panel--full {
    width: 100%;
    flex: 1 1 auto;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-content: stretch;
}

.mp-login-main--simple {
    flex: 1 1 auto;
    align-items: stretch;
    justify-content: stretch;
    min-height: 0;
    width: 100%;
    background: var(--mp-login-white);
}

.mp-login-body--simple .mp-login-main {
    background: var(--mp-login-white);
    align-items: stretch;
}

.mp-login-body--simple .mp-login-panel--full {
    width: 100%;
    flex: 1 1 auto;
    min-height: 100%;
}

.mp-login-form-wrap--centered {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 0;
}

.mp-login-auth-block {
    width: 100%;
    max-width: 472px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mp-login-auth-block > form,
.mp-login-form-wrap > form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
    width: 100%;
}

.mp-login-heading-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-login-subheading {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--mp-login-grey-1);
}

.mp-login-subheading strong {
    color: var(--mp-login-black);
    font-weight: 600;
}

.mp-login-input-wrap--plain input {
    padding-right: 12px;
}

.mp-login-submit-link {
    text-decoration: none;
}

.mp-login-submit-link:hover {
    text-decoration: none;
    background: #b91443;
    color: var(--mp-login-white);
}

.mp-login-inline-form {
    display: inline;
    margin: 0;
    padding: 0;
    width: auto;
    flex-direction: row;
    gap: 0;
}

.mp-login-text-button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mp-login-red);
    font-family: "Inter Tight", "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
}

.mp-login-text-button:hover {
    text-decoration: underline;
}

.mp-login-body--simple .mp-login-chat {
    bottom: 69px;
}

.mp-login-logo {
    display: block;
    width: 143px;
    height: auto;
}

.mp-login-logo img {
    display: block;
    width: 143px;
    height: auto;
}

.mp-login-form-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mp-login-heading {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    color: var(--mp-login-black);
}

.mp-login-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-login-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mp-login-field .login-label,
.mp-login-label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 2px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--mp-login-black);
}

.mp-login-required {
    color: var(--mp-login-danger);
    font-family: Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.mp-login-input-wrap {
    position: relative;
    width: 100%;
}

.mp-login-field input[type="text"],
.mp-login-field input[type="email"],
.mp-login-field input[type="password"] {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--mp-login-grey-3);
    border-radius: 4px;
    background: var(--mp-login-white);
    color: var(--mp-login-black);
    font-family: "Inter Tight", "Roboto", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    outline: none;
}

.mp-login-input-wrap input {
    padding-right: 64px;
}

.mp-login-field input::placeholder {
    color: var(--mp-login-grey-1);
}

.mp-login-field input:focus {
    border-color: var(--mp-login-red);
}

.mp-login-show-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mp-login-grey-1);
    font-family: "Inter Tight", "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
}

.mp-login-show-pass:hover {
    color: var(--mp-login-black);
}

.mp-login-banner {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.mp-login-banner--success {
    background: #eef8f0;
    color: #1f6b33;
    border: 1px solid #c6e4cd;
}

.mp-login-banner--error {
    background: #fdf2f4;
    color: var(--mp-login-danger);
    border: 1px solid #f0c9d1;
}

.mp-login-field-msg {
    min-height: 18px;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: var(--mp-login-danger);
}

.mp-login-field.is-error input[type="text"],
.mp-login-field.is-error input[type="email"],
.mp-login-field.is-error input[type="password"] {
    border-color: var(--mp-login-danger);
}

.mp-login-options {
    display: flex;
    justify-content: flex-end;
}

.mp-login-options a {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.mp-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 9px 20px;
    border: 0;
    border-radius: 6px;
    background: var(--mp-login-red);
    color: var(--mp-login-white);
    font-family: "Inter Tight", "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
}

.mp-login-submit:hover {
    background: #b91443;
}

.mp-login-signup {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 20px;
}

.mp-login-signup-muted {
    color: var(--mp-login-grey-1);
    font-weight: 400;
}

.mp-login-signup a {
    font-weight: 600;
}

.mp-login-help {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 18px;
}

.mp-login-help-muted {
    color: var(--mp-login-grey-1);
    font-weight: 400;
}

.mp-login-help a {
    font-weight: 600;
}

.mp-login-value {
    flex: 0 1 auto;
    min-width: 0;
    background: transparent;
    padding: 0;
}

.mp-login-promos {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: auto;
}

.mp-login-promo {
    flex: 0 1 332px;
    width: 332px;
    min-width: 0;
    max-width: 332px;
    min-height: 384px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-radius: 16px;
    background: var(--mp-login-white);
    box-shadow: var(--mp-login-shadow);
}

.mp-login-promo-tag {
    display: inline-flex;
    align-self: flex-start;
    margin: 0;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--mp-login-red);
    color: var(--mp-login-white);
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
}

.mp-login-promo-title {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
    color: var(--mp-login-black);
}

.mp-login-promo-subtitle {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: var(--mp-login-black);
}

.mp-login-promo-text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--mp-login-grey-1);
}

.mp-login-promo-spacer {
    flex: 1 1 auto;
    min-height: 8px;
}

.mp-login-promo-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.mp-login-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mp-login-chip {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--mp-login-grey-4);
    color: var(--mp-login-black);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.mp-login-chip-more {
    display: inline-flex;
    padding: 4px;
    color: var(--mp-login-red);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
}

.mp-login-chip-more:hover {
    text-decoration: underline;
}

.mp-login-pulse {
    flex-shrink: 0;
    border-top: 1px solid var(--mp-login-grey-3);
    background: var(--mp-login-white);
    padding: 20px 0 20px 64px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mp-login-pulse-header {
    display: flex;
    justify-content: flex-end;
    padding-right: 64px;
}

.mp-login-pulse-header a {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.mp-login-moving-lines-wrapper {
    position: relative;
    display: flex;
    gap: 12px;
    overflow: hidden;
}

.mp-login-moving-line {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    animation: mpLoginMovingLine 200s linear infinite;
}

.mp-login-moving-lines-wrapper.is-static .mp-login-moving-line {
    animation: none;
}

.mp-login-moving-lines-wrapper:hover .mp-login-moving-line,
.mp-login-moving-lines-wrapper.paused .mp-login-moving-line {
    animation-play-state: paused;
}

.mp-login-moving-lines-wrapper.is-static:hover .mp-login-moving-line {
    animation-play-state: unset;
}

@keyframes mpLoginMovingLine {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 12px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-login-moving-line {
        animation: none;
    }
}

.mp-login-pulse-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    z-index: 1;
    pointer-events: none;
}

.mp-login-pulse-fade-left {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.mp-login-pulse-fade-right {
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.mp-login-pulse-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 193px;
    height: 100px;
    flex-shrink: 0;
    padding: 8px 12px 4px;
    border: 1px solid var(--mp-login-grey-5);
    border-left-width: 2px;
    border-radius: 2px;
    background: var(--mp-login-white);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
}

.mp-login-pulse-card:hover {
    background: #f1f6fc;
    text-decoration: none;
}

.mp-login-pulse-card.is-sell {
    border-left-color: var(--mp-login-green-border);
}

.mp-login-pulse-card.is-buy {
    border-left-color: var(--mp-login-buy-border);
}

.mp-login-pulse-card.is-repair {
    border-left-color: #4673ff;
}

.mp-login-pulse-card.is-aog {
    border-left-color: #e85d04;
}

.mp-login-pulse-card.is-news,
.mp-login-pulse-card.is-default {
    border-left-color: var(--mp-login-grey-1);
}

.mp-login-pulse-card.is-exchange {
    border-left-color: #7b5ea7;
}

.mp-login-pulse-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0 6px;
    border-radius: 2px;
    color: var(--mp-login-white);
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}

.mp-login-pulse-card.is-sell .mp-login-pulse-badge {
    background: var(--mp-login-green);
}

.mp-login-pulse-card.is-buy .mp-login-pulse-badge {
    background: var(--mp-login-red);
}

.mp-login-pulse-card.is-repair .mp-login-pulse-badge {
    background: #4673ff;
}

.mp-login-pulse-card.is-aog .mp-login-pulse-badge {
    background: #e85d04;
}

.mp-login-pulse-card.is-news .mp-login-pulse-badge,
.mp-login-pulse-card.is-default .mp-login-pulse-badge {
    background: var(--mp-login-grey-1);
}

.mp-login-pulse-card.is-exchange .mp-login-pulse-badge {
    background: #7b5ea7;
}

.mp-login-pulse-subject {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--mp-login-black);
}

.mp-login-pulse-message {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--mp-login-black);
}

.mp-login-pulse-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    margin-top: auto;
}

.mp-login-pulse-country {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.mp-login-pulse-flag {
    width: 12px;
    height: 9px;
    object-fit: cover;
    flex-shrink: 0;
}

.mp-login-pulse-country-label,
.mp-login-pulse-date {
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: var(--mp-login-grey-2);
    white-space: nowrap;
}

.mp-login-pulse-country-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-login-footer {
    flex-shrink: 0;
    background: var(--mp-login-white);
}

.mp-login-help--footer {
    display: none;
}

.mp-login-legal {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 64px;
    border-top: 1px solid var(--mp-login-grey-3);
    background: var(--mp-login-white);
    font-size: 14px;
    line-height: 20px;
}

.mp-login-legal-copy {
    margin: 0;
    color: var(--mp-login-grey-1);
    font-weight: 400;
}

.mp-login-legal a {
    font-weight: 400;
}

.mp-login-chat {
    position: fixed;
    right: 24px;
    bottom: 240px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: var(--mp-login-red);
    box-shadow: var(--mp-login-shadow);
    cursor: pointer;
}

.mp-login-chat img {
    width: 24px;
    height: 24px;
    display: block;
}

.mp-login-chat:hover {
    background: #b91443;
}

@media (max-width: 1200px) {
    .mp-login-main-inner {
        gap: 40px;
    }

    .mp-login-panel {
        width: 480px;
        padding: 40px 40px 32px;
    }

    .mp-login-value {
        padding: 0;
    }

    .mp-login-pulse,
    .mp-login-legal {
        padding-left: 40px;
        padding-right: 40px;
    }

    .mp-login-pulse-header {
        padding-right: 40px;
    }
}

@media (max-width: 960px) {
    .mp-login-main {
        align-items: stretch;
    }

    .mp-login-main-inner {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .mp-login-panel {
        width: 100%;
        justify-content: flex-start;
        padding: 20px 20px 0;
        gap: 0;
    }

    .mp-login-logo {
        display: block;
        margin: 0 0 20px;
        padding: 0;
    }

    .mp-login-form-wrap {
        padding: 24px 0 40px;
        gap: 24px;
    }

    .mp-login-help--panel {
        display: none;
    }

    .mp-login-help--footer {
        display: flex;
    }

    .mp-login-value {
        width: 100%;
        padding: 32px 20px;
    }

    .mp-login-promos {
        flex-direction: column;
        gap: 16px;
    }

    .mp-login-promo {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        min-height: 0;
        height: auto;
    }

    .mp-login-pulse {
        border-top: 0;
        padding: 20px 0 24px 20px;
    }

    .mp-login-pulse-header {
        padding-right: 20px;
    }

    .mp-login-pulse-fade {
        display: none;
    }

    .mp-login-footer {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px 20px 24px;
        border-top: 1px solid var(--mp-login-grey-3);
    }

    .mp-login-legal {
        padding: 0;
        border-top: 0;
        gap: 12px 12px;
        row-gap: 4px;
    }

    .mp-login-chat {
        right: 16px;
        bottom: 24px;
    }

    /* Forgot password / email-sent: top-aligned (Figma 13889:929) */
    .mp-login-body--simple .mp-login-logo {
        margin-bottom: 20px;
    }

    .mp-login-body--simple .mp-login-form-wrap,
    .mp-login-body--simple .mp-login-form-wrap--centered {
        justify-content: flex-start;
        align-items: stretch;
        height: auto;
        min-height: 0;
        padding: 32px 0;
    }

    .mp-login-body--simple .mp-login-chat {
        bottom: 135px;
    }
}
