/* Report system styles */
.report-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.report-content {
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.report-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-header h3 i {
  color: #e74c3c;
}

.report-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

.report-close:hover {
  color: #e74c3c;
}

.report-body {
  text-align: center;
}

.report-body p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.report-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.report-reason-btn {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.report-reason-btn:hover {
  background-color: #f1f1f1;
  transform: translateY(-2px);
}

.report-reason-btn.active {
  background-color: #e74c3c;
  color: white;
  border-color: #e74c3c;
}

.report-other-container {
  margin: 15px 0;
}

#report-other-reason {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.report-submit-btn {
  padding: 12px 24px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-top: 15px;
}

.report-submit-btn:hover:not(:disabled) {
  background: #c0392b;
  transform: translateY(-2px);
}

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

/* Reported users panel styles */
.reported-users-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  z-index: 2000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.reported-users-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(to right, #e74c3c, #f39c12);
  color: white;
}

.reported-users-header h3 {
  margin: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reported-users-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.reported-users-close:hover {
  opacity: 1;
}

.reported-users-content {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(80vh - 60px);
}

.no-reports {
  text-align: center;
  color: #777;
  font-style: italic;
  padding: 20px 0;
}

.reported-user-item {
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #eee;
}

.reported-user-header {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.reported-user-header:hover {
  background-color: #f1f1f1;
}

.reported-user-info {
  display: flex;
  flex-direction: column;
}

.reported-user-name {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
}

.reported-user-id {
  font-size: 0.8rem;
  color: #777;
}

.reported-user-count {
  background-color: #e74c3c;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.reported-user-details {
  padding: 15px;
  border-top: 1px solid #eee;
  background-color: white;
}

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

.report-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.report-item:last-child {
  border-bottom: none;
}

.report-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 5px;
}

.report-reason {
  font-size: 0.9rem;
  color: #333;
}

/* Mobile styling */
@media (max-width: 768px) {
  .report-reasons {
    grid-template-columns: 1fr 1fr;
  }
  
  .reported-users-panel {
    width: 95%;
    max-height: 90vh;
  }
  
  .reported-users-content {
    max-height: calc(90vh - 60px);
  }
}