/* ===========================
   PHASE 7: Report Modal Styles
   =========================== */

/* Report Button */
.report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.report-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.report-btn:active:not(:disabled) {
    transform: translateY(0);
}

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

.report-btn .btn-icon {
    font-size: 1.25rem;
}

/* Modal Overlay */
.report-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.report-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* Modal Content */
.report-modal-content {
    position: relative;
    max-width: 500px;
    margin: 10vh auto 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.report-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.report-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.report-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Modal Body */
.report-modal-body {
    padding: 2rem;
}

/* Form Groups */
.report-modal .form-group {
    margin-bottom: 1.5rem;
}

.report-modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9375rem;
}

.report-modal .required {
    color: #ff6b6b;
}

.report-modal select,
.report-modal textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.report-modal select:focus,
.report-modal textarea:focus {
    outline: none;
    border-color: #667eea;
}

.report-modal textarea {
    resize: vertical;
    min-height: 100px;
}

.report-modal .char-count {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #999;
    text-align: right;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-actions .btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.form-actions .btn-secondary:hover {
    background: #e5e5e5;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.form-actions .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.form-actions .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Messages */
.report-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.report-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.report-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .report-modal-content {
        margin: 5vh 1rem 0;
        max-width: none;
    }

    .report-modal-header,
    .report-modal-body {
        padding: 1.25rem 1.5rem;
    }

    .report-modal-header h3 {
        font-size: 1.25rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .report-modal-header,
    .report-modal-body {
        padding: 1rem;
    }
}
