.hackher-my-account {
    --hackher-ma-navy: #18294f;
    --hackher-ma-orange: #ea6d3c;
    --hackher-ma-muted: #667085;
    --hackher-ma-tab-bg: #f5f6f8;
    --hackher-ma-tab-active: #fff1e8;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.hackher-ma-section {
    padding: 40px 20px 56px;
}

.hackher-ma-card {
    max-width: 960px;
    padding: 36px 40px 40px;
    text-align: left;
}

.hackher-ma-title {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-subtitle {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--hackher-ma-muted);
}

.hackher-ma-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hackher-ma-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: var(--hackher-ma-tab-bg);
    color: var(--hackher-ma-navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.hackher-ma-tab svg {
    flex-shrink: 0;
}

.hackher-ma-tab.is-active {
    background: var(--hackher-ma-tab-active);
    color: var(--hackher-ma-orange);
}

.hackher-ma-panel {
    display: none;
    padding-top: 8px;
    border-top: 1px solid #eaecf0;
}

.hackher-ma-panel.is-active {
    display: block;
}

.hackher-ma-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 22px;
}

.hackher-ma-panel-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-tab[href] {
    text-decoration: none;
}

.hackher-ma-panel--edit {
    display: block;
}

.hackher-ma-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--hackher-ma-navy);
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hackher-ma-input:focus {
    outline: none;
    border-color: #98a2b3;
    box-shadow: 0 0 0 3px rgba(24, 41, 79, 0.06);
}

.hackher-ma-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}

.hackher-ma-form-actions .hackher-cp-submit {
    margin: 0;
    max-width: 200px;
}

.hackher-ma-cancel {
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    text-decoration: underline;
}

.hackher-ma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.hackher-ma-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--hackher-ma-muted);
}

.hackher-ma-field-value {
    display: block;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--hackher-ma-navy);
}

.hackher-ma-placeholder {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hackher-ma-muted);
}

.hackher-ma-security-form {
    max-width: 520px;
}

.hackher-ma-security-form .hackher-cp-field--inset {
    margin-bottom: 16px;
}

.hackher-ma-security-requirements {
    margin: 4px 0 20px;
}

.hackher-ma-security-form .hackher-cp-submit {
    margin: 8px 0 0;
    max-width: 220px;
}

.hackher-ma-danger-card {
    max-width: 960px;
    margin: 20px auto 0;
    padding: 28px 40px 32px;
    text-align: left;
}

.hackher-ma-danger-text {
    margin: 12px 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hackher-ma-muted);
}

.hackher-ma-reactivate-account {
    max-width: 280px;
    margin: 0;
}

.hackher-ma-delete-account {
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    text-decoration: underline;
    cursor: pointer;
}

.hackher-ma-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hackher-ma-delete-modal[hidden] {
    display: none;
}

.hackher-ma-delete-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 41, 79, 0.45);
}

.hackher-ma-delete-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 32px 32px 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(24, 41, 79, 0.18),
        0 8px 20px rgba(24, 41, 79, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.hackher-ma-delete-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-delete-notice {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hackher-ma-navy);
    font-weight: 500;
}

.hackher-ma-delete-message {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hackher-ma-muted);
}

.hackher-ma-delete-field {
    margin-bottom: 24px;
    text-align: left;
}

.hackher-ma-delete-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hackher-ma-navy);
}

.hackher-ma-delete-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--hackher-ma-navy);
    background: #ffffff;
    box-sizing: border-box;
}

.hackher-ma-delete-input:focus {
    outline: none;
    border-color: #98a2b3;
    box-shadow: 0 0 0 3px rgba(24, 41, 79, 0.06);
}

.hackher-ma-delete-submit {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
}

.hackher-ma-delete-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.hackher-ma-delete-cancel {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    text-decoration: underline;
    cursor: pointer;
}

body.hackher-ma-modal-open {
    overflow: hidden;
}

.hackher-ma-plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 18px;
}

.hackher-ma-plan-head .hackher-ma-panel-title {
    margin: 0;
}

.hackher-ma-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.hackher-ma-status-badge--active {
    background: #ecfdf3;
    color: #027a48;
}

.hackher-ma-status-badge--cancelling {
    background: #fff1e8;
    color: #c2410c;
}

.hackher-ma-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.hackher-ma-plan-name {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--hackher-ma-muted);
}

.hackher-ma-plan-price {
    margin: 0 0 24px;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-plan-price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--hackher-ma-muted);
}

.hackher-ma-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    padding-top: 20px;
    border-top: 1px solid #eaecf0;
}

.hackher-ma-plan-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.hackher-ma-cancel-subscription {
    margin-top: 28px;
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    text-decoration: underline;
    cursor: pointer;
}

.hackher-ma-cancel-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff8eb;
    color: #9a6700;
}

.hackher-ma-cancel-alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.hackher-ma-cancel-alert p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.hackher-ma-plan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.hackher-ma-plan-row .hackher-ma-plan-name,
.hackher-ma-plan-row .hackher-ma-plan-price {
    margin: 0;
}

.hackher-ma-plan-row .hackher-ma-plan-price {
    margin-top: 4px;
}

.hackher-ma-reactivate,
.hackher-ma-resubscribe {
    flex-shrink: 0;
    max-width: 240px;
    margin: 0;
}

.hackher-ma-subscription-upsell {
    max-width: 520px;
    margin: 0 auto;
    padding: 12px 0 8px;
    text-align: center;
}

.hackher-ma-upsell-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eef3fb;
    color: #3b5ccc;
}

.hackher-ma-upsell-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-upsell-text {
    margin: 0 auto 24px;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--hackher-ma-muted);
}

.hackher-ma-upsell-price-card {
    margin: 0 auto 24px;
    max-width: 280px;
    padding: 18px 24px;
    border-radius: 14px;
    background: #f5f6f8;
}

.hackher-ma-upsell-price {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-upsell-price span {
    font-size: 18px;
    font-weight: 500;
}

.hackher-ma-upsell-note {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--hackher-ma-muted);
}

.hackher-ma-start-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    text-decoration: none;
}

.hackher-ma-billing-card[hidden],
.hackher-ma-subscription-active[hidden],
.hackher-ma-subscription-cancelling[hidden],
.hackher-ma-subscription-upsell[hidden] {
    display: none !important;
}

.hackher-ma-billing-card {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #eaecf0;
}

.hackher-ma-billing-card .hackher-ma-panel-title {
    margin-bottom: 18px;
}

.hackher-ma-billing-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hackher-ma-billing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f2f4f7;
}

.hackher-ma-billing-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hackher-ma-billing-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hackher-ma-billing-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
}

.hackher-ma-billing-desc {
    font-size: 13px;
    color: var(--hackher-ma-muted);
}

.hackher-ma-billing-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.hackher-ma-billing-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
}

.hackher-ma-billing-receipt {
    font-size: 13px;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    text-decoration: underline;
}

.hackher-ma-cancel-sub-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hackher-ma-cancel-sub-modal[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .hackher-ma-section {
        padding: 28px 16px 40px;
    }

    .hackher-ma-card {
        padding: 24px 20px 28px;
    }

    .hackher-ma-title {
        font-size: 26px;
    }

    .hackher-ma-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hackher-ma-tabs {
        gap: 8px;
    }

    .hackher-ma-tab {
        padding: 9px 14px;
        font-size: 13px;
    }

    .hackher-ma-danger-card {
        padding: 24px 20px 28px;
    }

    .hackher-ma-security-form .hackher-cp-submit {
        max-width: 100%;
    }

    .hackher-ma-plan-grid,
    .hackher-ma-plan-grid--3 {
        grid-template-columns: 1fr;
    }

    .hackher-ma-plan-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hackher-ma-reactivate,
    .hackher-ma-resubscribe {
        max-width: 100%;
        width: 100%;
    }

    .hackher-ma-billing-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .hackher-ma-billing-side {
        align-items: flex-start;
    }
}
