/* =========================================
   Arab Throne — Appeals Page Styles
   ========================================= */

/* ─── Appeals Layout ────────────────────── */
.appeals-layout {
  position: relative;
  z-index: 1;
  padding: 2rem 0 5rem;
}

.appeals-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .appeals-grid { grid-template-columns: 1fr; }
}

/* ─── Appeal Form Card ──────────────────── */
.appeal-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.appeal-form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.appeal-form-title .icon {
  font-size: 1.4rem;
}

.appeal-form-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Step Dividers */
.form-section {
  margin-bottom: 1.75rem;
}

.form-section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Input hints */
.input-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Select */
select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.input option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(232,184,75,0.04);
  border: 1px solid rgba(232,184,75,0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-gold);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Submit Button */
.appeal-submit {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-gold), #c9902a);
  border: none;
  color: #0a0a0a;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}

.appeal-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.appeal-submit:hover::before { opacity: 1; }
.appeal-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-gold);
}

/* Success State */
.appeal-success {
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInUp 0.6s ease;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(46,204,113,0.1);
  border: 2px solid rgba(46,204,113,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  animation: pulse-green 2s ease-in-out infinite;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #2ecc71;
  margin-bottom: 0.75rem;
}

.success-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 350px;
  margin: 0 auto 1.5rem;
}

.success-id {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.25rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* ─── Sidebar Cards ─────────────────────── */
.appeals-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Process Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: var(--transition-fast);
}

.timeline-item.active .timeline-dot {
  background: rgba(232,184,75,0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.timeline-content { padding-top: 4px; }

.timeline-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.timeline-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Info Cards */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.info-item-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.9rem;
}

/* Warning Card */
.warning-card {
  background: rgba(192,57,43,0.06);
  border-color: rgba(192,57,43,0.25);
}

.warning-card .sidebar-card-title { color: #e74c3c; }
