/* Report Error Button and Overlay Styles */

/* Report Error Button */
.report-error-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dc3545;
    background-color: transparent;
    color: #dc3545;
    margin-left: 8px;
}

.report-error-btn:hover {
    background-color: #dc3545;
    color: white;
}

/* Report Error Overlay */
.report-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.report-modal {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.report-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

.report-checkbox-group {
    margin-bottom: 16px;
}

.report-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    cursor: pointer;
    color: #000000;
}

.report-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.report-section {
    margin-left: 26px;
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    display: none;
}

.report-section.visible {
    display: block;
}

/* Result items in incorrect results section */
.result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    margin-bottom: 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.result-item input[type="checkbox"] {
    width: 16px;
    min-width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.result-item img {
    width: auto;
    max-width: 150px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.result-item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.result-item-info strong {
    display: block;
    font-size: 0.9em;
    color: #333;
}

.result-item-info span {
    font-size: 0.85em;
    color: #666;
}

/* Missing result form */
.missing-form-group {
    margin-bottom: 12px;
}

.missing-form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 0.9em;
}

.missing-form-group input,
.missing-form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95em;
}

/* Comment textarea */
.report-comment-group {
    margin-top: 20px;
}

.report-comment-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.report-comment-group textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}

/* Modal buttons */
.report-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.report-btn-cancel {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
}

.report-btn-cancel:hover {
    background: #f5f5f5;
}

.report-btn-submit {
    padding: 10px 20px;
    border: none;
    background: #dc3545;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95em;
}

.report-btn-submit:hover {
    background: #c82333;
}

.report-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}