@charset "UTF-8";

/* bug-report.css — Floating "Hata Bildir" button + modal */

#bug-report-fab {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 8000;
  background: linear-gradient(135deg, #ff8a4d, #c4302b);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(196, 48, 43, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 44px;
}
#bug-report-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 48, 43, 0.55);
}
.brf-icon { font-size: 1.1rem; }

@media (max-width: 600px) {
  /* On mobile: only icon, no text (save space) */
  .brf-text { display: none; }
  #bug-report-fab { padding: 0; width: 44px; height: 44px; justify-content: center; }
}

/* BETA badge (added to topbar) */
.kartarena-beta-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: linear-gradient(135deg, #ff8a4d, #c4302b);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 1px 4px rgba(196, 48, 43, 0.4);
}

/* Modal */
#bug-report-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  font-family: 'Outfit', system-ui, sans-serif;
}
.br-card {
  background: linear-gradient(180deg, #1a0d04, #0d0703);
  border: 1px solid rgba(196, 48, 43, 0.4);
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.br-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.br-title { font-size: 1.05rem; font-weight: 800; color: #fff; }
.br-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 6px;
}
.br-close:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.br-body {
  padding: 18px 20px;
  overflow-y: auto;
}
.br-sub {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  line-height: 1.5;
}
.br-sub b { color: #ffd58a; }

#br-text {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 8px;
  resize: vertical;
  min-height: 100px;
  box-sizing: border-box;
}
#br-text:focus { outline: none; border-color: rgba(196, 48, 43, 0.6); }

.br-device {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.br-device summary { cursor: pointer; padding: 4px 0; }
.br-device pre {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 6px;
  font-size: 0.72rem;
  white-space: pre-wrap;
  word-break: break-all;
  color: rgba(255, 255, 255, 0.6);
}

.br-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.br-btn {
  flex: 1;
  border: none;
  padding: 11px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  min-height: 44px;
}
.br-btn-cancel {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}
.br-btn-send {
  background: linear-gradient(135deg, #ff8a4d, #c4302b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(196, 48, 43, 0.3);
}
.br-btn-send:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(196, 48, 43, 0.5); }
