/* Mortian Proxy Finder v0.3.2 */

.woocommerce-account .mpf-wrap {
    max-width: 1050px;
    color: #f2f2f2 !important;
}

.woocommerce-account .mpf-wrap > h2,
.woocommerce-account .mpf-intro {
    color: #f2f2f2 !important;
}

.woocommerce-account .mpf-card {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid #666;
    background: #333 !important;
    color: #f2f2f2 !important;
}

.woocommerce-account .mpf-card p,
.woocommerce-account .mpf-card span,
.woocommerce-account .mpf-card label,
.woocommerce-account .mpf-card h3,
.woocommerce-account .mpf-card h4,
.woocommerce-account .mpf-card strong {
    color: #f2f2f2 !important;
}

.woocommerce-account .mpf-card small,
.woocommerce-account .mpf-muted,
.woocommerce-account .mpf-note,
.woocommerce-account .mpf-community-note {
    color: #bdbdbd !important;
}

.woocommerce-account .mpf-card a {
    color: #fff !important;
    text-decoration: underline;
}

.woocommerce-account .mpf-card-header {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
}

.woocommerce-account .mpf-product-image {
    width: 95px;
    min-width: 95px;
}

.woocommerce-account .mpf-product-image img {
    display: block;
    width: 100%;
    height: auto;
}

.woocommerce-account .mpf-product-title h3 {
    margin: 0 0 4px;
}

.woocommerce-account .mpf-card h4 {
    margin: 17px 0 8px;
    font-size: .82rem;
    letter-spacing: .04em;
}

.woocommerce-account .mpf-use {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #555;
}

.woocommerce-account .mpf-remove {
    min-height: 0 !important;
    padding: 0 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: #ff4b4b !important;
    box-shadow: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
}

.woocommerce-account .mpf-no-rules {
    margin: 14px 0 18px;
    padding: 11px 13px;
    border: 1px solid #555;
    background: #2b2b2b;
}

.woocommerce-account .mpf-no-rules label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.woocommerce-account .mpf-no-rules input {
    margin: 0;
}

.woocommerce-account .mpf-no-rules p {
    margin: 5px 0 0 25px;
    color: #bdbdbd !important;
    font-size: .84rem;
}

.woocommerce-account .mpf-open {
    margin-top: 12px;
}

.woocommerce-account .mpf-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #555;
}

.woocommerce-account .mpf-entry-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
}

.woocommerce-account .mpf-existing-column {
    padding-right: 30px;
    border-right: 1px solid #555;
}

.woocommerce-account .mpf-existing-column h4,
.woocommerce-account .mpf-new-column h4 {
    margin-top: 0;
}

.woocommerce-account .mpf-existing-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.woocommerce-account .mpf-existing-choice {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid #5c5c5c;
    background: #2a2a2a;
    cursor: pointer;
}

.woocommerce-account .mpf-existing-choice:hover,
.woocommerce-account .mpf-existing-choice.is-selected {
    background: #404040;
}

.woocommerce-account .mpf-existing-checkbox {
    flex: 0 0 auto;
    margin: 3px 0 0 !important;
}

.woocommerce-account .mpf-existing-copy,
.woocommerce-account .mpf-existing-copy strong,
.woocommerce-account .mpf-existing-copy > span,
.woocommerce-account .mpf-existing-copy small {
    display: block;
}

.woocommerce-account .mpf-existing-copy > span {
    margin-top: 2px;
    font-size: .86rem;
}

.woocommerce-account .mpf-existing-copy small {
    margin-top: 3px;
}

.woocommerce-account .mpf-field {
    position: relative;
    margin: 0 0 14px;
}

.woocommerce-account .mpf-field > label {
    display: block;
    margin-bottom: 4px;
    font-size: .8rem;
    font-weight: 700;
}

.woocommerce-account .mpf-field input[type="text"] {
    width: 100%;
    margin: 0;
    border: 1px solid #aaa;
    background: #fff !important;
    color: #222 !important;
}

.woocommerce-account .mpf-suggest {
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 260px;
    overflow: auto;
    border: 1px solid #aaa;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}

.woocommerce-account .mpf-suggest button {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 9px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #e6e6e6 !important;
    background: #fff !important;
    color: #222 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.woocommerce-account .mpf-suggest button:hover {
    background: #f1f1f1 !important;
}

.woocommerce-account .mpf-suggest button span {
    color: #222 !important;
}

.woocommerce-account .mpf-suggest button small {
    color: #777 !important;
    white-space: nowrap;
}

.woocommerce-account .mpf-live-similar,
.woocommerce-account .mpf-similar-confirm {
    margin: -2px 0 14px;
    padding: 11px;
    border: 1px solid #777;
    background: #292929;
}

.woocommerce-account .mpf-live-similar > strong,
.woocommerce-account .mpf-similar-confirm > strong {
    display: block;
    margin-bottom: 4px;
    font-size: .78rem;
    letter-spacing: .04em;
}

.woocommerce-account .mpf-live-similar p,
.woocommerce-account .mpf-similar-confirm p {
    margin: 0 0 8px;
    color: #c8c8c8 !important;
    font-size: .84rem;
}

.woocommerce-account .mpf-similar-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.woocommerce-account .mpf-use-similar,
.woocommerce-account .mpf-confirm-similar {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 8px 9px !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #222 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.woocommerce-account .mpf-use-similar:hover,
.woocommerce-account .mpf-confirm-similar:hover {
    background: #eee !important;
}

.woocommerce-account .mpf-use-similar span,
.woocommerce-account .mpf-confirm-similar span {
    color: #222 !important;
}

.woocommerce-account .mpf-use-similar small,
.woocommerce-account .mpf-confirm-similar small {
    color: #777 !important;
}

.woocommerce-account .mpf-force-new {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 8px 9px !important;
    border: 1px solid #666 !important;
    background: transparent !important;
    color: #ddd !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
}

.woocommerce-account .mpf-force-new:hover {
    background: #3c3c3c !important;
}

.woocommerce-account .mpf-submit:disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}

.woocommerce-account .mpf-community-note {
    margin: 14px 0 0;
    font-size: .8rem;
}

.woocommerce-account .mpf-no-rules-products {
    margin-top: 30px;
    border: 1px solid #666;
    background: #292929;
}

.woocommerce-account .mpf-no-rules-products > summary {
    padding: 15px 18px;
    cursor: pointer;
    color: #f2f2f2 !important;
    font-weight: 700;
    letter-spacing: .03em;
    list-style-position: inside;
}

.woocommerce-account .mpf-no-rules-products > summary span {
    color: #aaa !important;
}

.woocommerce-account .mpf-no-rules-products-inner {
    padding: 0 14px 14px;
}

.woocommerce-account .mpf-no-rules-products-inner > .mpf-note {
    color: #ccc !important;
}

.woocommerce-account .mpf-card-compact .mpf-compact-info {
    margin: -5px 0 10px;
    color: #bbb !important;
}

@media (max-width: 760px) {
    .woocommerce-account .mpf-entry-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .woocommerce-account .mpf-existing-column {
        padding-right: 0;
        padding-bottom: 24px;
        border-right: 0;
        border-bottom: 1px solid #555;
    }
}

@media (max-width: 600px) {
    .woocommerce-account .mpf-card {
        padding: 14px;
    }

    .woocommerce-account .mpf-product-image {
        width: 72px;
        min-width: 72px;
    }
}


/* Public product-page proxy uses */
.single-product .mpf-public-product-uses {
    margin: 24px 0;
    padding: 16px;
    border: 1px solid #555;
    background: #303030;
    color: #f2f2f2;
}

.single-product .mpf-public-product-uses h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: .04em;
}

.single-product .mpf-public-use-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    border-top: 1px solid #505050;
}

.single-product .mpf-public-use-path strong,
.single-product .mpf-public-use-path span {
    display: block;
    color: #fff;
}

.single-product .mpf-public-use-path span {
    margin-top: 2px;
    color: #c8c8c8;
    font-size: .85rem;
}

.single-product .mpf-public-use-count {
    flex: 0 0 auto;
    color: #d0d0d0;
    font-size: .85rem;
    text-align: right;
}

.mpf-public-disclaimer {
    margin: 12px 0 0;
    color: #aaa !important;
    font-size: .75rem;
    line-height: 1.4;
}

/* Public Find Your Proxy shortcode */
.mpf-finder {
    color: #f2f2f2;
}

.mpf-finder-controls {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.mpf-finder-field label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.mpf-finder-field select {
    width: 100%;
    margin: 0;
    background: #fff;
    color: #222;
}

.mpf-finder-placeholder {
    padding: 16px;
    border: 1px solid #555;
    background: #303030;
    color: #ccc !important;
}

.mpf-finder-unit {
    margin: 0 0 22px;
    border: 1px solid #555;
    background: #303030;
}

.mpf-finder-unit > h3 {
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid #555;
    color: #fff;
    font-size: 1.05rem;
}

.mpf-finder-product {
    display: grid;
    grid-template-columns: 64px minmax(180px,1fr) minmax(140px,.65fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #4b4b4b;
}

.mpf-finder-product:last-child {
    border-bottom: 0;
}

.mpf-finder-product-image img {
    display: block;
    width: 64px;
    height: auto;
}

.mpf-finder-product-name,
.mpf-finder-product-name strong {
    color: #fff;
}

.mpf-finder-count {
    color: #c8c8c8;
    font-size: .86rem;
}

.mpf-finder-link a {
    white-space: nowrap;
    color: #fff !important;
    font-weight: 700;
}

@media (max-width: 700px) {
    .mpf-finder-controls {
        grid-template-columns: 1fr;
    }

    .mpf-finder-product {
        grid-template-columns: 56px 1fr;
    }

    .mpf-finder-product-image img {
        width: 56px;
    }

    .mpf-finder-count,
    .mpf-finder-link {
        grid-column: 2;
    }

    .single-product .mpf-public-use-row {
        display: block;
    }

    .single-product .mpf-public-use-count {
        margin-top: 5px;
        text-align: left;
    }
}


/* v0.2.1 — SEO/AI-oriented public presentation */

.single-product .mpf-public-product-uses h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: .04em;
}

.single-product .mpf-public-intro {
    margin: 0 0 12px;
    color: #c8c8c8 !important;
    font-size: .86rem;
}

.single-product .mpf-public-use-row {
    display: block;
}

.single-product .mpf-public-use-row h3 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 1rem;
}

.single-product .mpf-public-use-row p {
    margin: 0;
    color: #d5d5d5 !important;
    font-size: .88rem;
    line-height: 1.45;
}

.single-product .mpf-public-use-row p strong {
    color: #fff !important;
}

.single-product .mpf-public-cta {
    display: inline-block;
    margin: 15px 0 2px !important;
}

.mpf-finder-heading {
    margin-bottom: 14px;
}

.mpf-finder-disclaimer {
    margin: 0 0 20px !important;
    padding: 14px 16px;
    border: 1px solid #8c1000;
    background: rgba(197,31,44,.06);
    color: inherit !important;
    font-size: .95rem !important;
    line-height: 1.5 !important;
}

.mpf-finder-product-name a {
    color: #fff !important;
    text-decoration: none;
}

.mpf-finder-product-name a:hover {
    text-decoration: underline;
}

.mpf-finder-product-image a {
    display: block;
}

.mpf-finder-count {
    line-height: 1.4;
}

.mpf-finder-count strong {
    color: #fff;
}

.mpf-finder-link .mpf-view-product,
.mpf-finder-link .mpf-view-product:hover,
.mpf-finder-link .mpf-view-product:focus {
    display: inline-block !important;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 0 !important;
    background: #8c1000 !important;
    color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.mpf-finder-link .mpf-view-product:hover,
.mpf-finder-link .mpf-view-product:focus {
    background: #a81705 !important;
}

.mpf-finder-empty {
    padding: 18px;
    border: 1px solid #555;
    background: #303030;
    color: #f2f2f2;
}

.mpf-finder-empty > strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.mpf-finder-empty p {
    margin: 0 0 12px;
    color: #ccc !important;
}

.mpf-finder-add {
    margin: 0 !important;
}

@media (max-width: 700px) {
    .mpf-finder-disclaimer {
        font-size: .9rem !important;
    }
}


/* v0.2.2 — integrate customer-reported proxy uses into the product description */
.single-product .product-footer .mpf-description-proxy-uses,
.single-product .woocommerce-Tabs-panel .mpf-description-proxy-uses,
.single-product .mpf-description-proxy-uses {
    margin: 28px 0 0;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid #555;
    background: transparent;
}

.single-product .mpf-description-proxy-uses h2 {
    margin-top: 0;
}

.single-product .mpf-description-proxy-uses .mpf-public-disclaimer {
    margin-bottom: 0;
}


/* v0.2.5 — compact My Proxies controls */
.woocommerce-account .mpf-open {
    background: #555 !important;
    border-color: #555 !important;
    color: #fff !important;
}

.woocommerce-account .mpf-open:hover,
.woocommerce-account .mpf-open:focus {
    background: #666 !important;
    border-color: #666 !important;
    color: #fff !important;
}

.woocommerce-account .mpf-no-rules {
    padding: 9px 12px;
}

.woocommerce-account .mpf-no-rules label {
    align-items: center;
    white-space: nowrap;
}

.woocommerce-account .mpf-no-rules-inline {
    color: #d0d0d0 !important;
    font-size: .84rem;
    font-weight: 400;
}

.woocommerce-account .mpf-no-rules-inline strong {
    color: #f2f2f2 !important;
}

/* v0.2.5 — more room for the semantic customer-use sentence */
.mpf-finder-product {
    grid-template-columns: 56px minmax(210px, 29%) minmax(500px, 1fr) auto;
    gap: 12px;
}

.mpf-finder-product-image img {
    width: 56px;
}

.mpf-finder-count {
    min-width: 0;
}

@media (max-width: 1050px) {
    .mpf-finder-product {
        grid-template-columns: 56px minmax(180px, 26%) minmax(340px, 1fr) auto;
    }
}

@media (max-width: 900px) {
    .woocommerce-account .mpf-no-rules label {
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .mpf-finder-product {
        grid-template-columns: 56px 1fr;
    }
}

/* v0.3.0 — public reporting */
.mpf-finder-link{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.mpf-report-link{min-height:0!important;margin:0!important;padding:2px 4px!important;border:0!important;background:transparent!important;color:#aaa!important;box-shadow:none!important;font-size:.68rem!important;line-height:1.2!important;text-decoration:underline!important}
.mpf-report-modal{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.72)}
.mpf-report-dialog{position:relative;width:min(560px,100%);padding:22px;border:1px solid #666;background:#303030;color:#fff}
.mpf-report-dialog h3{margin:0 0 16px;color:#fff}.mpf-report-dialog label{display:block;margin:0 0 13px;color:#fff;font-size:.8rem;font-weight:700}
.mpf-report-dialog select,.mpf-report-dialog input,.mpf-report-dialog textarea{width:100%;margin:5px 0 0;background:#fff!important;color:#222!important}
.mpf-report-close{position:absolute;top:7px;right:9px;min-height:0!important;padding:0 5px!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;font-size:24px!important}
.mpf-report-submit{background:#8c1000!important;color:#fff!important}.mpf-report-message{margin-top:10px;color:#ddd}

/* v0.3.1 — report button, spam field and compact finder actions */
.mpf-finder-link{display:flex!important;flex-direction:row!important;align-items:stretch!important;justify-content:flex-end;gap:7px!important}
.mpf-finder-link .mpf-report-link{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:58px!important;min-width:58px!important;height:48px!important;margin:0!important;padding:3px 5px!important;border:0!important;background:#555!important;color:#fff!important;box-shadow:none!important;text-decoration:none!important;line-height:1!important}
.mpf-finder-link .mpf-report-link:hover,.mpf-finder-link .mpf-report-link:focus{background:#666!important;color:#fff!important}
.mpf-report-x{display:block;font-size:22px;line-height:20px;font-weight:400}
.mpf-report-label{display:block;margin-top:2px;font-size:8px;line-height:9px;font-weight:700;letter-spacing:.04em}
.mpf-finder-link .mpf-view-product{display:flex!important;align-items:center!important;justify-content:center!important;height:48px!important}
.mpf-report-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:700px){.mpf-finder-link{grid-column:1/-1;justify-content:flex-start}}


/* v0.3.4 — MOBILE ONLY. Desktop presentation remains unchanged. */
.mpf-mobile-use-copy,.mpf-mobile-disclaimer,.mpf-finder-mobile-line,.mpf-view-mobile{display:none}
@media(max-width:700px){
.single-product .mpf-public-intro{display:none!important}
.single-product .mpf-public-use-row h3,.single-product .mpf-desktop-use-copy,.single-product .mpf-desktop-disclaimer{display:none!important}
.single-product .mpf-mobile-use-copy{display:block!important;margin:0!important;padding:5px 0!important;font-size:.78rem!important;line-height:1.25!important}
.single-product .mpf-public-use-row{display:block!important;padding:0!important;border-top:1px solid #505050}
.single-product .mpf-mobile-disclaimer{display:block!important;margin:9px 0 0;border-top:1px solid #505050;color:#aaa}
.single-product .mpf-mobile-disclaimer summary{padding:8px 0 2px;cursor:pointer;color:#bbb;font-size:.66rem;font-weight:700;letter-spacing:.035em}
.single-product .mpf-mobile-disclaimer p{margin:7px 0 0!important;color:#aaa!important;font-size:.68rem!important;line-height:1.35!important}
.mpf-finder-unit{margin-bottom:10px!important}
.mpf-finder-unit>h3{display:none!important}
.mpf-finder-product{display:flex!important;align-items:center!important;gap:5px!important;min-height:38px!important;padding:5px 7px!important}
.mpf-finder-product-image,.mpf-finder-product-name,.mpf-finder-count{display:none!important}
.mpf-finder-mobile-line{display:flex!important;align-items:baseline;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;font-size:.72rem;line-height:1.1}
.mpf-finder-mobile-name{min-width:0;overflow:hidden;color:#fff!important;font-weight:700;text-decoration:none!important;text-overflow:ellipsis;white-space:nowrap}
.mpf-finder-mobile-use{flex:0 1 auto;overflow:hidden;color:#ccc;text-overflow:ellipsis;white-space:nowrap}
.mpf-finder-link{flex:0 0 auto!important;grid-column:auto!important;gap:4px!important;justify-content:flex-end!important}
.mpf-finder-link .mpf-report-link{width:28px!important;min-width:28px!important;height:28px!important;padding:0!important}
.mpf-finder-link .mpf-report-x{font-size:18px!important;line-height:18px!important}
.mpf-finder-link .mpf-report-label{display:none!important}
.mpf-finder-link .mpf-view-product{width:auto!important;min-width:42px!important;height:28px!important;padding:0 6px!important;font-size:.58rem!important;line-height:1!important}
.mpf-view-desktop{display:none!important}.mpf-view-mobile{display:inline!important}
}
\n\n/* v0.3.4 — Finder cleanup: product name/image are the product link; no redundant VIEW button. */
.mpf-finder-link .mpf-view-product { display:none!important; }

@media(max-width:700px){
    /* Restore the unit heading above each compact mobile result group. */
    .mpf-finder-unit>h3{
        display:block!important;
        margin:0!important;
        padding:8px 7px!important;
        border-bottom:1px solid #555!important;
        color:#fff!important;
        font-size:.78rem!important;
        line-height:1.15!important;
    }
    /* Unit is now in the heading, so each row only needs product + customer count. */
    .mpf-finder-mobile-use{
        flex:0 0 auto!important;
        overflow:visible!important;
        color:#ccc!important;
        text-overflow:clip!important;
        white-space:nowrap!important;
    }
    .mpf-finder-link .mpf-report-link{
        width:28px!important;
        min-width:28px!important;
        height:28px!important;
    }
}
