
/* ==========================================================================
   ZERO-FOOTPRINT SECURE INTAKE FORM
   ========================================================================== */

.secure-form-panel {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 2px solid #3d6b1e;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 700px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.secure-form-panel h3 {
  color: #8FCF00;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.security-notice {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: rgba(61, 107, 30, 0.2);
  border-radius: 8px;
  border-left: 3px solid #3d6b1e;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #475569;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8FCF00;
  box-shadow: 0 0 0 3px rgba(143, 207, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: #1e293b;
  color: #e2e8f0;
}

.btn-submit-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #3d6b1e;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.btn-submit-secure:hover {
  background: #2d5016;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61, 107, 30, 0.4);
}

.btn-submit-secure:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Crisis-specific hotline buttons */
.crisis-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.hotline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.hotline-btn.emergency-alert {
  background: #dc2626;
  color: white;
  border-color: #b91c1c;
}

.hotline-btn.emergency-alert:hover {
  background: #b91c1c;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hotline-btn.support-alert {
  background: #0b1d3a;
  color: white;
  border-color: #1e3a5f;
}

.hotline-btn.support-alert:hover {
  background: #1e3a5f;
  transform: scale(1.02);
}

.hotline-btn.tip-line {
  background: #7c3aed;
  color: white;
  border-color: #6d28d9;
}

.hotline-btn.tip-line:hover {
  background: #6d28d9;
  transform: scale(1.02);
}

/* Mobile optimization */
@media (max-width: 640px) {
  .secure-form-panel {
    padding: 1.25rem;
    margin: 1rem;
  }

  .crisis-links-grid {
    grid-template-columns: 1fr;
  }

  .hotline-btn {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
}

/* High contrast support */
@media (prefers-contrast: high) {
  .secure-form-panel {
    border-width: 3px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    border-width: 3px;
  }
}
