/* Zero Wasters Retailer Claims — theme-integrated public styles. */

.zw-listing-ownership {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 11px;
}

.zw-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 7px 11px;
    border: 1px solid rgba(46, 125, 50, 0.34);
    border-radius: 999px;
    background: #eef7ee;
    color: var(--zw-green-dark, #215f21);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.zw-verified-badge--compact {
    margin-top: 7px;
    padding: 4px 8px;
    font-size: 12px;
}

.zw-verified-badge__tick {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--zw-green, #2e7d32);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.single-at_biz_dir .zw-claim-listing-link.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--zw-green, #2e7d32);
    border-radius: 9px;
    background: var(--zw-green, #2e7d32);
    color: #fff;
    box-shadow: 0 8px 18px rgba(46, 125, 50, 0.18);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    text-transform: none;
}

.single-at_biz_dir .zw-claim-listing-link.button:hover,
.single-at_biz_dir .zw-claim-listing-link.button:focus {
    border-color: var(--zw-green-dark, #215f21);
    background: var(--zw-green-dark, #215f21);
    color: #fff;
    transform: translateY(-1px);
}

body.zw-claim-page .zw-claim-content {
    width: 100%;
    margin: 0;
}

.zw-claim-panel {
    width: 100%;
    margin: 0;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--zw-line-strong, #cfdccf);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--zw-shadow, 0 10px 30px rgba(31, 69, 31, 0.10));
}

.zw-claim-panel > .zw-claim-eyebrow,
.zw-claim-panel > h1,
.zw-claim-panel > .zw-claim-intro {
    display: none;
}

.zw-claim-summary {
    margin: 0 0 24px;
    padding: clamp(18px, 2.5vw, 24px);
    border: 1px solid var(--zw-line, #dfe7df);
    border-radius: 13px;
    background: #f5f8f5;
}

.zw-claim-summary h2 {
    margin: 0 0 12px;
    color: var(--zw-green-dark, #215f21);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.zw-claim-summary dl {
    margin: 0;
}

.zw-claim-summary dl > div {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #dde5dd;
}

.zw-claim-summary dl > div:last-child {
    border-bottom: 0;
}

.zw-claim-summary dt {
    font-weight: 700;
}

.zw-claim-summary dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.zw-claim-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.zw-claim-form p {
    margin-bottom: 16px;
}

.zw-claim-form label,
.zw-claim-check legend {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.zw-claim-form input[type="text"],
.zw-claim-form input[type="email"],
.zw-claim-form input[type="tel"],
.zw-claim-form input[type="url"],
.zw-claim-form select,
.zw-claim-form textarea {
    width: 100%;
    border: 1px solid var(--zw-line-strong, #cbd6cb);
    border-radius: 9px;
    background: #fcfefc;
}

.zw-claim-form input:focus,
.zw-claim-form select:focus,
.zw-claim-form textarea:focus {
    border-color: var(--zw-green, #2e7d32);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.14);
    outline: 0;
}

.zw-field-help,
.zw-claim-privacy {
    display: block;
    margin-top: 6px;
    color: #5f6d5f;
    font-size: 13px;
}

.zw-claim-check {
    margin: 22px 0;
    padding: 0;
    border: 0;
}

.zw-claim-check label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 22px;
    font-weight: 500;
}

.zw-claim-confirmation label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.zw-claim-submit {
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--zw-green, #2e7d32);
    border-radius: 9px;
    background: var(--zw-green, #2e7d32);
    color: #fff;
    box-shadow: 0 8px 18px rgba(46, 125, 50, 0.16);
    font-weight: 750;
    cursor: pointer;
}

.zw-claim-submit:hover,
.zw-claim-submit:focus {
    border-color: var(--zw-green-dark, #215f21);
    background: var(--zw-green-dark, #215f21);
}

.zw-claim-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.zw-claim-notice {
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 22px;
    border-radius: 12px;
}

.zw-claim-notice--success {
    border: 1px solid #9ac49a;
    background: #eef7ee;
}

.zw-claim-notice--error {
    border: 1px solid #d9a0a0;
    background: #fff2f2;
}

body.zw-retailer-account .directorist-btn--add-listing {
    display: none;
}

@media (max-width: 640px) {
    .single-at_biz_dir .zw-claim-listing-link.button {
        width: 100%;
    }

    .zw-claim-panel {
        padding: 20px;
        border-radius: 12px;
    }

    .zw-claim-grid {
        grid-template-columns: 1fr;
    }

    .zw-claim-summary dl > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .zw-claim-check label {
        display: flex;
        margin: 0 0 10px;
    }
}


.single-at_biz_dir .zw-manage-listing-link.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid var(--zw-green, #2e7d32);
    border-radius: 9px;
    background: var(--zw-green, #2e7d32);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    text-transform: none;
}

.single-at_biz_dir .zw-manage-listing-link.button:hover,
.single-at_biz_dir .zw-manage-listing-link.button:focus {
    border-color: var(--zw-green-dark, #215f21);
    background: var(--zw-green-dark, #215f21);
    color: #fff;
}

.zw-owner-badge {
    border-color: rgba(46, 125, 50, 0.5);
    background: #e6f4e6;
}

/* Listing reports and compact public action. */
.single-at_biz_dir .zw-report-listing-link.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(46, 125, 50, 0.42);
    border-radius: 9px;
    background: #fff;
    color: var(--zw-green-dark, #215f21);
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    text-transform: none;
}

.single-at_biz_dir .zw-report-listing-link.button:hover,
.single-at_biz_dir .zw-report-listing-link.button:focus {
    border-color: var(--zw-green, #2e7d32);
    background: #eef7ee;
    color: var(--zw-green-dark, #215f21);
}

body.zw-report-page .zw-report-content {
    width: 100%;
    margin: 0;
}

.zw-report-panel > h1 {
    margin-top: 0;
    color: var(--zw-green-dark, #215f21);
}

@media (max-width: 640px) {
    .single-at_biz_dir .zw-report-listing-link.button {
        width: 100%;
    }
}

/* Suggest-an-update overlay. */
.zw-update-notice {
    flex-basis: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.zw-update-notice--success {
    border: 1px solid rgba(46, 125, 50, 0.35);
    background: #eef7ee;
    color: var(--zw-green-dark, #215f21);
}

.zw-update-notice--error {
    border: 1px solid rgba(164, 35, 35, 0.35);
    background: #fff2f2;
    color: #7e1c1c;
}

.zw-report-modal[hidden] {
    display: none !important;
}

.zw-report-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.zw-report-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 31, 20, 0.66);
    backdrop-filter: blur(2px);
}

.zw-report-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(88vh, 840px);
    overflow: auto;
    padding: 28px;
    border: 1px solid rgba(46, 125, 50, 0.24);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    outline: none;
}

.zw-report-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef7ee;
    color: var(--zw-green-dark, #215f21);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.zw-report-modal__close:hover,
.zw-report-modal__close:focus {
    background: #dfeede;
    outline: 2px solid var(--zw-green, #2e7d32);
    outline-offset: 2px;
}

.zw-report-modal__eyebrow {
    display: block;
    margin: 0 48px 7px 0;
    color: var(--zw-green, #2e7d32);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zw-report-modal__dialog h2 {
    margin: 0 48px 4px 0;
    color: var(--zw-green-dark, #215f21);
}

.zw-report-modal__shop,
.zw-report-page-shop {
    margin: 0 0 20px;
    color: #4c5d50;
    font-size: 16px;
    font-weight: 700;
}

.zw-report-reasons {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.zw-report-reasons legend {
    margin: 0 0 10px;
    color: #1e2d21;
    font-size: 16px;
    font-weight: 800;
}

.zw-report-reason-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.zw-report-reason {
    position: relative;
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 11px 13px 11px 42px;
    border: 1px solid #d8e3d9;
    border-radius: 11px;
    background: #fff;
    color: #263b2b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

.zw-report-reason:hover {
    border-color: rgba(46, 125, 50, 0.62);
    background: #f7fbf7;
}

.zw-report-reason input {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--zw-green, #2e7d32);
}

.zw-report-reason:has(input:checked) {
    border-color: var(--zw-green, #2e7d32);
    background: #eef7ee;
    box-shadow: 0 0 0 1px var(--zw-green, #2e7d32);
}

.zw-report-reason:has(input:focus-visible) {
    outline: 3px solid rgba(46, 125, 50, 0.25);
    outline-offset: 2px;
}

.zw-report-optional-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.zw-report-optional-grid > p {
    margin-top: 0;
}

.zw-optional {
    color: #637269;
    font-size: 12px;
    font-weight: 500;
}

.zw-report-safety {
    margin: 4px 0 16px;
    padding: 10px 12px;
    border-left: 3px solid var(--zw-green, #2e7d32);
    background: #f4f8f4;
    color: #47564b;
    font-size: 13px;
    line-height: 1.45;
}

body.zw-report-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .zw-report-modal {
        align-items: end;
        padding: 0;
    }

    .zw-report-modal__dialog {
        width: 100%;
        max-height: 92vh;
        padding: 24px 18px;
        border-radius: 18px 18px 0 0;
    }

    .zw-report-reason-grid,
    .zw-report-optional-grid {
        grid-template-columns: 1fr;
    }
}

