.modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.modalContent {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.closeButton {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #4a5568;
  z-index: 1;
}

.closeButton:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.modalTitle {
  background: linear-gradient(135deg, #667eea 0%, #BC526F 100%);
  color: white;
  padding: 2rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 20px 20px 0 0;
}

.modalBody {
  padding: 2rem;
}

.infoSection {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.infoRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.infoRow:last-child {
  border-bottom: none;
}

.infoLabel {
  font-weight: 600;
  color: #4a5568;
  font-size: 0.95rem;
}

.infoValue {
  color: #2d3748;
  font-weight: 500;
  font-size: 0.95rem;
}

.reportSection {
  margin-bottom: 1.5rem;
}

.tasksSection {
  margin-bottom: 1rem;
}

.sectionTitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reportText {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
}

.tasksList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.taskItem {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.2s;
}

.taskItem:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.taskIcon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.taskName {
  font-weight: 500;
  color: #2d3748;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .modalContent {
    max-height: 95vh;
    border-radius: 16px;
  }

  .modalTitle {
    font-size: 1.25rem;
    padding: 1.5rem;
  }

  .modalBody {
    padding: 1.5rem;
  }

  .tasksList {
    grid-template-columns: 1fr;
  }
}
