.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;
    margin: 0 auto;
    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: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #eaecf0;
}

.hackher-ma-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -1px;
    padding: 12px 18px 14px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--hackher-ma-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.hackher-ma-tab svg {
    flex-shrink: 0;
    color: currentColor;
    fill: none;
    stroke: currentColor;
}

.hackher-ma-tab:hover,
.hackher-ma-tab:focus,
.hackher-ma-tab:focus-visible {
    background: transparent;
    color: var(--hackher-ma-orange);
    border-bottom-color: var(--hackher-ma-orange);
    outline: none;
    box-shadow: none;
}

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

.hackher-ma-panel {
    display: none;
    padding-top: 0;
    border-top: none;
}

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

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

.hackher-ma-panel-head--profile {
    margin-top: 24px;
}

.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%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    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--readonly {
    background: #f9fafb;
    color: #667085;
    cursor: not-allowed;
}

.hackher-ma-input-wrap--date {
    position: relative;
}

.hackher-ma-input-wrap--date::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' stroke='%2398A2B3' stroke-width='1.8'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4' stroke='%2398A2B3' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.hackher-ma-input--date {
    padding-right: 42px;
}

.hackher-ma-input--date::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.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: 20px 32px;
}

.hackher-ma-grid--profile {
    gap: 18px 28px;
}

.hackher-ma-form-field {
    min-width: 0;
}

.hackher-ma-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #98a2b3;
}

.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-card {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
}

.hackher-ma-security-title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

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

.hackher-ma-security-form .hackher-ma-form-field {
    margin-bottom: 18px;
}

.hackher-ma-security-form .hackher-ma-form-field:last-of-type {
    margin-bottom: 24px;
}

.hackher-ma-field-label--security {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    color: var(--hackher-ma-navy);
}

.hackher-ma-input-wrap--toggle {
    position: relative;
}

.hackher-ma-input-wrap--toggle .hackher-ma-input {
    padding-right: 44px;
}

.hackher-ma-input-wrap--toggle .hackher-cp-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    color: #98a2b3;
    cursor: pointer;
    line-height: 0;
}

.hackher-ma-input::placeholder {
    color: #98a2b3;
}

.hackher-ma-update-password {
    min-width: 168px;
    min-height: 44px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: var(--hackher-ma-orange);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-update-password:hover,
.hackher-ma-update-password:focus {
    background: var(--hackher-ma-orange);
    color: #fff;
}

.hackher-ma-update-password.is-loading,
.hackher-ma-update-password:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hackher-ma-security-extra {
    margin-top: 8px;
}

.hackher-ma-security-extra .hackher-strength-meter {
    margin-bottom: 12px;
}

.hackher-ma-security-requirements {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.hackher-ma-field-error {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #d92d20;
}

.hackher-ma-field-error[hidden] {
    display: none;
}

.hackher-ma-profile-edit .hackher-ma-input.is-invalid {
    border-color: #d92d20;
    box-shadow: 0 0 0 1px #d92d20;
}

.hackher-ma-danger-card {
    max-width: none;
    margin: 20px 0 0;
    padding: 24px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    box-shadow: none;
}

.hackher-ma-danger-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #d92d20;
}

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

.hackher-ma-reactivate-account {
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #d92d20;
    border-radius: 8px;
    background: #fff;
    color: #d92d20;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-reactivate-account:hover,
.hackher-ma-reactivate-account:focus {
    background: #fff;
    color: var(--hackher-ma-orange);
    border-color: var(--hackher-ma-orange);
}

.hackher-ma-delete-account {
    min-width: 150px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #f04438;
    border-radius: 8px;
    background: #fff;
    color: #f04438;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.hackher-ma-delete-account:hover,
.hackher-ma-delete-account:focus {
    background: #fff;
    color: var(--hackher-ma-orange);
    border-color: var(--hackher-ma-orange);
    text-decoration: none;
}

.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: 520px;
    padding: 32px;
    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: left;
    box-sizing: border-box;
}

.hackher-ma-delete-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #1a2333;
    text-align: left;
}

.hackher-ma-delete-notice {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 400;
    text-align: left;
}

.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: 28px;
    text-align: left;
}

.hackher-ma-delete-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1a2333;
}

.hackher-ma-delete-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #1a2333;
    background: #ffffff;
    box-sizing: border-box;
}

.hackher-ma-delete-input::placeholder {
    color: #9ca3af;
}

.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-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hackher-ma-delete-modal .hackher-ma-delete-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-delete-modal .hackher-ma-delete-cancel:hover,
.hackher-ma-delete-modal .hackher-ma-delete-cancel:focus {
    background: #ffffff;
    color: #6b7280;
    border-color: #e5e7eb;
    text-decoration: none;
}

.hackher-ma-delete-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 10px 18px;
    margin: 0;
    border: none;
    border-radius: 8px;
    background: #c53030;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-delete-submit:hover,
.hackher-ma-delete-submit:focus {
    background: #c53030;
    color: #ffffff;
    text-decoration: none;
}

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

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

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

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

.hackher-ma-subscription-card {
    margin-top: 24px;
    padding: 24px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #ffffff;
    box-sizing: border-box;
}

.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-badge--cancelled {
    background: #fef3f2;
    color: #b42318;
}

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

.hackher-ma-plan-highlight {
    margin-bottom: 4px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #f5f7fa;
}

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

.hackher-ma-plan-highlight-name {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--hackher-ma-navy);
}

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

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

.hackher-ma-plan-details {
    margin: 8px 0 0;
    padding: 0;
}

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

.hackher-ma-plan-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hackher-ma-plan-detail-label {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #667085;
}

.hackher-ma-plan-detail-value {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--hackher-ma-navy);
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 60%;
}

.hackher-ma-plan-detail-value--status-cancelling {
    color: #c2410c;
    font-weight: 600;
}

.hackher-ma-reactivate-block {
    margin-top: 28px;
    text-align: left;
}

.hackher-ma-reactivate-block .hackher-ma-resubscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: var(--hackher-ma-orange);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-reactivate-block .hackher-ma-resubscribe:hover,
.hackher-ma-reactivate-block .hackher-ma-resubscribe:focus {
    background: var(--hackher-ma-orange);
    color: #ffffff;
    text-decoration: none;
}

.hackher-ma-reactivate-block .hackher-ma-resubscribe.is-loading {
    opacity: 0.75;
    cursor: wait;
}

.hackher-ma-reactivate-note {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #98a2b3;
    text-align: left;
}

.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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 24px;
    padding: 10px 18px;
    border: 1px solid #f04438;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #d92d20;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-cancel-subscription:hover,
.hackher-ma-cancel-subscription:focus {
    background: #ffffff;
    color: var(--hackher-ma-orange);
    border-color: var(--hackher-ma-orange);
    text-decoration: none;
}

.hackher-ma-cancel-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid #fddcab;
    border-radius: 10px;
    background: #fffaeb;
    color: #93370d;
}

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

.hackher-ma-cancel-alert-text {
    min-width: 0;
}

.hackher-ma-cancel-alert-lead {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    color: #93370d;
}

.hackher-ma-cancel-alert-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    color: #93370d;
}

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

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

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

.hackher-ma-expired-promo {
    margin-top: 28px;
    padding: 28px 24px;
    border-radius: 12px;
    background: #f9fafb;
    text-align: center;
}

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

.hackher-ma-expired-promo-text {
    margin: 0 auto 20px;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--hackher-ma-muted);
}

.hackher-ma-resubscribe-expired {
    display: inline-block;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.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-plan-row .hackher-ma-resubscribe {
    flex-shrink: 0;
    max-width: 240px;
    margin: 0;
}

.hackher-ma-subscription-upsell {
    margin-top: 24px;
    padding: 40px 32px 36px;
    text-align: center;
}

.hackher-ma-upsell-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fce8e6;
    color: #1a2333;
}

.hackher-ma-upsell-title {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
    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: 360px;
    padding: 18px 24px;
    border-radius: 12px;
    background: #f5f6f8;
}

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

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

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

.hackher-ma-start-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: var(--hackher-ma-orange);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-start-premium:hover,
.hackher-ma-start-premium:focus {
    background: var(--hackher-ma-orange);
    color: #ffffff;
    text-decoration: none;
}

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

.hackher-ma-billing-card {
    margin-top: 20px;
}

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

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

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

.hackher-ma-billing-item:first-child {
    padding-top: 12px;
}

.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: 700;
    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: 700;
    color: var(--hackher-ma-navy);
}

.hackher-ma-billing-receipt,
.hackher-ma-billing-receipt:hover,
.hackher-ma-billing-receipt:focus,
.hackher-ma-billing-receipt:active {
    font-size: 13px;
    font-weight: 600;
    color: var(--hackher-ma-orange);
    text-decoration: none;
}

.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;
}

.hackher-ma-cancel-sub-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 32px;
    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: left;
    box-sizing: border-box;
}

.hackher-ma-cancel-sub-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #1a2333;
}

.hackher-ma-cancel-sub-message {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 400;
}

.hackher-ma-cancel-sub-message strong {
    font-weight: 700;
    color: #1a2333;
}

.hackher-ma-cancel-sub-error {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecec;
    border: 1px solid #f5c2c0;
    font-size: 13px;
    line-height: 1.5;
    color: #c53030;
}

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

.hackher-ma-cancel-sub-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hackher-ma-cancel-sub-keep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-cancel-sub-keep:hover,
.hackher-ma-cancel-sub-keep:focus {
    background: #ffffff;
    color: #6b7280;
    border-color: #e5e7eb;
    text-decoration: none;
}

.hackher-ma-cancel-sub-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #c53030;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.hackher-ma-cancel-sub-confirm:hover,
.hackher-ma-cancel-sub-confirm:focus {
    background: #c53030;
    color: #ffffff;
    text-decoration: none;
}

.hackher-ma-cancel-sub-confirm.is-loading {
    opacity: 0.75;
    cursor: wait;
}

@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: 0;
    }

    .hackher-ma-tab {
        padding: 10px 12px 12px;
        font-size: 13px;
    }

    .hackher-ma-profile-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .hackher-ma-cancel-edit--footer,
    .hackher-ma-save-profile {
        width: 100%;
        min-width: 0;
    }

    .hackher-ma-profile-edit-card {
        padding: 18px 16px;
    }

    .hackher-ma-danger-card {
        padding: 18px 16px;
    }

    .hackher-ma-security-card {
        padding: 18px 16px;
    }

    .hackher-ma-subscription-card {
        padding: 18px 16px;
    }

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

    .hackher-ma-reactivate-block .hackher-ma-resubscribe {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .hackher-ma-update-password,
    .hackher-ma-delete-account,
    .hackher-ma-reactivate-account,
    .hackher-ma-cancel-subscription {
        width: 100%;
        min-width: 0;
    }

    .hackher-ma-cancel-sub-keep,
    .hackher-ma-cancel-sub-confirm {
        width: 100%;
        min-width: 0;
    }

    .hackher-ma-cancel-sub-actions {
        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-reactivate-block .hackher-ma-resubscribe {
        max-width: 100%;
        width: 100%;
    }

    .hackher-ma-start-premium {
        width: 100%;
        min-width: 0;
    }

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

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

.hackher-ma-billing-empty {
    font-size: 0.875rem;
    color: #94a3b8;
    padding: 12px 0 4px;
    margin: 0;
}

.hackher-ma-subscription-processing {
    text-align: center;
    padding: 48px 24px;
}

.hackher-ma-processing-text {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--hackher-ma-muted, #667085);
}

.hackher-ma-subscription-processing::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 16px;
    border: 3px solid #eaecf0;
    border-top-color: var(--hackher-ma-orange, #ea6d3c);
    border-radius: 50%;
    animation: hackher-ma-spin 0.8s linear infinite;
}

@keyframes hackher-ma-spin {
    to { transform: rotate(360deg); }
}

/* ── Loading skeleton ── */
@keyframes hackher-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.hackher-ma--loading .hackher-ma-field-value,
.hackher-ma--loading [data-profile-field],
.hackher-ma--loading [data-sub-field],
.hackher-ma--loading .hackher-ma-plan-name,
.hackher-ma--loading .hackher-ma-plan-price {
    display: inline-block;
    min-width: 80px;
    min-height: 1em;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 800px 100%;
    animation: hackher-shimmer 1.4s infinite linear;
    color: transparent !important;
    pointer-events: none;
    vertical-align: middle;
}

.hackher-ma--loading .hackher-ma-avatar-initials {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 800px 100%;
    animation: hackher-shimmer 1.4s infinite linear;
    color: transparent !important;
}

.hackher-ma-profile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.hackher-ma-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: var(--hackher-ma-navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-cancel-edit--header {
    min-height: 36px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: #fff1e8;
    color: var(--hackher-ma-orange);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-profile-edit-card {
    padding: 24px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
}

.hackher-ma-profile-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.hackher-ma-cancel-edit--footer {
    min-width: 110px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #667085;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-save-profile {
    min-width: 150px;
    min-height: 44px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: var(--hackher-ma-orange);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.hackher-ma-save-profile:hover,
.hackher-ma-save-profile:focus {
    background: var(--hackher-ma-orange);
    color: #fff;
}

.hackher-ma-save-profile.is-loading,
.hackher-ma-save-profile:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hackher-ma-profile-edit[hidden] {
    display: none !important;
}

.hackher-ma-profile-view[hidden] {
    display: none !important;
}

.hackher-ma-email-note {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #98a2b3;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.hackher-ma-delete-sub-warning {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff1e8;
    color: #b54708;
    font-size: 14px;
    line-height: 1.45;
}

.hackher-ma-delete-sub-warning[hidden] {
    display: none !important;
}

@media (max-width: 360px) {
    .hackher-ma-card {
        padding: 20px 14px 24px !important;
    }
    .hackher-ma-title {
        font-size: 22px !important;
    }
    .hackher-ma-tab-btn {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    .hackher-ma-plan-detail-row {
        gap: 8px !important;
        padding: 10px 0 !important;
    }
    .hackher-ma-plan-detail-label,
    .hackher-ma-plan-detail-value {
        font-size: 13px !important;
    }
    .hackher-ma-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
}

@media (min-width: 768px) {
    .hackher-ma-logout-tab {
        margin-left: auto !important;
    }
}
