/* ==========================================================================
   Report a Problem — Page-Specific Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.report-hero {
  padding-bottom: 0;
  overflow: hidden;
}
.report-hero .hero-inner {
  align-items: flex-end;
  gap: 32px;
}
.report-hero .hero-content {
  flex: 0 1 567px;
}
.report-hero .hero-headline h1 {
  font-size: 54px;
  line-height: 66px;
  letter-spacing: -2px;
}
.report-hero-tag {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -2px;
  color: var(--secondary);
  margin-bottom: 16px;
}
.report-hero-subtitle {
  font-family: var(--font);
  font-weight: 300;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--secondary);
  margin-top: 24px;
}
.report-hero-visual {
  flex: 1;
  position: relative;
  height: 452px;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-hero-blob {
  width: 491px;
  height: 492px;
}

/* --------------------------------------------------------------------------
   Content — White Section
   -------------------------------------------------------------------------- */
.report-content {
  background: var(--surface);
  padding: 80px 0;
}
.report-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 80px;
}

/* --------------------------------------------------------------------------
   Form Wrapper
   -------------------------------------------------------------------------- */
.report-form-wrapper {
  background: white;
  border: 1px solid var(--stroke, #aad4cd);
  border-radius: var(--radius-l);
  padding: 48px;
  box-shadow:
    0px 84px 24px 0px rgba(133,153,151,0),
    0px 54px 22px 0px rgba(133,153,151,0.01),
    0px 30px 18px 0px rgba(133,153,151,0.05),
    0px 13px 13px 0px rgba(133,153,151,0.09),
    0px 3px 7px 0px rgba(133,153,151,0.1);
}
.report-form-header {
  margin-bottom: 32px;
}
.report-form-header h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -2px;
  color: var(--primary);
  margin-bottom: 8px;
}
.report-form-header p {
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: var(--secondary);
}

/* --------------------------------------------------------------------------
   Form Grid & Fields
   -------------------------------------------------------------------------- */
.report-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.report-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.report-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.report-field--full {
  grid-column: 1 / -1;
}
.report-field label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--primary);
}
.report-field-hint {
  font-family: var(--font);
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  color: var(--secondary);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Input Styles
   -------------------------------------------------------------------------- */
.report-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--stroke, #aad4cd);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 300;
  color: var(--primary);
  background: white;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.report-input:focus {
  border-color: var(--secondary);
}
.report-input::placeholder {
  color: var(--secondary);
  opacity: 0.5;
}
.report-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
select.report-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23023432' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   File Upload
   -------------------------------------------------------------------------- */
.report-upload-area {
  position: relative;
  border: 2px dashed var(--stroke, #aad4cd);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.report-upload-area:hover {
  border-color: var(--secondary);
  background: #f1f8f7;
}
.report-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.report-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  pointer-events: none;
}
.report-upload-placeholder svg {
  opacity: 0.6;
}
.report-upload-placeholder span {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  color: var(--primary);
}
.report-upload-hint {
  font-size: 13px !important;
  color: var(--secondary) !important;
  opacity: 0.7;
}
.report-upload-preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.report-upload-preview img,
.report-preview-img {
  max-width: 200px;
  max-height: 150px;
  border-radius: 8px;
  border: 1px solid var(--stroke, #aad4cd);
}
.report-preview-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.report-preview-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  word-break: break-all;
}
.report-preview-size {
  font-family: var(--font);
  font-weight: 300;
  font-size: 13px;
  color: var(--secondary);
  opacity: 0.7;
}
.report-remove-file,
.report-preview-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-upload-area.dragover {
  border-color: var(--secondary);
  background: #f1f8f7;
}

/* --------------------------------------------------------------------------
   Checkbox
   -------------------------------------------------------------------------- */
.report-checkbox {
  display: flex;
  gap: 12px;
  cursor: pointer;
  align-items: flex-start;
}
.report-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--secondary);
}
.report-checkbox span {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--primary);
}
.report-checkbox a {
  color: var(--secondary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Form Actions & Messages
   -------------------------------------------------------------------------- */
.report-form-actions {
  margin-top: 24px;
}
.report-message {
  margin-top: 24px;
  padding: 24px 32px;
  border-radius: var(--radius-l);
}
.report-message strong {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.report-message p {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: var(--primary);
}
.report-message--success {
  background: #e4f1ef;
  border: 1px solid var(--stroke, #aad4cd);
}
.report-message--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.report-message--error strong {
  color: #dc2626;
}

/* Validation */
.report-input.error {
  border-color: #dc2626;
}
.report-field-error {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #dc2626;
}

/* Honeypot */
.report-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Responsive — Tablet (<=1279px)
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .report-inner {
    padding: 0 48px;
  }
  .report-hero .hero-headline h1 {
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -0.96px;
  }
  .report-hero-tag {
    font-size: 20px;
    line-height: 26px;
  }
  .report-hero-subtitle {
    font-size: 20px;
    line-height: 30px;
  }
  .report-hero-visual {
    height: 360px;
  }
  .report-hero-blob {
    width: 360px;
    height: 361px;
  }
  .report-form-header h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Mobile (<=959px)
   -------------------------------------------------------------------------- */
@media (max-width: 690px) {
  .report-hero {
    padding-bottom: 48px;
  }
  .report-hero .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .report-hero .hero-content {
    flex: 1 1 auto;
    max-width: 100%;
  }
  .report-hero .hero-headline h1 {
    font-size: 36px;
    line-height: 46px;
    letter-spacing: -2px;
  }
  .report-hero-subtitle {
    font-size: 18px;
    line-height: 28px;
  }
  .report-hero-visual {
    display: none;
  }
  .report-content {
    padding: 48px 0;
  }
  .report-inner {
    padding: 0 24px;
    max-width: 100%;
  }
  .report-form-wrapper {
    padding: 24px;
  }
  .report-form-header h2 {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.48px;
  }
  .report-form-header p {
    font-size: 16px;
    line-height: 26px;
  }
  .report-form-grid {
    grid-template-columns: 1fr;
  }
}
