.bug-report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  padding: 30px;
  border: 1px solid rgba(0, 255, 213, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 255, 213, 0.08), rgba(119, 72, 255, 0.08));
}

.bug-report-hero h1 { margin: 8px 0 10px; }
.bug-report-hero p { max-width: 720px; margin: 0; color: #aab3c4; }

.bug-response-promise {
  display: grid;
  grid-template-columns: auto 28px auto 28px auto;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(4, 8, 18, 0.58);
}

.bug-response-promise span { color: #8e99ad; font-size: 12px; text-align: center; }
.bug-response-promise b { display: block; margin-bottom: 4px; color: #00ffd5; font-size: 16px; }
.bug-response-promise i { height: 1px; background: rgba(0, 255, 213, 0.32); }

.bug-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.bug-report-form-card,
.bug-history {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(8, 13, 25, 0.86);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.bug-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bug-description { min-height: 160px; resize: vertical; }

.bug-report-page select.form-control {
  color: #f7f2e9;
  background-color: #252a35;
  color-scheme: dark;
}

.bug-report-page select.form-control option {
  color: #f7f2e9;
  background-color: #151a24;
}

.bug-media-picker {
  padding: 18px;
  border: 1px dashed rgba(0, 255, 213, 0.38);
  border-radius: 12px;
  background: rgba(0, 255, 213, 0.035);
}

.bug-media-picker input { width: 100%; }
.bug-media-picker p { margin: 8px 0 0; color: #8490a5; font-size: 12px; }
.bug-media-picker small,
.bug-submit-note { display: block; margin-top: 8px; color: #8490a5; font-size: 12px; }
.bug-media-selection { margin: 10px 0 0; padding-left: 18px; color: #b8c2d3; font-size: 13px; }
.bug-media-selection span { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.bug-media-selection i { margin-right: 7px; }
.bug-file-error { color: #ff7d91; }

.bug-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bug-history-head h2 { margin: 0; }
.bug-history-count {
  padding: 5px 10px;
  border-radius: 999px;
  color: #00ffd5;
  background: rgba(0, 255, 213, 0.09);
  font-size: 12px;
}

.bug-history-list { display: grid; gap: 14px; }
.player-bug-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.player-bug-card h3 { margin: 8px 0; font-size: 18px; }
.player-bug-meta,
.player-bug-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #818ca0;
  font-size: 12px;
}

.player-bug-status,
.player-bug-severity { padding: 4px 8px; border-radius: 999px; text-transform: capitalize; }
.player-bug-status.open { color: #ffcc66; background: rgba(255, 204, 102, 0.1); }
.player-bug-status.in_progress { color: #71b7ff; background: rgba(113, 183, 255, 0.1); }
.player-bug-status.resolved { color: #56e39f; background: rgba(86, 227, 159, 0.1); }
.player-bug-severity.high,
.player-bug-severity.critical { color: #ff7d91; background: rgba(255, 125, 145, 0.1); }
.player-bug-description { margin: 0 0 14px; color: #aab3c4; white-space: pre-wrap; }

.player-bug-resolution {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid #56e39f;
  color: #c9f7df;
  background: rgba(86, 227, 159, 0.06);
}

.bug-empty-state {
  padding: 36px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #8994a7;
  text-align: center;
}

@media (max-width: 991px) {
  .bug-report-hero,
  .bug-report-layout { grid-template-columns: 1fr; }
  .bug-response-promise { min-width: 0; }
}

@media (max-width: 767px) {
  .bug-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .bug-report-hero,
  .bug-report-form-card,
  .bug-history { padding: 20px; }
  .bug-form-row { grid-template-columns: 1fr; }
  .bug-response-promise { grid-template-columns: auto 18px auto 18px auto; padding: 14px; }
}
