﻿.mw-auth-shell {
    min-height: calc(100vh - 220px);
    background: radial-gradient(900px 420px at 10% 10%, rgba(227,6,19,.12), transparent 55%), linear-gradient(180deg, #060d18 0%, #0b1423 100%);
    padding: 52px 0 70px;
}

.mw-auth-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: stretch;
}

.mw-auth-side {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 680px;
    background: linear-gradient(180deg, rgba(6,13,24,.58), rgba(6,13,24,.86)), url('/Images/logos/bg_01.jpg') center/cover no-repeat;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mw-auth-side-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 18px;
}

.mw-auth-side h1 {
    margin: 0;
    color: #fff;
    font-size: 42px;
    line-height: 1.04;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.mw-auth-side p {
    margin: 16px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.85;
    max-width: 540px;
    font-weight: 500;
}

.mw-auth-card {
    background: rgba(11,20,35,.92);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    overflow: hidden;
    min-height: 680px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mw-auth-card-inner {
    padding: 34px 30px 30px;
}

.mw-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

    .mw-auth-brand img {
        height: 34px;
        width: auto;
    }

.mw-auth-title {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    letter-spacing: .3px;
}

.mw-auth-subtitle {
    margin: 10px auto 0;
    max-width: 480px;
    color: #b8c0cc;
    text-align: center;
    line-height: 1.8;
    font-size: 14px;
    font-weight: 500;
}

    .mw-auth-subtitle strong {
        color: #fff;
    }

.mw-auth-form {
    margin-top: 28px;
}

.mw-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mw-form-group {
    margin-bottom: 16px;
}

    .mw-form-group.full {
        grid-column: 1 / -1;
    }

.mw-form-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .2px;
}

.mw-input-wrap {
    position: relative;
}

.mw-input {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #fff;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: all .18s ease;
}

    .mw-input::placeholder {
        color: #95a0b1;
    }

    .mw-input:focus {
        border-color: rgba(227,6,19,.45);
        box-shadow: 0 0 0 .22rem rgba(227,6,19,.14);
        background: rgba(255,255,255,.06);
    }

select.mw-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 44px;
}

    select.mw-input option {
        color: #111;
    }

textarea.mw-input {
    min-height: 120px;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}

.mw-input[readonly] {
    opacity: .9;
    cursor: not-allowed;
}

.mw-input-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: #a9b0bb;
    font-size: 14px;
    pointer-events: none;
}

.mw-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #a9b0bb;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    transition: all .18s ease;
}

    .mw-password-toggle:hover {
        color: #fff;
        background: rgba(255,255,255,.06);
    }

.mw-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

    .mw-check-row input {
        margin-top: 3px;
        accent-color: #E30613;
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
    }

    .mw-check-row label {
        color: #b8c0cc;
        font-size: 13px;
        line-height: 1.7;
        font-weight: 500;
        cursor: pointer;
    }

    .mw-check-row a {
        color: #fff;
        text-decoration: underline;
    }

.mw-auth-btn {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    border: 0;
    background: #E30613;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: all .2s ease;
    box-shadow: 0 18px 36px rgba(227,6,19,.22);
}

    .mw-auth-btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.06);
    }

    .mw-auth-btn:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none;
        filter: none;
    }

.mw-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 18px;
    color: #92a0b0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

    .mw-auth-divider::before,
    .mw-auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.08);
    }

.mw-google-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    width: 100%;
}

.mw-auth-footer {
    margin-top: 22px;
    text-align: center;
    color: #b8c0cc;
    font-size: 14px;
    font-weight: 500;
}

    .mw-auth-footer a {
        color: #fff;
        font-weight: 800;
    }

.mw-alert {
    display: none;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.7;
}

    .mw-alert.show {
        display: flex;
    }

    .mw-alert i {
        flex: 0 0 auto;
        font-size: 16px;
    }

    .mw-alert.error {
        background: rgba(227,6,19,.12);
        border: 1px solid rgba(227,6,19,.22);
        color: #ffd4d7;
    }

    .mw-alert.success {
        background: rgba(0,180,120,.12);
        border: 1px solid rgba(0,180,120,.22);
        color: #d4fff1;
    }

    .mw-alert.info {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.08);
        color: #d6dbe4;
    }

.mw-verify-code {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 64px));
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

    .mw-verify-code input {
        width: 64px;
        min-width: 0;
        max-width: 64px;
        height: 64px;
        padding: 0;
        border-radius: 18px;
        border: 1px solid rgba(255,255,255,.10);
        background: rgba(255,255,255,.04);
        color: #fff;
        text-align: center;
        font-size: 26px;
        font-weight: 900;
        line-height: 64px;
        outline: none;
        box-sizing: border-box;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: textfield;
    }

        .mw-verify-code input::-webkit-outer-spin-button,
        .mw-verify-code input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .mw-verify-code input:focus {
            border-color: rgba(227,6,19,.45);
            box-shadow: 0 0 0 .22rem rgba(227,6,19,.14);
            background: rgba(255,255,255,.06);
        }

.mw-auth-mini {
    margin-top: 18px;
    text-align: center;
    color: #92a0b0;
    font-size: 13px;
    font-weight: 500;
}

    .mw-auth-mini a {
        color: #fff;
        font-weight: 800;
    }

@media (max-width: 992px) {
    .mw-auth-grid {
        grid-template-columns: 1fr;
    }

    .mw-auth-side {
        min-height: 420px;
    }

    .mw-auth-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .mw-form-grid {
        grid-template-columns: 1fr;
    }

    .mw-auth-side {
        padding: 26px;
    }

        .mw-auth-side h1 {
            font-size: 34px;
        }

    .mw-auth-card-inner {
        padding: 24px 20px 22px;
    }

    .mw-verify-code {
        grid-template-columns: repeat(6, minmax(0, 48px));
        gap: 8px;
    }

        .mw-verify-code input {
            width: 48px;
            max-width: 48px;
            height: 48px;
            font-size: 20px;
            line-height: 48px;
            border-radius: 14px;
        }
}

.mw-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 24px;
    flex-wrap: wrap;
}

.mw-step-item {
    min-width: 120px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .7;
    transition: all .2s ease;
}

    .mw-step-item span {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.07);
        color: #fff;
        font-size: 12px;
        font-weight: 900;
        flex: 0 0 28px;
    }

    .mw-step-item strong {
        color: #cfd6df;
        font-size: 13px;
        font-weight: 800;
    }

    .mw-step-item.is-active {
        opacity: 1;
        border-color: rgba(227,6,19,.30);
        background: rgba(227,6,19,.08);
        box-shadow: 0 14px 26px rgba(227,6,19,.10);
    }

        .mw-step-item.is-active span {
            background: #E30613;
        }

        .mw-step-item.is-active strong {
            color: #fff;
        }

.mw-step-panel {
    display: none;
}

    .mw-step-panel.is-active {
        display: block;
    }

.mw-step-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

    .mw-step-actions.single .mw-auth-btn {
        width: 100%;
    }

.mw-auth-btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,.08);
}

    .mw-auth-btn-ghost:hover {
        background: rgba(255,255,255,.12);
        filter: none;
    }

    .mw-auth-btn-ghost.danger {
        border-color: rgba(227,6,19,.22);
        color: #ffd7db;
    }

.mw-account-type-box {
    margin-top: 4px;
}

.mw-account-type-head {
    text-align: center;
    margin-bottom: 18px;
}

    .mw-account-type-head h3 {
        margin: 0;
        color: #fff;
        font-size: 22px;
        font-weight: 900;
    }

    .mw-account-type-head p {
        margin: 8px 0 0;
        color: #9aa6b7;
        font-size: 14px;
    }

.mw-account-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

    .mw-account-type-grid.compact {
        grid-template-columns: repeat(3, 1fr);
    }

.mw-account-type-card {
    min-height: 180px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.02) 100%);
    padding: 20px 18px;
    text-align: left;
    color: #fff;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

    .mw-account-type-card:hover {
        transform: translateY(-4px);
        border-color: rgba(227,6,19,.24);
        box-shadow: 0 18px 38px rgba(0,0,0,.22);
    }

    .mw-account-type-card.is-selected {
        border-color: rgba(227,6,19,.38);
        background: linear-gradient(180deg, rgba(227,6,19,.12) 0%, rgba(255,255,255,.03) 100%);
        box-shadow: 0 18px 38px rgba(227,6,19,.12);
    }

    .mw-account-type-card strong {
        font-size: 18px;
        font-weight: 900;
    }

    .mw-account-type-card small {
        color: #b9c2cf;
        font-size: 13px;
        line-height: 1.7;
        font-weight: 500;
    }

.mw-account-type-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.mw-account-type-card.is-selected .mw-account-type-icon {
    background: #E30613;
}

.mw-profile-photo-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    padding: 18px;
}

.mw-profile-photo-preview {
    width: 108px;
    height: 108px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(227,6,19,.92), rgba(153,12,22,.92));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 108px;
    box-shadow: 0 18px 34px rgba(227,6,19,.14);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .mw-profile-photo-preview span {
        color: #fff;
        font-size: 34px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .mw-profile-photo-preview.has-image span {
        display: none;
    }

.mw-profile-photo-meta {
    min-width: 0;
    flex: 1;
}

    .mw-profile-photo-meta h3 {
        margin: 0;
        color: #fff;
        font-size: 18px;
        font-weight: 900;
    }

    .mw-profile-photo-meta p {
        margin: 8px 0 0;
        color: #9aa6b7;
        font-size: 13px;
        line-height: 1.7;
    }

.mw-profile-photo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.mw-photo-btn {
    min-width: 140px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(227,6,19,.24);
    background: rgba(227,6,19,.10);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 800;
    transition: all .18s ease;
    cursor: pointer;
}

    .mw-photo-btn:hover {
        transform: translateY(-1px);
        background: rgba(227,6,19,.16);
    }

.mw-photo-btn-soft {
    border-color: rgba(255,255,255,.08);
    background: rgba(255,255,255,.06);
}

.mw-phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mw-phone-code {
    min-width: 78px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    padding: 0 12px;
    flex: 0 0 auto;
}

.mw-phone-row .mw-input-wrap {
    flex: 1;
}

.mw-field-help {
    margin-top: 8px;
    color: #8e9db0;
    font-size: 12px;
    line-height: 1.6;
}

.mw-input.is-invalid,
.bootstrap-select.is-invalid .dropdown-toggle {
    border-color: rgba(255,94,106,.65) !important;
    box-shadow: 0 0 0 .20rem rgba(255,94,106,.12) !important;
}

.mw-inline-error {
    display: none;
    margin-top: 8px;
    color: #ffb3bb;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

    .mw-inline-error.show {
        display: block;
    }

@media (max-width: 992px) {
    .mw-account-type-grid,
    .mw-account-type-grid.compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mw-profile-photo-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .mw-profile-photo-preview {
        width: 94px;
        height: 94px;
        border-radius: 20px;
        flex-basis: 94px;
    }

        .mw-profile-photo-preview span {
            font-size: 28px;
        }

    .mw-phone-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mw-phone-code {
        width: 100%;
    }

    .mw-step-actions {
        flex-direction: column;
    }

        .mw-step-actions .mw-auth-btn {
            width: 100%;
        }
}

.mw-auth-card,
.mw-auth-card-inner,
.mw-auth-form,
.mw-form-grid,
.mw-form-group {
    overflow: visible !important;
}

.mw-native-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer;
    padding-right: 44px !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    color-scheme: dark;
    color: #fff;
}

    .mw-native-select option {
        background-color: #0f1726 !important;
        color: #f7f9fc !important;
    }

        .mw-native-select option:checked {
            background-color: #1b2a44 !important;
            color: #ffffff !important;
        }

    .mw-native-select:focus {
        border-color: rgba(227,6,19,.45);
        box-shadow: 0 0 0 .22rem rgba(227,6,19,.14);
    }

    .mw-native-select:disabled,
    .mw-input:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

.mw-auth-btn.is-loading,
.mw-photo-btn.is-loading {
    pointer-events: none;
    opacity: .88;
}

.mw-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.24);
    border-top-color: #fff;
    animation: mw-btn-spin .75s linear infinite;
    margin-right: 10px;
    vertical-align: -2px;
}

@keyframes mw-btn-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mw-auth-shell {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
}

    .mw-auth-shell.is-ready {
        opacity: 1;
        transform: translateY(0);
    }

.mw-step-panel.is-active {
    animation: mw-panel-fade .25s ease;
}

@keyframes mw-panel-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mw-input:disabled,
.mw-native-select:disabled,
.mw-auth-btn:disabled,
.mw-photo-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.mw-input[readonly] {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    color: #dbe4ef;
}

.mw-input:-webkit-autofill,
.mw-input:-webkit-autofill:hover,
.mw-input:-webkit-autofill:focus,
.mw-native-select:-webkit-autofill,
.mw-native-select:-webkit-autofill:hover,
.mw-native-select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #162033 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    border-radius: 16px !important;
}

.mw-input:focus,
.mw-native-select:focus,
.mw-photo-btn:focus,
.mw-auth-btn:focus,
.mw-auth-btn-ghost:focus {
    outline: none;
}

.mw-inline-error {
    min-height: 18px;
}

.mw-account-type-card {
    cursor: pointer;
}

    .mw-account-type-card::after {
        content: "";
        position: absolute;
        inset: auto 14px 14px auto;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid rgba(255,255,255,.18);
        transition: all .18s ease;
    }

    .mw-account-type-card.is-selected::after {
        background: #E30613;
        border-color: #E30613;
        box-shadow: 0 0 0 4px rgba(227,6,19,.12);
    }

.mw-profile-photo-card,
.mw-account-type-card,
.mw-step-item,
.mw-auth-card,
.mw-auth-side {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

    .mw-profile-photo-card:hover {
        border-color: rgba(255,255,255,.10);
        box-shadow: 0 18px 34px rgba(0,0,0,.14);
    }

.mw-native-select option[disabled],
.mw-native-select option[value=""] {
    color: #cbd5e1;
}

.mw-auth-links-row {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 18px;
}

.mw-auth-inline-link {
    color: #dfe7f3;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease, opacity .18s ease;
}

    .mw-auth-inline-link:hover {
        color: #fff;
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .mw-auth-links-row {
        justify-content: center;
    }
}

.mw-profile-status-card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    padding: 18px 18px 16px;
    margin-bottom: 22px;
    box-shadow: 0 18px 34px rgba(0,0,0,.14);
}

.mw-profile-status-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.mw-profile-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
    text-transform: uppercase;
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
}

.mw-profile-status-title {
    margin: 12px 0 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.mw-profile-status-text {
    margin: 8px 0 0;
    color: #b8c0cc;
    font-size: 13px;
    line-height: 1.8;
}

.mw-profile-status-percent {
    flex: 0 0 auto;
    min-width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
}

.mw-profile-status-progress {
    position: relative;
    margin-top: 16px;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden;
}

    .mw-profile-status-progress span {
        display: block;
        height: 100%;
        width: 0;
        border-radius: 999px;
        background: linear-gradient(90deg, #E30613 0%, #ff5b65 100%);
        transition: width .3s ease;
    }

.mw-profile-status-missing {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.mw-profile-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #dce4ef;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.mw-profile-status-card.is-complete .mw-profile-status-badge {
    background: rgba(0,180,120,.14);
    border-color: rgba(0,180,120,.24);
    color: #d5fff1;
}

.mw-profile-status-card.is-complete .mw-profile-status-progress span {
    background: linear-gradient(90deg, #0ac98b 0%, #31e6a8 100%);
}

.mw-profile-status-card.is-warning .mw-profile-status-badge {
    background: rgba(255,170,0,.14);
    border-color: rgba(255,170,0,.24);
    color: #ffe7ba;
}

.mw-profile-status-card.is-warning .mw-profile-status-progress span {
    background: linear-gradient(90deg, #ff9a00 0%, #ffc14d 100%);
}

@media (max-width: 768px) {
    .mw-profile-status-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .mw-profile-status-percent {
        width: 72px;
    }
}


/* =========================
   Profile page layout tune
   ========================= */
.mw-profile-shell {
    padding-top: 34px;
    padding-bottom: 64px;
}

    .mw-profile-shell .container-mw {
        max-width: 1120px;
    }

    .mw-profile-shell .mw-auth-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .mw-profile-shell .mw-auth-side {
        min-height: clamp(260px, 30vw, 320px);
        padding: 28px 30px 30px;
        justify-content: flex-end;
        background-position: center 34%;
    }

        .mw-profile-shell .mw-auth-side h1 {
            font-size: clamp(2rem, 4.4vw, 3rem);
            max-width: 760px;
        }

        .mw-profile-shell .mw-auth-side p {
            max-width: 760px;
            font-size: 14px;
            line-height: 1.75;
        }

    .mw-profile-shell .mw-auth-card {
        min-height: auto;
    }

    .mw-profile-shell .mw-auth-card-inner {
        padding: 30px 30px 28px;
    }

    .mw-profile-shell .mw-auth-brand {
        margin-bottom: 14px;
    }

    .mw-profile-shell .mw-auth-title {
        font-size: 30px;
    }

    .mw-profile-shell .mw-auth-subtitle {
        max-width: 760px;
        margin-top: 8px;
    }

    .mw-profile-shell .mw-auth-form {
        margin-top: 18px;
    }

    .mw-profile-shell .mw-profile-status-card {
        margin-bottom: 18px;
    }

    .mw-profile-shell .mw-account-hub {
        margin: 0 0 22px;
    }

    .mw-profile-shell .mw-account-hub-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .mw-profile-shell .mw-account-hub-card {
        min-height: 100%;
    }

    .mw-profile-shell .mw-profile-photo-card {
        margin-bottom: 22px;
        padding: 20px;
    }

    .mw-profile-shell .mw-profile-photo-preview {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
        border-radius: 22px;
    }

        .mw-profile-shell .mw-profile-photo-preview span {
            font-size: 30px;
        }

    .mw-profile-shell .mw-form-grid {
        gap: 18px;
    }

    .mw-profile-shell .mw-account-type-grid.compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mw-profile-shell .mw-account-type-card {
        min-height: 136px;
        padding: 18px 16px;
        gap: 12px;
    }

    .mw-profile-shell .mw-account-type-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 18px;
    }

    .mw-profile-shell .mw-account-type-card strong {
        font-size: 16px;
    }

    .mw-profile-shell .mw-profile-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 24px;
    }

        .mw-profile-shell .mw-profile-actions .mw-auth-btn {
            width: 100%;
            min-height: 54px;
            height: auto;
            padding: 14px 16px;
        }

@media (max-width: 1200px) {
    .mw-profile-shell .mw-profile-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .mw-profile-shell .mw-profile-actions .mw-auth-btn:last-child {
            grid-column: 1 / -1;
        }
}

@media (max-width: 992px) {
    .mw-profile-shell .mw-auth-side {
        min-height: 250px;
    }

    .mw-profile-shell .mw-account-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mw-profile-shell {
        padding-top: 26px;
        padding-bottom: 56px;
    }

        .mw-profile-shell .mw-auth-side {
            min-height: 220px;
            padding: 22px;
        }

        .mw-profile-shell .mw-auth-card-inner {
            padding: 24px 20px 22px;
        }

        .mw-profile-shell .mw-profile-photo-card {
            flex-direction: column;
            align-items: flex-start;
        }

        .mw-profile-shell .mw-account-type-grid.compact,
        .mw-profile-shell .mw-profile-actions {
            grid-template-columns: 1fr;
        }
}
