﻿/* ===== REPORT SECTION ===== */
.report-section {
  padding: var(--section-padding);
  background: var(--gradient-primary);
}

.report-section .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.report-section .section-title,
.report-section .section-desc {
  color: #fff;
}

.report-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Report Info */
.report-info {
  padding-right: 20px;
}

.report-info .section-desc {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Report Stats */
.report-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.report-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.report-stat i {
  font-size: 2rem;
  color: var(--primary-color);
}

.report-stat .stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.report-stat .stat-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Recent Reports */
.recent-reports {
  background: var(--card-bg);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.recent-reports h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-reports h4 i {
  color: var(--primary-color);
}

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

.report-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--report-list-text);
  flex-wrap: wrap;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.report-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.report-status {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.report-status.resolved {
  background: #4caf50;
}

.report-status.pending {
  background: #ff9800;
}

.report-badge {
  margin-left: auto;
  padding: 4px 12px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.report-badge.pending {
  background: var(--quiz-btn-bg);
  color: var(--btn-primary-text);
}

/* Report Form Wrapper */
.report-form-wrapper {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: background-color 0.3s ease;
}

.report-form h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

.report-form h3 i {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

/* Form Groups */
.report-form .form-group {
  margin-bottom: 20px;
}

.report-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.report-form label i {
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.report-form input,
.report-form select,
.report-form textarea {
  width: 100%;
  padding: 15px 25px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  transition: var(--transition-normal), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  background: var(--input-bg);
  color: var(--input-text);
}

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.report-form input::placeholder,
.report-form textarea::placeholder {
  color: #aaa;
}

.report-form textarea {
  resize: vertical;
  min-height: 120px;
}

.report-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  border: 2px dashed #ccc;
  border-radius: var(--radius-md);
  background: #fafafa;
  transition: var(--transition-normal);
  text-align: center;
}

.file-upload:hover .file-upload-label {
  border-color: var(--primary-color);
  background: #f0f7f0;
}

.file-upload-label i {
  font-size: 2rem;
  color: var(--primary-color);
}

.file-upload-label span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Submit Button */
.report-form .btn {
  margin-top: 15px;
  width: 100%;
  padding: 15px;
  border-radius: 30px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
  transition: all 0.3s ease;
}

.report-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

/* ===== RESPONSIVE REPORT ===== */
@media (max-width: 1200px) {
  .report-content {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .report-content {
    grid-template-columns: 1fr;
  }

  .report-info {
    padding-right: 0;
  }

  .report-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .report-stats {
    flex-direction: column;
    gap: 15px;
  }

  .report-form-wrapper {
    padding: 30px 25px;
  }
}

@media (max-width: 480px) {
  .report-form-wrapper {
    padding: 25px 20px;
  }

  .report-form h3 {
    font-size: 1.2rem;
  }

  .report-list li {
    font-size: 0.85rem;
  }

  .file-upload-label {
    padding: 20px;
  }
}