/* ═══════════════════════════════════════════════════════════════
   BugRadar Support Page – Styles
═══════════════════════════════════════════════════════════════ */

/* ── Base ─────────────────────────────────────────────────── */
body { cursor: default; }
a, button, [type="submit"] { cursor: pointer; }

/* ── Hero ─────────────────────────────────────────────────── */
.support-hero { background: #000; }

.support-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.support-icon-wrap {
  width: 88px; height: 88px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-heading {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1.08;
}

.support-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

/* ── Form fields ──────────────────────────────────────────── */
.field-wrap {
  margin-bottom: 20px;
}

.field-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.field-label-hint {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.28);
}

.field-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-appearance: none;
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.field-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.field-input.error {
  border-color: rgba(255, 59, 48, 0.5);
  background: rgba(255, 59, 48, 0.04);
}

.field-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* Select */
.select-wrap {
  position: relative;
}

.field-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 44px 14px 18px;
  font-size: 15px;
  color: #fff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field-select option {
  background: #1C1C1E;
  color: #fff;
}

.field-select:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.field-select.error {
  border-color: rgba(255, 59, 48, 0.5);
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Validation error messages */
.field-error {
  display: none;
  font-size: 12px;
  color: #FF6961;
  margin-top: 6px;
  padding-left: 2px;
}
.field-error.visible { display: block; }

/* ── Submit button ────────────────────────────────────────── */
.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 17px 32px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  border: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background 0.2s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.submit-btn:active { transform: scale(0.98) translateY(0); }

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Loading state */
.submit-btn.loading #submit-icon {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Success card ─────────────────────────────────────────── */
.success-card {
  text-align: center;
  padding: 56px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
}

.success-icon {
  width: 64px; height: 64px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 20px;
  font-weight: 700;
}

.success-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 340px;
  margin: 0 auto 28px;
}

.success-reset {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.success-reset:hover { color: rgba(255, 255, 255, 0.7); }
