/* Report Button */
.post-reporter-button-container {
    margin: 20px 0;
    text-align: center;
}

.post-reporter-button {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.post-reporter-button:hover {
    background-color: #e0e0e0;
}

.post-reporter-button .dashicons {
    margin-right: 5px;
}

/* Modal */
.post-reporter-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.post-reporter-modal-content {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10% auto;
    max-width: 500px;
    padding: 20px;
    position: relative;
    width: 90%;
}

.post-reporter-close {
    color: #aaa;
    cursor: pointer;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
}

.post-reporter-close:hover {
    color: #555;
}

/* Form */
.post-reporter-field {
    margin-bottom: 15px;
}

.post-reporter-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.post-reporter-field input,
.post-reporter-field textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 8px;
    width: 100%;
}

.post-reporter-field textarea {
    resize: vertical;
}

.post-reporter-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.post-reporter-submit,
.post-reporter-cancel {
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 15px;
}

.post-reporter-submit {
    background-color: #0073aa;
    border: none;
    color: #fff;
}

.post-reporter-submit:hover {
    background-color: #005d87;
}

.post-reporter-cancel {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    color: #555;
}

.post-reporter-cancel:hover {
    background-color: #e0e0e0;
}

/* Messages */
.post-reporter-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.post-reporter-message.success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.post-reporter-message.error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

/* Honeypot field */
.post-reporter-honeypot {
    display: none !important;
    position: absolute;
    left: -9999px;
}

/* Admin styles */
.report-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background-color: #f8dda7;
    color: #94660c;
}

.status-resolved {
    background-color: #c6e1c6;
    color: #5b841b;
}

.status-dismissed {
    background-color: #e5e5e5;
    color: #777;
}

.post-reports-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-reports-list li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.post-reports-list li:last-child {
    border-bottom: none;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
}

.report-content {
    margin-top: 5px;
}

.report-reason {
    margin: 0 0 5px;
}

.report-email {
    margin: 0;
    font-size: 12px;
    color: #666;
}
