/* Specific styles for support.html (Mobile First) */

.role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: var(--font-title);
  border-radius: var(--border-radius-sm);
  letter-spacing: 0.5px;
}

.badge-player {
  background: #34495e;
  color: #fff;
}

.badge-dev {
  background: linear-gradient(45deg, var(--neon-pink), var(--neon-yellow));
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

input[type="text"],
textarea {
  background: #1a1a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
  color: #fff;
  font-size: 16px; /* Prevents iOS auto-zoom */
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--border-radius-sm);
  min-height: 48px;
}

textarea {
  min-height: 120px;
}

input:focus,
textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.15);
}

.btn-submit {
  background: var(--neon-blue);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  min-height: 48px;
  width: 100%;
  touch-action: manipulation;
}

.btn-submit:hover,
.btn-submit:active {
  background: #2980b9;
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

/* Ticket List for Devs */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  padding-right: 4px;
}

.ticket-card {
  background: #1a1a24;
  border-left: 4px solid #ffaa00;
  padding: 16px;
  position: relative;
  box-sizing: border-box;
  word-wrap: break-word;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.ticket-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding-right: 44px;
}

@media (min-width: 400px) {
  .ticket-header {
    flex-direction: row;
    justify-content: space-between;
  }
}

.btn-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(231, 76, 60, 0.15);
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
  width: 44px !important;
  height: 44px;
  padding: 0 !important;
  font-size: 20px;
  font-weight: bold;
  line-height: 42px;
  text-align: center;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  touch-action: manipulation;
}

.btn-delete:hover,
.btn-delete:active {
  background: var(--neon-red);
  color: #fff;
}

.ticket-user {
  color: var(--neon-cyan);
  font-weight: bold;
}

.ticket-subject {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #fff;
  padding-right: 44px;
}

.ticket-msg {
  font-size: 13.5px;
  color: var(--text-dim);
  white-space: pre-wrap;
  line-height: 1.5;
}
