/* Support Page CSS - Styles specific to support/index.php */

/* ============================================
   Modern Support Page Styling (matching search.css)
   ============================================ */
/* Main content cards with modern gradient styling */
.main-content > .card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(30, 30, 30, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(6, 182, 212, 0.1) inset;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content > .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(6, 182, 212, 0.03) 0%, 
    transparent 30%,
    transparent 70%,
    rgba(157, 78, 221, 0.03) 100%);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.main-content > .card > * {
  position: relative;
  z-index: 1;
}

/* Modern sidebar cards - matching search.css */
.sidebar-left > .card,
.sidebar-right > .card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.6) 0%, rgba(30, 30, 30, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(157, 78, 221, 0.1) inset;
}

.sidebar-left > .card::before,
.sidebar-right > .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(157, 78, 221, 0.02) 0%, 
    transparent 50%,
    rgba(6, 182, 212, 0.02) 100%);
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
}

.sidebar-left > .card > *,
.sidebar-right > .card > * {
  position: relative;
  z-index: 1;
}

.sidebar-left .card-header,
.sidebar-right .card-header {
  position: relative;
  padding-bottom: var(--spacing-md) !important;
  margin-bottom: var(--spacing-md) !important;
  border-bottom: none !important;
}

.sidebar-left .card-header::after,
.sidebar-right .card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(157, 78, 221, 0.3) 50%,
    transparent 100%);
}

.sidebar-left .card-header h3,
.sidebar-right .card-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern list items in sidebar - matching search.css */
.sidebar-left .list-item,
.sidebar-right .list-item {
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: var(--spacing-xs);
}

.sidebar-left .list-item:hover,
.sidebar-right .list-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.sidebar-left .list-item-title,
.sidebar-right .list-item-title {
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.sidebar-left .list-item:hover .list-item-title,
.sidebar-right .list-item:hover .list-item-title {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern headings in main content */
.main-content > .card h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

.main-content > .card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.main-content > .card h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(6, 182, 212, 0.5) 25%,
    rgba(157, 78, 221, 0.5) 75%,
    transparent 100%);
  border-radius: 2px;
}

.main-content > .card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

/* Modern subcards styling */
.subcard {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--spacing-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subcard:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Support Form Styling
   ============================================ */
/* Support form uses standard form components from components.css */
/* Character counter styling */
#char-count {
  font-weight: 500;
}

/* ============================================
   Support Error/Success Messages
   ============================================ */
/* Support error message styling (using Tailwind-like classes) */
.bg-danger\/10 {
  background-color: rgba(239, 68, 68, 0.1);
}

.border-danger\/20 {
  border-color: rgba(239, 68, 68, 0.2);
}

.bg-success\/10 {
  background-color: rgba(16, 185, 129, 0.1);
}

.border-success\/20 {
  border-color: rgba(16, 185, 129, 0.2);
}

.rounded-lg {
  border-radius: var(--border-radius);
}

.p-3 {
  padding: 0.75rem;
}

/* ============================================
   Support Page Utilities
   ============================================ */
/* Space-y utility for vertical spacing between children */
.space-y-2 > * + * {
  margin-top: var(--spacing-sm);
}

/* ============================================
   Support Page Hero Subsection (shared with legal/safety)
   ============================================ */
/* Hero subsection styling for support page sidebars */
.hero-subsection {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subsection-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.hero-subsection-text:last-child {
  margin-bottom: 0;
}

.hero-subsection-text strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero-subsection-text ul {
  margin-top: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-lg);
}

.hero-subsection-text ul li {
  margin-bottom: var(--spacing-xs);
}

.hero-subsection-text ul li:last-child {
  margin-bottom: 0;
}

/* ============================================
   Support FAQ Section
   ============================================ */
/* FAQ items use standard typography and spacing utilities */

/* ============================================
   Support Contact Form
   ============================================ */
/* Contact form uses standard form components from components.css */
/* Additional styling if needed for support-specific form elements */

