/* IberoGlobe content reports: discreto, no invasivo */
.content-report-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font: inherit;
    font-size: .82rem;
    line-height: 1.2;
    padding: .25rem .35rem;
    text-decoration: none;
}

.content-report-button:hover,
.content-report-button:focus {
    color: #b91c1c;
    text-decoration: underline;
}

.content-report-button.report-chip {
    border: 1px solid rgba(100, 116, 139, .22);
    border-radius: 999px;
    background: rgba(248, 250, 252, .9);
    font-size: .78rem;
    padding: .28rem .55rem;
}

.content-report-inline {
    display: flex;
    justify-content: flex-end;
    margin-top: .5rem;
}

.content-report-open {
    overflow: hidden;
}

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

.content-report-modal {
    position: fixed;
    inset: 0;
    z-index: 120000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content-report-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
}

.content-report-modal__card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    padding: 1.35rem;
}

.content-report-modal__close {
    position: absolute;
    top: .75rem;
    right: .85rem;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.content-report-modal h2 {
    margin: 0 2rem .45rem 0;
}

.content-report-modal p {
    color: #64748b;
}

.content-report-modal label {
    display: grid;
    gap: .35rem;
    margin-top: .9rem;
    color: #334155;
    font-weight: 700;
}

.content-report-modal select,
.content-report-modal textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: .72rem .85rem;
    font: inherit;
}

.content-report-modal textarea {
    resize: vertical;
}

.content-report-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.content-report-modal__status {
    margin-top: .9rem;
    border-radius: 14px;
    padding: .75rem .85rem;
    background: #eff6ff;
    color: #1e40af;
}

.content-report-modal__status.success {
    background: #ecfdf5;
    color: #047857;
}

.content-report-modal__status.error {
    background: #fef2f2;
    color: #b91c1c;
}

@media (max-width: 640px) {
    .content-report-modal__actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .content-report-modal__actions > * {
        width: 100%;
    }
}
