/* ===== Support Page ===== */

/* Contact Cards */
.sup-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.sup-contact-card {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}
.sup-contact-card:hover {
  border-color: rgba(92, 184, 230, 0.3);
}
.sup-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.sup-contact-icon.blue { background: rgba(92, 184, 230, 0.12); color: #5cb8e6; }
.sup-contact-icon.green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.sup-contact-icon.purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }

.sup-contact-title {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.sup-contact-detail {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}
.sup-contact-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid #1e293b;
  color: #94a3b8;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.sup-contact-btn:hover {
  border-color: #5cb8e6;
  color: #5cb8e6;
}

/* Section */
.sup-section {
  margin-bottom: 24px;
}
.sup-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 16px;
}

/* FAQ */
.sup-faq-list {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
}
.sup-faq-item {
  border-bottom: 1px solid #1e293b;
}
.sup-faq-item:last-child {
  border-bottom: none;
}
.sup-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
.sup-faq-question:hover {
  background: rgba(92, 184, 230, 0.03);
}
.sup-faq-question svg {
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.2s;
}
.sup-faq-item.open .sup-faq-question svg {
  transform: rotate(180deg);
}
.sup-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.sup-faq-item.open .sup-faq-answer {
  max-height: 300px;
  padding: 0 20px 16px;
}
.sup-faq-answer p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
}

/* Two Column Layout */
.sup-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

/* Panel */
.sup-panel {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
}
.sup-panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid #1e293b;
}
.sup-panel-title {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}

/* Ticket Form */
.sup-ticket-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sup-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sup-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sup-field-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sup-input,
.sup-select,
.sup-textarea {
  background: #0a0e17;
  border: 1px solid #1e293b;
  color: #e2e8f0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.sup-input:focus,
.sup-select:focus,
.sup-textarea:focus {
  border-color: #5cb8e6;
}
.sup-input::placeholder,
.sup-textarea::placeholder {
  color: #475569;
}
.sup-textarea {
  resize: vertical;
  min-height: 80px;
}
.sup-select {
  cursor: pointer;
}

/* File Upload */
.sup-file-upload {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0a0e17;
  border: 1px dashed #1e293b;
  border-radius: 6px;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}
.sup-file-upload:hover {
  border-color: #5cb8e6;
  color: #94a3b8;
}
.sup-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Submit Button */
.sup-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #5cb8e6;
  color: #0a0e17;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.sup-submit-btn:hover {
  background: #7dcbf0;
}

/* Tickets Table */
.sup-tickets-table-wrap {
  overflow-x: auto;
}
.sup-tickets-table {
  width: 100%;
  border-collapse: collapse;
}
.sup-tickets-table thead th {
  background: #0d1320;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid #1e293b;
}
.sup-tickets-table tbody td {
  padding: 12px 16px;
  font-size: 13px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
.sup-tickets-table tbody tr:last-child td {
  border-bottom: none;
}
.sup-tickets-table tbody tr:hover {
  background: rgba(92, 184, 230, 0.03);
}
.ticket-id {
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #5cb8e6;
  font-size: 12px;
}

/* Ticket Status */
.ticket-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ticket-status.open {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.ticket-status.in-progress {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.ticket-status.resolved {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

/* Responsive */
@media (max-width: 1024px) {
  .sup-two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .sup-contact-grid {
    grid-template-columns: 1fr;
  }
  .sup-form-row {
    grid-template-columns: 1fr;
  }
  .sup-tickets-table {
    min-width: 500px;
  }
}
