/**
 * Report a Problem Page Styles
 * Version: 1.0 | Created: 2025-10-18 | Author: Dwayne Wright
 * Purpose: Dedicated styling for user feedback and problem reporting
 * Theme: Consistent with JamWatHQ black/yellow branding
 */

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  border-bottom: 3px solid #ffee00;
  border-radius: 8px;
}

.page-header h1 {
  font-size: 2.5em;
  color: #ffee00;
  margin: 0 0 15px 0;
  text-shadow: 0 0 10px rgba(255, 238, 0, 0.3);
}

.page-description {
  font-size: 1.1em;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

/* ========================================
   FORM WRAPPER
   ======================================== */

.report-form-wrapper {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* ========================================
   FORM STYLING
   ======================================== */

.report-form {
  background: #1a1a1a;
  border: 2px solid #ffee00;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(255, 238, 0, 0.1);
}

.form-group {
  margin-bottom: 30px;
}

/* Form Labels */
.form-group label {
  display: block;
  font-size: 1.1em;
  font-weight: 600;
  color: #ffee00;
  margin-bottom: 8px;
}

.required {
  color: #ff4444;
  font-weight: bold;
}

.optional {
  color: #888888;
  font-size: 0.9em;
  font-weight: normal;
}

/* Form Inputs */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 1em;
  color: #ffffff;
  background-color: #000000;
  border: 2px solid #333333;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="url"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffee00;
  box-shadow: 0 0 10px rgba(255, 238, 0, 0.3);
  background-color: #1a1a1a;
}

/* Select Dropdown */
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffee00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-group select option {
  background-color: #000000;
  color: #ffffff;
  padding: 10px;
}

/* Textarea */
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Read-only Fields */
.form-group input[readonly] {
  background-color: #0a0a0a;
  color: #888888;
  cursor: not-allowed;
  border-style: dashed;
}

/* Field Hints */
.field-hint {
  display: block;
  font-size: 0.85em;
  color: #888888;
  margin-top: 6px;
  font-style: italic;
}

/* Character Counter */
#char-count {
  color: #ffee00;
  font-weight: 600;
}

/* ========================================
   UPLOAD PLACEHOLDER
   ======================================== */

.upload-placeholder {
  background: #0a0a0a;
  border: 2px dashed #333333;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  color: #888888;
}

.upload-placeholder i {
  font-size: 3em;
  color: #ffee00;
  opacity: 0.3;
  margin-bottom: 15px;
  display: block;
}

.upload-placeholder p {
  font-size: 1.1em;
  margin: 10px 0 5px;
  color: #aaaaaa;
}

.upload-placeholder small {
  font-size: 0.9em;
  color: #666666;
}

/* ========================================
   PRIVACY NOTICE
   ======================================== */

.privacy-notice {
  background: #0a0a0a;
  border-left: 4px solid #ffee00;
  padding: 15px 20px;
  margin: 30px 0;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.privacy-notice i {
  color: #ffee00;
  font-size: 1.5em;
  margin-top: 3px;
  flex-shrink: 0;
}

.privacy-notice p {
  margin: 0;
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
}

.privacy-notice strong {
  color: #ffee00;
}

/* ========================================
   FORM ACTIONS (BUTTONS)
   ======================================== */

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-submit,
.btn-reset,
.btn-secondary {
  padding: 14px 32px;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  justify-content: center;
}

/* Submit Button */
.btn-submit {
  background: linear-gradient(135deg, #ffee00 0%, #ffd700 100%);
  color: #000000;
  border: 2px solid #ffee00;
  box-shadow: 0 4px 15px rgba(255, 238, 0, 0.3);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #ffd700 0%, #ffee00 100%);
  box-shadow: 0 6px 20px rgba(255, 238, 0, 0.5);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 238, 0, 0.3);
}

/* Reset Button */
.btn-reset {
  background: transparent;
  color: #ffffff;
  border: 2px solid #666666;
}

.btn-reset:hover {
  background: #1a1a1a;
  border-color: #ffee00;
  color: #ffee00;
}

/* Secondary Button */
.btn-secondary {
  background: #1a1a1a;
  color: #ffee00;
  border: 2px solid #ffee00;
}

.btn-secondary:hover {
  background: #ffee00;
  color: #000000;
}

/* Button Icons */
.btn-submit i,
.btn-reset i,
.btn-secondary i {
  font-size: 1.1em;
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.success-message {
  display: none;
  background: linear-gradient(135deg, #1a4d1a 0%, #0a2e0a 100%);
  border: 3px solid #4caf50;
  border-radius: 12px;
  padding: 50px 40px;
  text-align: center;
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message i {
  font-size: 4em;
  color: #4caf50;
  margin-bottom: 20px;
  display: block;
  animation: checkPulse 1s ease infinite;
}

@keyframes checkPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.success-message h3 {
  font-size: 2em;
  color: #4caf50;
  margin: 0 0 15px 0;
}

.success-message p {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ========================================
   HELP SECTION
   ======================================== */

.help-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.help-section h2 {
  text-align: center;
  font-size: 2em;
  color: #ffee00;
  margin-bottom: 40px;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.faq-item {
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  padding: 25px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #ffee00;
  box-shadow: 0 4px 15px rgba(255, 238, 0, 0.2);
  transform: translateY(-3px);
}

.faq-item h3 {
  font-size: 1.2em;
  color: #ffee00;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h3 i {
  font-size: 1.3em;
}

.faq-item p {
  color: #cccccc;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95em;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media screen and (max-width: 768px) {
  .page-header h1 {
    font-size: 2em;
  }

  .page-description {
    font-size: 1em;
  }

  .report-form {
    padding: 25px 20px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-submit,
  .btn-reset,
  .btn-secondary {
    width: 100%;
    min-width: unset;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .privacy-notice {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .page-header {
    padding: 25px 15px 15px;
  }

  .page-header h1 {
    font-size: 1.6em;
  }

  .report-form {
    padding: 20px 15px;
  }

  .form-group label {
    font-size: 1em;
  }

  .success-message {
    padding: 35px 20px;
  }

  .success-message i {
    font-size: 3em;
  }

  .success-message h3 {
    font-size: 1.5em;
  }
}

/* ========================================
   ACTIVE GEAR ICON STATE
   ======================================== */

/* Special styling when on report-problem page */
.floating-gear-icon.active {
  background: #ffee00;
  color: #000000;
  cursor: default;
  pointer-events: none;
}

.floating-gear-icon.active i {
  color: #000000;
}

.floating-gear-icon.active::after {
  content: "You're here";
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffee00;
  color: #000000;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75em;
  white-space: nowrap;
  opacity: 0.9;
}
