/* "Report abuse" page — page-report-abuse.php. Loaded on that template only. */

.report-abuse {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.report-abuse-intro {
    margin-bottom: var(--space-md);
}

.report-abuse-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-card-bg);
    box-shadow: var(--shadow-soft);
}

.report-abuse-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-abuse-field label {
    font-family: var(--font-heading);
    font-weight: var(--weight-subheading);
    font-size: var(--size-body);
    color: var(--color-dark);
}

.report-abuse-req {
    color: #C62828;
}

.report-abuse-optional {
    font-weight: var(--weight-body);
    color: var(--color-gray-dark);
}

.report-abuse-field input,
.report-abuse-field select,
.report-abuse-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-gray);
    border-radius: 0;
    background: var(--color-bg-white);
    color: var(--color-dark);
    font-family: var(--font-body);
    font-size: var(--size-body);
    line-height: 1.4;
}

.report-abuse-field textarea {
    min-height: 140px;
    resize: vertical;
}

.report-abuse-field input:focus,
.report-abuse-field select:focus,
.report-abuse-field textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
    border-color: var(--color-primary);
}

.report-abuse-field [aria-invalid="true"] {
    border-color: #C62828;
}

.report-abuse-hint {
    margin: 0;
    font-size: var(--size-small);
    color: var(--color-gray-dark);
}

.report-abuse-error {
    margin: 0;
    font-size: var(--size-small);
    color: #C62828;
}

.report-abuse-alert {
    padding: var(--space-sm) var(--space-md);
    border-left: 4px solid #C62828;
    background: #FDECEC;
    color: #8E1B1B;
}

.report-abuse-submit {
    align-self: flex-start;
    min-width: 200px;
}

.report-abuse-submit:disabled {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}

.report-abuse-success {
    margin: var(--space-md) 0;
    padding: var(--space-lg);
    border-left: 4px solid var(--color-primary);
    background: #F0F7FF;
    font-family: var(--font-heading);
    font-size: var(--size-h4);
    font-weight: var(--weight-subheading);
    color: var(--color-dark);
}

.report-abuse-success:focus {
    outline: none;
}

[hidden].report-abuse-alert,
[hidden].report-abuse-error,
[hidden].report-abuse-success,
.report-abuse-form[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .report-abuse {
        padding: var(--space-md) 0;
    }

    .report-abuse-success {
        margin: var(--space-sm) 0;
        padding: var(--space-md);
    }

    .report-abuse-form {
        padding: var(--space-md) var(--container-padding-mobile);
    }

    .report-abuse-submit {
        align-self: stretch;
    }
}
