/* ---------- Light Mode (Default) ---------- */

/* Main container */
.hero {
  padding: 40px 20px;
  background: linear-gradient(135deg, #eef2f7, #dce4f7);
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

/* Card container */
.card {
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}

/* Info block */
.info-block h2 {
  margin-bottom: 12px;
  font-size: 28px;
  color: #058813; /* Indian Green accent */
}

.info-block p {
  font-size: 16px;
  color: #333;
}

/* Form styling */
#help-form input,
#help-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, background 0.3s, color 0.3s;
}

#help-form input:focus,
#help-form textarea:focus {
  border-color: #058813;
  outline: none;
}

#help-form button.cta {
  background-color: #058813;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 8px;
  transition: background-color 0.2s;
}

#help-form button.cta:hover {
  background-color: #04650f;
}

/* Success message */
.success-message {
  color: green;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Issue cards */
.issue-card {
  padding: 12px 16px;
  border-radius: 12px;
  background: #f9f9f9;
  margin-bottom: 12px;
  border-left: 4px solid #058813;
}

.issue-card strong {
  font-size: 15px;
}

.issue-card p {
  margin: 6px 0;
  font-size: 14px;
}

/* Solved response */
.response {
  color: green;
  font-weight: 500;
  margin-top: 6px;
}

/* Pending issue */
.pending-status {
  color: orange;
  font-weight: 500;
  margin-top: 6px;
}

/* ---------- Dark Mode ---------- */
body.dark-mode {
  background: linear-gradient(135deg, #0f0f0f, #1e1e1e);
  color: #e0e0e0;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #0f0f0f, #1e1e1e);
  color: #e0e0e0;
}

body.dark-mode .card {
  background: rgba(30, 30, 30, 0.95);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.06);
  color: #e0e0e0;
}

body.dark-mode .info-block h2 {
  color: #00ff91; /* bright accent for dark mode */
}

body.dark-mode .info-block p {
  color: #ccc;
}

body.dark-mode #help-form input,
body.dark-mode #help-form textarea {
  background: #2b2b2b;
  color: #fff;
  border: 1px solid #555;
}

body.dark-mode #help-form input::placeholder,
body.dark-mode #help-form textarea::placeholder {
  color: #bbb;
}

body.dark-mode #help-form input:focus,
body.dark-mode #help-form textarea:focus {
  border-color: #00ff91;
}

body.dark-mode #help-form button.cta {
  background: linear-gradient(135deg, #ff9800, #007bff);
  color: #fff;
}

body.dark-mode #help-form button.cta:hover {
  background: linear-gradient(135deg, #e36e13, #0056b3);
}

/* Issue cards dark mode */
body.dark-mode .issue-card {
  background: #1e1e1e;
  border-left-color: #00ff91;
  color: #e0e0e0;
}

body.dark-mode .response {
  color: #00ff91;
}

body.dark-mode .pending-status {
  color: orange;
}

/* ---------- Responsive adjustments ---------- */
@media (max-width: 640px) {
  .hero {
    padding: 20px 10px;
  }
  .info-block h2 {
    font-size: 24px;
  }
  #help-form button.cta {
    width: 100%;
  }
}
