#footer-left,#footer-upgrade {
    display: none;
}

/* Settings page: a card of rows — the label in one column, its control in the
   next; on/off settings are switches; a setting's sub-options sit in a tinted
   panel under it. */
.mh-settings-wrap {
    max-width: 1200px;
}

.mh-settings-title {
    font-size: 23px;
    font-weight: 600;
    margin: 4px 0 14px;
}

.mh-settings-page {
    font-size: 14px;
    margin: 0;
    max-width: 920px;
}

.mh-card {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    padding: 6px 24px;
}

.mh-settings-page .conf {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f1;
}

.mh-card > .conf:last-child {
    border-bottom: 0;
}

.mh-settings-page .mh-label {
    font-weight: 600;
    color: #1d2327;
}

.mh-settings-page .conf > select,
.mh-settings-page .conf > input[type=text],
.mh-settings-page .conf > input[type=number],
.mh-settings-page .conf > input[type=date] {
    justify-self: start;
    min-width: 220px;
    max-width: 100%;
    min-height: 36px;
    border-radius: 6px;
}

.mh-settings-page .conf > select[multiple] {
    min-width: 260px;
    min-height: 96px;
    padding: 4px;
}

.mh-settings-page .conf > input[type=color] {
    justify-self: start;
    width: 56px;
    height: 34px;
    padding: 2px;
    border: 1px solid #8c8f94;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

/* On/off settings: the whole row is the switch's label */
.mh-settings-page .conf-checkbox {
    display: block;
}

.mh-check {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    line-height: 1.4;
}

.mh-check > span {
    color: #1d2327;
}

.mh-settings-page input.mh-switch[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    position: relative;
    width: 40px;
    height: 22px;
    margin: 0;
    border: 0;
    border-radius: 22px;
    background: #c3c4c7;
    box-shadow: none;
    cursor: pointer;
    transition: background .15s;
}

.mh-settings-page input.mh-switch[type=checkbox]::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    transition: transform .15s;
}

.mh-settings-page input.mh-switch[type=checkbox]:checked {
    background: var(--wp-admin-theme-color, #2271b1);
}

.mh-settings-page input.mh-switch[type=checkbox]:checked::before {
    transform: translateX(18px);
}

.mh-settings-page input.mh-switch[type=checkbox]:focus-visible {
    outline: 2px solid var(--wp-admin-theme-color, #2271b1);
    outline-offset: 2px;
}

/* A setting's sub-options */
.mh-subconf {
    margin: 12px 0 0 54px;
    padding: 2px 18px;
    background: #f6f7f7;
    border-radius: 6px;
}

.mh-subconf .conf {
    padding: 10px 0;
    border-bottom: 1px solid #e8e9ea;
    grid-template-columns: 186px minmax(0, 1fr);
}

.mh-subconf .conf:last-child {
    border-bottom: 0;
}

/* Several choices: chips */
.mh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid #c3c4c7;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    line-height: 1.4;
}

.mh-chip input[type=checkbox] {
    margin: 0;
}

.mh-chip:has(input:checked) {
    border-color: var(--wp-admin-theme-color, #2271b1);
    background: #f0f6fc;
    color: var(--wp-admin-theme-color, #2271b1);
}

/* Save / reset */
.mh-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.mh-actions .button {
    min-height: 36px;
    padding: 0 18px;
    border-radius: 6px;
}

.mh-actions .mh-reset {
    margin-left: auto;
}

@media (max-width: 782px) {
    .mh-card {
        padding: 4px 14px;
    }

    .mh-settings-page .conf,
    .mh-subconf .conf {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 8px;
    }

    .mh-subconf {
        margin-left: 0;
    }
}

/* Get PRO tab: a card — the title with its PRO badge and the buy button, the
   features one per row with a check, a red YouTube pill for each demo video */
.mh-buy-div {
    max-width: 920px;
    margin-top: 16px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    padding: 22px 28px 26px;
}

.mh-buy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f1;
}

.mh-buy-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-weight: 600;
}

.mh-pro-badge {
    background: linear-gradient(135deg, #7f54b3, #2271b1);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    padding: 3px 10px;
    border-radius: 999px;
}

.mh-buy-cta.button {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 600;
}

.mh-buy-subtitle {
    margin: 20px 0 4px;
    font-size: 15px;
}

.mh-buy-video {
    margin: 18px 0 4px;
}

.mh-buy-video iframe {
    width: 100%;
    max-width: 640px;
    height: 360px;
    border: 0;
    border-radius: 8px;
    display: block;
}

.mh-premium-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f1;
    font-size: 14px;
}

.mh-feature:last-child {
    border-bottom: 0;
}

.mh-feature-check {
    flex: 0 0 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f6ec;
    color: #1e8a3e;
    font-size: 13px;
    font-weight: 700;
}

.mh-feature-name {
    flex: 1;
    color: #1d2327;
    line-height: 1.45;
}

a.mh-feature-video {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px 6px 9px;
    border-radius: 999px;
    background: #f00;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(255, 0, 0, .3);
    transition: background .15s, transform .15s;
}

a.mh-feature-video:hover,
a.mh-feature-video:focus {
    background: #c00;
    color: #fff;
    transform: translateY(-1px);
}

.mh-yt-icon {
    display: block;
    width: 20px;
    height: 14px;
}

.mh-buy-footer {
    margin: 22px 0 0;
    text-align: center;
}

.mh-buy-footer .mh-buy-cta.button-hero {
    min-height: 46px;
    padding: 0 28px;
    font-size: 16px;
}

@media (max-width: 782px) {
    .mh-buy-div {
        padding: 18px 16px;
    }

    .mh-feature {
        flex-wrap: wrap;
    }
}

.mh-update-message img {
    margin-bottom: -1px;
}
