.pmw-lg-auth,
.pmw-lg-portal,
.pmw-panel,
.pmw-form {
    box-sizing: border-box;
    font-family: inherit;
}

.pmw-lg-auth *,
.pmw-lg-portal *,
.pmw-panel *,
.pmw-form * {
    box-sizing: border-box;
}

.pmw-lg-auth {
    min-height: 640px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 30px;
    background: #efe2fb;
}

.pmw-lg-card {
    width: min(650px, 100%);
    min-height: 610px;
    padding: 32px 30px 24px;
    border-radius: 14px 14px 0 0;
    background: #ffffff;
}

.pmw-lg-card h2 {
    margin: 0;
    color: #000000;
    font-size: 40px;
    line-height: 1.15;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0;
}

.pmw-lg-rule {
    width: 214px;
    height: 5px;
    margin: 6px auto 54px;
    background: #ffd600;
}

.pmw-lg-panels {
    position: relative;
}

.pmw-lg-panel {
    display: block;
}

.pmw-register-panel {
    display: none;
}

.pmw-lg-panels.is-registering .pmw-login-panel {
    display: none;
}

.pmw-lg-panels.is-registering .pmw-register-panel {
    display: block;
}

.pmw-lg-panel h3 {
    margin: 0 0 18px;
    color: #220044;
    font-size: 24px;
}

.pmw-lg-panel label,
.pmw-form label {
    display: block;
    margin-bottom: 16px;
    color: #121212;
    font-weight: 700;
}

.pmw-lg-panel input,
.pmw-lg-panel .input,
.pmw-form input,
.pmw-form textarea,
.pmw-panel input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 12px 16px;
    margin-top: 6px;
    background: #ffffff;
    color: #111111;
}

.pmw-lg-panel .login-remember {
    float: right;
    margin-top: 0;
}

.pmw-lg-panel .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.pmw-lg-panel .login-remember input {
    width: 14px;
    min-height: 14px;
    margin: 0;
}

.pmw-lg-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 4px 0 30px;
}

.pmw-lg-login-row a {
    color: #101010;
    text-decoration: none;
    font-weight: 700;
}

.pmw-lg-login-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
}

.pmw-lg-login-row input {
    width: 14px;
    min-height: 14px;
    margin: 0;
}

.pmw-lg-panel .login-submit {
    clear: both;
    padding-top: 18px;
}

.pmw-lg-panel .button-primary,
.pmw-lg-submit,
.pmw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border: 2px solid #250045;
    border-radius: 14px;
    padding: 10px 18px;
    background: #ffe54d;
    color: #050005;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: none;
}

.pmw-lg-panel .button-primary:hover,
.pmw-lg-submit:hover,
.pmw-button:hover {
    background: #ffdc1f;
    color: #050005;
}

.pmw-lg-switch {
    margin: 46px 0 0;
    text-align: center;
    color: #000000;
}

.pmw-lg-switch a {
    color: #2b0070;
    text-decoration: none;
}

.pmw-lg-switch [data-pmw-login] {
    display: none;
}

.pmw-alert {
    border-left: 4px solid #7c3aed;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
    background: #f6edff;
    color: #2b004f;
}

.pmw-lg-portal {
    width: 100%;
    min-height: 620px;
    background: #ffffff;
    color: #080008;
}

.pmw-lg-topnav {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 66px;
    padding: 0 10px 0 185px;
    background: #fff7db;
    border-top: 1px solid #fff0b0;
}

.pmw-lg-topnav a {
    color: #26004d;
    text-decoration: none;
    font-size: 26px;
    font-weight: 500;
}

.pmw-lg-topnav .is-active {
    font-weight: 800;
}

.pmw-lg-body {
    display: grid;
    grid-template-columns: 305px minmax(0, 1fr);
    gap: 42px;
}

.pmw-lg-sidebar {
    min-height: 535px;
    border-right: 6px solid #bda5d9;
    background: #ffffff;
    overflow: hidden;
}

.pmw-lg-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 100px;
    padding: 12px 22px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(135deg, #8b3ff4 0%, #9d4df6 100%);
    color: #ffffff;
}

.pmw-lg-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 4px solid #260042;
    border-radius: 50%;
    color: #260042;
    font-size: 44px;
    line-height: 1;
}

.pmw-lg-profile strong {
    font-size: 20px;
    line-height: 1.2;
}

.pmw-lg-sidebar a {
    display: block;
    margin: 12px 0;
    padding: 13px 26px;
    background: #ffef99;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.pmw-lg-content {
    padding: 15px 0 28px;
}

.pmw-lg-subscription {
    width: calc(100% - 34px);
    min-height: 348px;
    border-radius: 6px;
    background: #efe2fb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

.pmw-lg-subscription h2 {
    margin: 0;
    padding: 24px 26px 8px;
    color: #321060;
    font-size: 26px;
    line-height: 1.2;
}

.pmw-lg-subscription p {
    margin: 0;
    padding: 10px 26px 26px;
    color: #000000;
    font-size: 17px;
}

.pmw-lg-divider {
    height: 1px;
    background: #dfd2eb;
}

.pmw-lg-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 6px;
    padding: 26px;
}

.pmw-lg-packages a {
    min-width: 260px;
    border: 2px solid #2c004f;
    border-radius: 13px;
    padding: 9px 22px;
    background: #ffe552;
    color: #070007;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.3px;
}

.pmw-lg-packages .pmw-token {
    min-width: 180px;
    background: #9546f3;
    color: #ffffff;
    font-weight: 800;
}

.pmw-lg-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: calc(100% - 34px);
    margin-top: 18px;
}

.pmw-lg-summary div,
.pmw-lg-referral,
.pmw-panel,
.pmw-form {
    border: 1px solid #e8d8fb;
    border-radius: 8px;
    padding: 16px;
    background: #fff7db;
}

.pmw-lg-summary span {
    display: block;
    color: #4b2b73;
    font-size: 13px;
    font-weight: 700;
}

.pmw-lg-summary strong {
    display: block;
    margin-top: 4px;
    color: #100020;
    font-size: 22px;
}

.pmw-lg-referral {
    width: calc(100% - 34px);
    margin-top: 16px;
}

.pmw-lg-referral input {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border: 1px solid #d5c5e5;
    border-radius: 6px;
    padding: 9px 12px;
}

.pmw-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.pmw-table {
    width: 100%;
    border-collapse: collapse;
}

.pmw-table th,
.pmw-table td {
    border-bottom: 1px solid #e2d5f1;
    padding: 12px;
    text-align: left;
}

.pmw-table th {
    background: #fff2a6;
    color: #250045;
    font-weight: 800;
}

@media (max-width: 900px) {
    .pmw-lg-auth {
        padding: 14px;
    }

    .pmw-lg-card {
        min-height: auto;
        padding: 26px 20px;
    }

    .pmw-lg-card h2 {
        font-size: 32px;
    }

    .pmw-lg-topnav {
        justify-content: center;
        gap: 22px;
        padding: 0 14px;
    }

    .pmw-lg-topnav a {
        font-size: 20px;
    }

    .pmw-lg-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pmw-lg-sidebar {
        min-height: auto;
        border-right: 0;
    }

    .pmw-lg-content {
        padding: 0 12px 20px;
    }

    .pmw-lg-subscription,
    .pmw-lg-summary,
    .pmw-lg-referral {
        width: 100%;
    }

    .pmw-lg-summary {
        grid-template-columns: 1fr;
    }

    .pmw-lg-login-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .pmw-lg-packages a {
        width: 100%;
        min-width: 0;
    }
}
