/* Report Chapter Button */
.wp-manga-report-btn-wrap {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.wp-manga-report-btn-wrap .btn-report-chapter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wp-manga-report-btn-wrap .btn-report-chapter:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.wp-manga-report-btn-wrap .btn-report-chapter:active {
    background-color: #111;
}

.wp-manga-report-btn-wrap .btn-report-chapter svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.wp-manga-report-btn-wrap .btn-report-chapter span {
    white-space: nowrap;
}

/* Custom Modal Overlay */
.wp-manga-report-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wp-manga-report-modal {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.wp-manga-report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 0;
}

.wp-manga-report-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #eee;
}

.wp-manga-report-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.wp-manga-report-close:hover {
    color: #ccc;
}

.wp-manga-report-modal-body {
    padding: 16px 24px;
}

.wp-manga-report-field {
    margin-bottom: 14px;
}

.wp-manga-report-field > label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #ccc;
    margin-bottom: 6px;
}

.wp-manga-report-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 14px;
    color: #ddd;
    background: #111;
    resize: vertical;
    box-sizing: border-box;
}

.wp-manga-report-field textarea::placeholder {
    color: #555;
}

.wp-manga-report-field textarea:focus {
    border-color: rgba(255, 255, 255, 0.25);
    outline: none;
}

.wp-manga-report-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    font-size: 14px;
    color: #ddd;
    background: #111;
}

.wp-manga-report-field .c-selectpicker {
    margin-top: 4px;
}

.wp-manga-report-field .c-selectpicker label {
    width: 100%;
}

.wp-manga-report-field .missing {
    border-color: #f44 !important;
}

/* Upload Dropzone */
.wp-manga-report-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-manga-report-dropzone:hover,
.wp-manga-report-dropzone.dragover {
    border-color: var(--accent, #3b82f6);
    background-color: rgba(255, 255, 255, 0.03);
}

.wp-manga-report-dropzone input[type="file"] {
    display: none;
}

.dropzone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #555;
}

.dropzone-placeholder svg {
    opacity: 0.4;
}

.dropzone-placeholder span {
    font-size: 13px;
}

.dropzone-preview {
    position: relative;
    display: inline-block;
}

.dropzone-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 4px;
}

.dropzone-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent, #3b82f6);
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dropzone-remove:hover {
    opacity: 0.85;
}

/* Modal Footer */
.wp-manga-report-modal-footer {
    padding: 12px 24px 20px;
    display: flex;
    gap: 10px;
}

.wp-manga-report-btn-submit {
    padding: 10px 28px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    background-color: var(--accent, #3b82f6);
    cursor: pointer;
    transition: opacity 200ms ease;
}

.wp-manga-report-btn-submit:hover {
    opacity: 0.85;
}

.wp-manga-report-btn-submit.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wp-manga-report-btn-cancel {
    padding: 10px 28px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    color: #aaa;
    background-color: #2a2a2a;
    cursor: pointer;
    transition: background-color 200ms ease;
}

.wp-manga-report-btn-cancel:hover {
    background-color: #333;
    color: #fff;
}
