/* === Report Modal === */
.rpt-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.rpt-overlay.active { display: flex; }

.rpt-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: rpt-fadein 0.2s ease;
}
@keyframes rpt-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.rpt-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
}
.rpt-close:hover { color: #333; }

.rpt-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #111;
}

.rpt-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  margin-top: 14px;
}

.rpt-select,
.rpt-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  background: #f9fafb;
  color: #111;
  box-sizing: border-box;
}
.rpt-select:focus,
.rpt-textarea:focus {
  outline: none;
  border-color: #6dbda1;
  box-shadow: 0 0 0 3px rgba(109,189,161,0.15);
}

.rpt-textarea {
  resize: vertical;
  min-height: 70px;
}

/* Multi-select checkbox dropdown */
.rpt-dropdown { position: relative; }

.rpt-dropdown__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  cursor: pointer;
  font-size: 14px;
  color: #6b7280;
  user-select: none;
}
.rpt-dropdown__trigger:hover { border-color: #9ca3af; }

.rpt-dropdown__arrow {
  font-size: 12px;
  color: #9ca3af;
  transition: transform 0.2s;
}
.rpt-dropdown.open .rpt-dropdown__arrow { transform: rotate(180deg); }

.rpt-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 10;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 0;
}
.rpt-dropdown.open .rpt-dropdown__menu { display: block; }

.rpt-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
  transition: background 0.1s;
}
.rpt-dropdown__item:hover { background: #f3f4f6; }
.rpt-dropdown__item input[type="checkbox"] {
  accent-color: #6dbda1;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Submit button */
.rpt-submit {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #6dbda1, #a8d8c8);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.rpt-submit:hover { opacity: 0.9; }
.rpt-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success message */
.rpt-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #f0fdf4;
  border-radius: 10px;
  font-size: 13px;
  color: #166534;
  font-weight: 500;
}
.rpt-success__icon {
  color: #16a34a;
  font-weight: 700;
}

/* Report trigger button (small, reusable) */
.rpt-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.rpt-trigger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}
.rpt-trigger svg {
  width: 14px;
  height: 14px;
}
