/* ==========================================================
   Pelak Azad — Single Car Ad Report
   v1.1.72.473
========================================================== */

.pa-ad-report-link,
.pa-ad-report-link:visited {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ed1c24 !important;
    font-family: "VazirMatn", "Vazir", Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .16s ease;
}

.pa-ad-report-link:hover,
.pa-ad-report-link:focus-visible {
    background: transparent !important;
    color: #c9141c !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.pa-ad-report-link:focus-visible {
    outline: 2px solid rgba(237, 28, 36, .22);
    outline-offset: 4px;
    border-radius: 3px !important;
}

.pa-ad-report-modal .pa-ad-report-modal__dialog {
    width: min(500px, 100%) !important;
    max-width: 500px !important;
    padding: 24px 24px 22px !important;
    text-align: right !important;
}

.pa-ad-report-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-bottom: 16px;
}

.pa-ad-report-modal .pa-ad-report-modal__head .pa-modal__title {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1.7 !important;
    text-align: right !important;
}

.pa-ad-report-modal__head p {
    margin: 3px 0 0;
    color: #667085;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
}

#pelak-ad-report-modal.pa-ad-report-modal,
#pelak-ad-report-modal.pa-ad-report-modal * {
    box-sizing: border-box;
}

/*
 * v1.1.72.473 — hard-isolate the close control from Elementor/theme button rules.
 * Some global button styling adds min-width/padding/background after our component
 * stylesheet and turns the 34px close control into a wide red button. Reset only
 * this control, then rebuild its exact geometry with ID-scoped declarations.
 */
#pelak-ad-report-modal.pa-ad-report-modal button.pa-ad-report-modal__close {
    all: unset !important;
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    flex: 0 0 34px !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 10px !important;
    background: #fff !important;
    background-image: none !important;
    color: #667085 !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    cursor: pointer !important;
    transition: border-color .14s ease, background-color .14s ease, color .14s ease !important;
}

#pelak-ad-report-modal.pa-ad-report-modal button.pa-ad-report-modal__close:hover,
#pelak-ad-report-modal.pa-ad-report-modal button.pa-ad-report-modal__close:focus-visible {
    border-color: #fecdd3 !important;
    background: #fff5f5 !important;
    background-image: none !important;
    color: #ed1c24 !important;
    box-shadow: none !important;
    outline: 0 !important;
    transform: none !important;
}

#pelak-ad-report-modal.pa-ad-report-modal button.pa-ad-report-modal__close:focus-visible {
    box-shadow: 0 0 0 3px rgba(237, 28, 36, .10) !important;
}

.pa-ad-report-reasons {
    display: grid;
    gap: 3px;
    width: 100%;
    min-width: 0;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.pa-ad-report-reason {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin: 0;
    padding: 7px 8px;
    border-radius: 10px;
    color: #1f2937;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    cursor: pointer;
    transition: background-color .14s ease;
}

.pa-ad-report-reason:hover {
    background: #f8fafc;
}

.pa-ad-report-reason input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.pa-ad-report-reason__control {
    position: relative;
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    box-sizing: border-box;
    border: 2px solid #344054;
    border-radius: 50%;
    background: #fff;
    transition: border-color .14s ease, box-shadow .14s ease;
}

.pa-ad-report-reason__control::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #ed1c24;
    transform: scale(0);
    transition: transform .14s ease;
}

.pa-ad-report-reason input:checked + .pa-ad-report-reason__control {
    border-color: #ed1c24;
}

.pa-ad-report-reason input:checked + .pa-ad-report-reason__control::after {
    transform: scale(1);
}

.pa-ad-report-reason input:focus-visible + .pa-ad-report-reason__control {
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .12);
}

.pa-ad-report-details {
    display: grid;
    gap: 7px;
    width: 100%;
    margin: 0 0 10px;
    color: #344054;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.pa-ad-report-details small {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 500;
}

.pa-ad-report-details textarea {
    width: 100%;
    min-height: 116px;
    max-height: 230px;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 13px;
    resize: vertical;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
    color: #101828;
    box-shadow: none;
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.9;
    outline: 0;
}

.pa-ad-report-details textarea::placeholder {
    color: #98a2b3;
}

.pa-ad-report-details textarea:focus {
    border-color: #fda4af;
    box-shadow: 0 0 0 4px rgba(237, 28, 36, .08);
}

.pa-ad-report-details.is-required textarea {
    border-color: #fda4af;
}

.pa-ad-report-status {
    min-height: 0;
    margin: 0;
    color: #b42318;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.8;
}

.pa-ad-report-status:not(:empty) {
    margin: 8px 0 2px;
}

.pa-ad-report-status.is-success {
    color: #067647;
}

.pa-ad-report-modal .pa-ad-report-actions {
    margin-top: 14px !important;
}

.pa-ad-report-modal .pa-modal__button {
    font-weight: 700 !important;
}

.pa-ad-report-modal .pa-ad-report-submit {
    border: 1px solid #ed1c24 !important;
    background: #ed1c24 !important;
    color: #fff !important;
}

.pa-ad-report-modal .pa-ad-report-submit:hover,
.pa-ad-report-modal .pa-ad-report-submit:focus-visible {
    border-color: #d9151d !important;
    background: #d9151d !important;
    color: #fff !important;
}

.pa-ad-report-modal .pa-ad-report-submit:disabled {
    border-color: #eaecf0 !important;
    background: #eaecf0 !important;
    color: #98a2b3 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.pa-ad-report-modal.is-submitting .pa-ad-report-submit:disabled {
    cursor: wait !important;
}

@media (max-width: 767px) {
    .pa-ad-report-link {
        font-size: 12.5px;
    }

    .pa-ad-report-modal .pa-ad-report-modal__dialog {
        padding: 20px 17px 17px !important;
    }

    .pa-ad-report-modal .pa-ad-report-modal__head .pa-modal__title {
        font-size: 17px !important;
    }

    .pa-ad-report-reason {
        min-height: 40px;
        padding: 6px 5px;
        font-size: 12.5px;
    }

    .pa-ad-report-details textarea {
        min-height: 104px;
    }
}
