/* Report Emergency (Public) – Standalone Styles */

/* Container */
#report-others {
  max-width: 720px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(26, 61, 124, 0.08);
  border: 1px solid #e9eef6;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #0f2147;
}

/* Title */
#report-others h3 {
  margin: 0 0 14px 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3d7c;
}

/* Form layout */
#report-others form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Labels */
#report-others label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #253b6e;
}

/* Text inputs and textarea */
#report-others input[type="text"],
#report-others input[type="tel"],
#report-others textarea {
  width: 100%;
  border: 1px solid #cfd8ea;
  background: #f9fbff;
  color: #0f2147;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}

#report-others textarea {
  min-height: 110px;
  resize: vertical;
}

/* Focus */
#report-others input:focus,
#report-others textarea:focus {
  border-color: #7ea3ff;
  box-shadow: 0 0 0 3px rgba(126, 163, 255, 0.25);
  background: #ffffff;
}

/* Inline group for location + button */
#report-others .inline-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

#report-others .inline-group > input {
  flex: 1 1 260px;
}

/* Buttons */
#report-others button,
#report-others a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

#report-others .btn-primary {
  background: #1a3d7c;
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 61, 124, 0.25);
}

#report-others .btn-primary:hover { transform: translateY(-1px); background: #284d9a; }

#report-others .btn-neutral {
  background: #eef3ff;
  color: #1a3d7c;
  border: 1px solid #cfd8ea;
}

#report-others .btn-neutral:hover { background: #e3ecff; }

#report-others .btn-link {
  background: transparent;
  color: #1a3d7c;
  padding: 8px 0;
}

#report-others small {
  color: #5a6ea8;
}

/* Actions row */
#report-others .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

/* Helper text for coordinates */
#report-others #coordHelper {
  margin-top: 6px;
  font-size: 0.85rem;
}


.image-preview img {
  max-width: 120px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* Responsive */
@media (max-width: 640px) {
  #report-others {
    margin: 20px 12px;
    padding: 16px;
  }
  #report-others h3 {
    font-size: 1.2rem;
  }
}
