/* ==========================================================================
   pipensx-guide - Anonymous Bug Report & Feedback page (Horizon OS theme)
   ========================================================================== */

.report-main {
  flex: 1;
  min-width: 0;
  padding: 28px 36px 40px;
  overflow-y: auto;
}

.report-container {
  max-width: 1020px;
  margin: 0 auto;
}

.report-hero {
  margin-bottom: 24px;
}

.report-eyebrow {
  font-family: var(--sw-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sw-cyan);
  margin-bottom: 6px;
}

.report-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sw-text);
  margin-bottom: 8px;
}

.report-lead {
  font-size: 0.98rem;
  color: var(--sw-text-muted);
  max-width: 660px;
  line-height: 1.55;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.report-panel {
  background: var(--sw-card);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-lg);
  padding: 22px 24px;
}

.report-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sw-text);
  margin-bottom: 12px;
}

.aside-step {
  background: var(--sw-bg-alt);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.aside-step:last-child {
  margin-bottom: 0;
}

.aside-badge {
  display: inline-block;
  font-family: var(--sw-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sw-cyan);
  border: 1px solid var(--sw-border-light);
  border-radius: var(--sw-radius-sm);
  padding: 2px 7px;
  margin-bottom: 6px;
}

.aside-step-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--sw-text);
  margin-bottom: 4px;
}

.aside-step-desc {
  font-size: 0.87rem;
  color: var(--sw-text-muted);
  line-height: 1.5;
}

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

.form-fieldset {
  border: none;
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sw-text);
  margin-bottom: 6px;
}

.required-mark {
  color: var(--sw-orange);
  margin-left: 3px;
}

.form-hint {
  font-size: 0.83rem;
  color: var(--sw-text-muted);
  margin-top: 5px;
  line-height: 1.45;
}

.form-control {
  width: 100%;
  background: var(--sw-bg-alt);
  color: var(--sw-text);
  border: 1px solid var(--sw-border-light);
  border-radius: var(--sw-radius);
  padding: 10px 12px;
  font-family: var(--sw-font);
  font-size: 0.94rem;
  line-height: 1.5;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  outline: 2px solid var(--sw-cyan);
  outline-offset: 1px;
  border-color: var(--sw-cyan);
}

.form-control::placeholder {
  color: var(--sw-text-dim);
}

textarea.form-control {
  min-height: 128px;
  resize: vertical;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.radio-option {
  position: relative;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.radio-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--sw-bg-alt);
  border: 1px solid var(--sw-border-light);
  border-radius: var(--sw-radius);
  color: var(--sw-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.radio-option input:checked + .radio-tile {
  background: var(--sw-card-hover);
  border-color: var(--sw-cyan);
  color: var(--sw-text);
}

.radio-option input:focus-visible + .radio-tile {
  outline: 2px solid var(--sw-cyan);
  outline-offset: 2px;
}

.dropzone {
  background: var(--sw-bg-alt);
  border: 1px dashed var(--sw-border-light);
  border-radius: var(--sw-radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dropzone.drag-over {
  border-color: var(--sw-cyan);
  background: var(--sw-card-hover);
}

.dropzone-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.dropzone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--sw-card);
  color: var(--sw-text);
  border: 1px solid var(--sw-border-light);
  border-radius: var(--sw-radius);
  font-family: var(--sw-font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.dropzone-btn:hover {
  background: var(--sw-card-hover);
  border-color: var(--sw-cyan);
}

.dropzone-btn:focus-visible {
  outline: 2px solid var(--sw-cyan);
  outline-offset: 2px;
}

.file-list {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: var(--sw-bg-alt);
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-sm);
  font-size: 0.86rem;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.file-name {
  font-family: var(--sw-font-mono);
  color: var(--sw-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  color: var(--sw-text-muted);
  flex-shrink: 0;
}

.file-remove {
  background: transparent;
  border: 1px solid var(--sw-border-light);
  color: var(--sw-text);
  border-radius: var(--sw-radius-sm);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

.file-remove:hover {
  border-color: var(--sw-orange);
  color: var(--sw-orange);
}

.status-banner {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--sw-radius);
  margin-bottom: 16px;
  font-size: 0.91rem;
  line-height: 1.45;
}

.status-banner.visible {
  display: flex;
}

.status-banner.error {
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid var(--sw-orange);
  color: var(--sw-text);
}

.status-banner.success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid var(--sw-green);
  color: var(--sw-text);
}

.status-banner a {
  color: var(--sw-cyan);
  font-weight: 700;
  text-decoration: underline;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--sw-cyan);
  color: #111417;
  border: none;
  border-radius: var(--sw-radius);
  font-family: var(--sw-font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

[data-theme="light"] .btn-submit {
  color: #ffffff;
}

.btn-submit:hover:not([disabled]) {
  opacity: 0.92;
}

.btn-submit:focus-visible {
  outline: 2px solid var(--sw-text);
  outline-offset: 2px;
}

.btn-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 860px) {
  .report-main {
    padding: 20px 18px 32px;
  }
  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .radio-group {
    grid-template-columns: 1fr;
  }
}
