/* ============================================
   FastDrop — Support Page (iOS Native)
   No Gradient • FastDrop Brand • Dense Layout
   Every Property On Its Own Line
   ============================================ */

/* --- 1. Font Import (Inter Only) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:slnt,wght@-10..0,100..900&display=swap');

/* --- 2. Design Tokens — FastDrop Brand --- */
:root {
  --primary: #FF6B35;
  --primary-light: #FF8C5F;
  --ios-blue: #007AFF;
  --ios-green: #34C759;
  --ios-red: #FF3B30;
  --ios-orange: #FF9500;
  --ios-purple: #5856D6;
  --ios-background: #F2F2F7;
  --card-bg: #FFFFFF;
  --text-primary: #1C1C1E;
  --text-secondary: #8E8E93;
  --border-light: rgba(60, 60, 67, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --font-system: 'Inter', -apple-system, sans-serif;
  --letter-spacing-tight: -0.022em;
  --letter-spacing-normal: -0.01em;
  --line-height-compact: 1.2;
  --line-height-readable: 1.45;
  --transition-fast: 0.18s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- 3. Global Reset — Inter ONLY on text, NEVER on ::before/::after --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
input,
select,
textarea,
button,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
div,
li,
td,
th,
label {
  font-family: var(--font-system);
}

body {
  background: var(--ios-background);
  color: var(--text-primary);
  line-height: var(--line-height-readable);
  padding: var(--space-4);
  direction: rtl;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: var(--letter-spacing-normal);
}

/* --- 4. Container --- */
.container {
  max-width: 640px;
  margin: 0 auto;
}

/* --- 5. Support Header --- */
.support-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.support-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-tight);
}

.support-header p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: var(--space-1);
}

/* --- 6. Support Notice (Solid — No Gradient) --- */
.support-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
  border: 0.5px solid rgba(88, 86, 214, 0.12);
}

.notice-icon {
  width: 42px;
  height: 42px;
  background: rgba(88, 86, 214, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ios-purple);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.notice-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-1);
}

.notice-content p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* --- 7. Tab Bar --- */
.tab-bar {
  display: flex;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
  border: 0.5px solid var(--border-light);
}

.tab-btn {
  flex: 1;
  padding: var(--space-2);
  text-align: center;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
  background: transparent;
  border: none;
  letter-spacing: var(--letter-spacing-normal);
}

.tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

/* --- 8. Card --- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
  border: 0.5px solid var(--border-light);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  color: var(--text-primary);
}

/* --- 9. Form --- */
.form-group {
  margin-bottom: var(--space-4);
}

label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--ios-background);
  transition: var(--transition-fast);
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-normal);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.06);
  background: var(--card-bg);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

/* --- 10. Primary Button --- */
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  width: 100%;
  cursor: pointer;
  letter-spacing: var(--letter-spacing-normal);
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.2);
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:active {
  transform: scale(0.97);
  background: var(--primary-light);
}

/* =============================================
   ISSUE LIST
   ============================================= */

/* --- 11. Issue Item --- */
.issue-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 0.5px solid var(--border-light);
}

.issue-item:last-child {
  border-bottom: none;
}

.issue-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.issue-info {
  flex: 1;
}

.issue-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.issue-meta {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* --- 12. Status Badge --- */
.status-badge {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-normal);
}

.status-open {
  background: rgba(255, 149, 0, 0.08);
  color: var(--ios-orange);
}

.status-progress {
  background: rgba(0, 122, 255, 0.08);
  color: var(--ios-blue);
}

.status-resolved {
  background: rgba(52, 199, 89, 0.08);
  color: var(--ios-green);
}

.status-closed {
  background: var(--ios-background);
  color: var(--text-secondary);
}

/* --- 13. Empty State --- */
.empty-state {
  text-align: center;
  padding: var(--space-10);
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  opacity: 0.5;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  body {
    padding: var(--space-3);
  }

  .card {
    padding: var(--space-4);
  }
}