/* ═══ مودال درخواست حذف ═══ */
.avks-dmca-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.avks-dmca-modal.is-open {
    display: flex;
    animation: dmcaFade .3s ease;
}
@keyframes dmcaFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.avks-dmca-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .75);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.avks-dmca-modal__box {
    position: relative;
    background: #fff;
    border-radius: 24px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    animation: dmcaSlide .35s cubic-bezier(.16, 1, .3, 1);
}
@keyframes dmcaSlide {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.avks-dmca-modal__close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}
.avks-dmca-modal__close:hover {
    background: #ef4444;
    color: #fff;
}

/* هدر */
.avks-dmca-modal__hd {
    text-align: center;
    margin-bottom: 24px;
}
.avks-dmca-modal__ic {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 25px rgba(239, 68, 68, .3);
}
.avks-dmca-modal h2 {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px;
}
.avks-dmca-modal p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* فرم */
.avks-dmca-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.avks-dmca-form__grp {
    margin-bottom: 14px;
}
.avks-dmca-form__grp label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.avks-dmca-form__grp label span {
    color: #ef4444;
}
.avks-dmca-form__grp input,
.avks-dmca-form__grp select,
.avks-dmca-form__grp textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13.5px;
    outline: none;
    transition: .2s;
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
}
.avks-dmca-form__grp input:focus,
.avks-dmca-form__grp select:focus,
.avks-dmca-form__grp textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}
.avks-dmca-form__grp input[readonly] {
    background: #f8fafc;
    color: #64748b;
    direction: ltr;
    text-align: left;
    font-size: 12px;
}
.avks-dmca-form__grp small {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 4px;
}
.avks-dmca-form__grp textarea {
    resize: vertical;
    min-height: 90px;
}

/* دکمه‌ها */
.avks-dmca-form__act {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.avks-dmca-form__cancel,
.avks-dmca-form__submit {
    flex: 1;
    padding: 13px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    font-family: inherit;
}
.avks-dmca-form__cancel {
    background: #f1f5f9;
    color: #475569;
}
.avks-dmca-form__cancel:hover {
    background: #e2e8f0;
}
.avks-dmca-form__submit {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.avks-dmca-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, .35);
}
.avks-dmca-form__submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}
.btn-spin {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dmcaSpin .7s linear infinite;
}
.is-loading .btn-spin {
    display: inline-block;
}
@keyframes dmcaSpin {
    to { transform: rotate(360deg); }
}

/* پیام */
.avks-dmca-form__msg {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    display: none;
}
.avks-dmca-form__msg.is-success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1.5px solid #6ee7b7;
}
.avks-dmca-form__msg.is-error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1.5px solid #fca5a5;
}

/* ریسپانسیو */
@media (max-width: 640px) {
    .avks-dmca-modal__box {
        padding: 24px 20px;
        border-radius: 18px;
    }
    .avks-dmca-form__row {
        grid-template-columns: 1fr;
    }
    .avks-dmca-modal h2 {
        font-size: 18px;
    }
}

/* جلوگیری از اسکرول body وقتی مودال بازه */
body.dmca-modal-open {
    overflow: hidden;
}