/* ============================================
   ROOM IPTV - Modern Client Area Dashboard
   Dark Theme - WooCommerce My Account Override
   ============================================ */

/* ---- Standalone: kill ALL theme chrome ---- */
body.ra-standalone {
  margin: 0 !important;
  padding: 0 !important;
  background: #0a0e17 !important;
  overflow-x: hidden;
}

body.ra-standalone #wrapper,
body.ra-standalone .wrapper,
body.ra-standalone .site,
body.ra-standalone .site-content,
body.ra-standalone #content,
body.ra-standalone .entry-content,
body.ra-standalone .page-content,
body.ra-standalone article,
body.ra-standalone .inner-page,
body.ra-standalone .text-page,
body.ra-standalone .row,
body.ra-standalone .centered {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
}

body.ra-standalone header,
body.ra-standalone footer,
body.ra-standalone .site-header,
body.ra-standalone .site-footer,
body.ra-standalone #header,
body.ra-standalone #footer,
body.ra-standalone .navbar,
body.ra-standalone .nav-wrapper,
body.ra-standalone .ltx-navbar,
body.ra-standalone .page-header,
body.ra-standalone .ltx-page-header,
body.ra-standalone .breadcrumbs,
body.ra-standalone .breadcrumb,
body.ra-standalone .inner-page-header,
body.ra-standalone .wrapper-navbar,
body.ra-standalone .entry-header,
body.ra-standalone .page-title,
body.ra-standalone .comments-area,
body.ra-standalone .sidebar,
body.ra-standalone #sidebar,
body.ra-standalone .widget-area,
body.ra-standalone .before-footer,
body.ra-standalone .subscribe-section,
body.ra-standalone .top-bar,
body.ra-standalone #wpadminbar {
  display: none !important;
}

body.ra-standalone .woocommerce-MyAccount-navigation {
  display: none !important;
}

:root {
  --ra-bg-primary: #0a0e17;
  --ra-bg-secondary: #111827;
  --ra-bg-card: #1a2236;
  --ra-bg-card-hover: #1f2b43;
  --ra-bg-input: #0f1629;
  --ra-border: rgba(255, 255, 255, 0.06);
  --ra-border-active: rgba(99, 102, 241, 0.4);
  --ra-text-primary: #f1f5f9;
  --ra-text-secondary: #94a3b8;
  --ra-text-muted: #64748b;
  --ra-accent: #6366f1;
  --ra-accent-hover: #818cf8;
  --ra-accent-glow: rgba(99, 102, 241, 0.15);
  --ra-success: #10b981;
  --ra-success-bg: rgba(16, 185, 129, 0.1);
  --ra-warning: #f59e0b;
  --ra-warning-bg: rgba(245, 158, 11, 0.1);
  --ra-danger: #ef4444;
  --ra-danger-bg: rgba(239, 68, 68, 0.1);
  --ra-info: #3b82f6;
  --ra-info-bg: rgba(59, 130, 246, 0.1);
  --ra-gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6);
  --ra-gradient-2: linear-gradient(135deg, #3b82f6, #06b6d4);
  --ra-gradient-3: linear-gradient(135deg, #10b981, #059669);
  --ra-gradient-4: linear-gradient(135deg, #f59e0b, #ef4444);
  --ra-radius: 16px;
  --ra-radius-sm: 10px;
  --ra-radius-xs: 6px;
  --ra-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --ra-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --ra-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset WooCommerce defaults ---- */
.woocommerce-account .woocommerce,
.woocommerce-account .entry-content,
.woocommerce-account .site-content,
.woocommerce-account #content {
  background: var(--ra-bg-primary) !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account .entry-header,
.woocommerce-account .page-title {
  display: none !important;
}

/* ---- Main Layout (full-width, no sidebar) ---- */
.ra-account-wrapper,
.ra-account-fullwidth {
  background: var(--ra-bg-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ra-text-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Old sidebar wrapper — hidden */
.ra-account-wrapper { display: none; }

/* ---- Account Top Bar ---- */
.ra-account-topbar {
  max-width: 1100px;
  margin: 0 auto 24px;
  padding: 0 24px;
}

.ra-account-topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 10px 20px;
}

/* User chip */
.ra-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid var(--ra-border);
}

.ra-topbar-user .ra-user-avatar {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.ra-topbar-user-info {
  display: flex;
  flex-direction: column;
}

.ra-topbar-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ra-text-primary);
  line-height: 1.3;
}

.ra-topbar-email {
  font-size: 11px;
  color: var(--ra-text-muted);
  line-height: 1.3;
}

/* Tabs */
.ra-topbar-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.ra-topbar-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ra-text-muted);
  text-decoration: none !important;
  border-radius: 8px;
  transition: var(--ra-transition);
  white-space: nowrap;
  position: relative;
}

.ra-topbar-tab svg {
  opacity: 0.5;
  transition: var(--ra-transition);
}

.ra-topbar-tab:hover {
  color: var(--ra-text-primary);
  background: rgba(255,255,255,0.04);
}

.ra-topbar-tab:hover svg { opacity: 0.8; }

.ra-topbar-tab.is-active {
  color: var(--ra-accent);
  background: var(--ra-accent-glow);
  font-weight: 600;
}

.ra-topbar-tab.is-active svg {
  opacity: 1;
  color: var(--ra-accent);
}

/* Logout */
.ra-topbar-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ra-danger);
  text-decoration: none !important;
  border-radius: 8px;
  background: var(--ra-danger-bg);
  transition: var(--ra-transition);
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.ra-topbar-logout:hover {
  color: #fff;
  background: var(--ra-danger);
}

@media (max-width: 768px) {
  .ra-account-topbar { padding: 0 16px; margin-bottom: 16px; }
  .ra-account-topbar-inner {
    flex-wrap: wrap;
    padding: 12px 14px;
    gap: 10px;
  }
  .ra-topbar-user {
    border-right: none;
    padding-right: 0;
    flex: 1;
  }
  .ra-topbar-user-info { display: none; }
  .ra-topbar-logout {
    margin-left: auto;
    padding: 6px 10px;
    font-size: 11px;
  }
  .ra-topbar-tabs {
    width: 100%;
    order: 3;
    border-top: 1px solid var(--ra-border);
    padding-top: 10px;
    gap: 2px;
  }
  .ra-topbar-tab {
    flex: 1;
    justify-content: center;
    padding: 6px 8px;
    font-size: 11px;
  }
  .ra-topbar-tab svg { display: none; }
}

/* ---- Sidebar Navigation ---- */
.ra-sidebar {
  width: 280px;
  min-height: 100vh;
  background: var(--ra-bg-secondary);
  border-right: 1px solid var(--ra-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: var(--ra-transition);
}

.ra-sidebar-header {
  padding: 28px 24px;
  border-bottom: 1px solid var(--ra-border);
}

.ra-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ra-sidebar-logo {
  width: 42px;
  height: 42px;
  background: var(--ra-gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ra-sidebar-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ra-text-primary);
  letter-spacing: -0.3px;
}

.ra-sidebar-brand-sub {
  font-size: 11px;
  color: var(--ra-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/* Navigation Items */
.ra-nav {
  padding: 16px 12px;
  flex: 1;
  list-style: none !important;
  margin: 0 !important;
}

.ra-nav-item {
  list-style: none !important;
  margin-bottom: 4px !important;
  padding: 0 !important;
}

.ra-nav-item::before {
  display: none !important;
}

.ra-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--ra-radius-sm);
  color: var(--ra-text-secondary);
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: var(--ra-transition);
  position: relative;
  overflow: hidden;
}

.ra-nav-link:hover {
  color: var(--ra-text-primary);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none !important;
}

.ra-nav-link.is-active {
  color: #fff;
  background: var(--ra-accent-glow);
}

.ra-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--ra-accent);
  border-radius: 0 4px 4px 0;
}

.ra-nav-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  flex-shrink: 0;
}

.ra-nav-link.is-active .ra-nav-icon {
  opacity: 1;
}

.ra-nav-badge {
  margin-left: auto;
  background: var(--ra-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  min-width: 22px;
  text-align: center;
}

/* Sidebar Footer (User) */
.ra-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--ra-border);
}

.ra-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--ra-radius-sm);
  transition: var(--ra-transition);
}

.ra-user-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.ra-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ra-gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.ra-user-info {
  flex: 1;
  min-width: 0;
}

.ra-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ra-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ra-user-email {
  font-size: 11px;
  color: var(--ra-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Main Content ---- */
.ra-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px;
  min-height: calc(100vh - 150px);
  background: var(--ra-bg-primary);
}

/* Top Bar */
/* ---- Order Hero Header ---- */
.ra-order-hero {
  position: relative;
  padding: 36px 32px 28px;
  margin: 16px 0 28px;
  border-radius: var(--ra-radius-md, 16px);
  background: var(--ra-bg-card, #111827);
  border: 1px solid var(--ra-border, rgba(255,255,255,0.06));
  overflow: hidden;
  text-align: center;
}

.ra-order-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ra-order-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.ra-order-hero-orb--1 {
  width: 260px;
  height: 260px;
  background: #6366f1;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.ra-order-hero-orb--2 {
  width: 180px;
  height: 180px;
  background: #a855f7;
  bottom: -60px;
  right: 5%;
}

.ra-order-hero-content {
  position: relative;
  z-index: 1;
}

.ra-order-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #a5b4fc;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.ra-order-hero-content h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--ra-text-primary, #fff);
  margin: 0 0 6px;
  letter-spacing: -0.8px;
}

.ra-order-hero-gradient {
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ra-order-hero-content p {
  font-size: 14px;
  color: var(--ra-text-muted, rgba(255,255,255,0.45));
  margin: 0 0 18px;
}

.ra-order-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .ra-order-hero {
    padding: 28px 20px 22px;
    margin: 8px 0 20px;
  }
  .ra-order-hero-content h1 {
    font-size: 22px;
  }
}

.ra-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  margin-bottom: 32px;
}

.ra-topbar-left h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ra-text-primary);
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.ra-topbar-left p {
  font-size: 14px;
  color: var(--ra-text-secondary);
  margin: 0;
}

.ra-topbar-actions {
  display: flex;
  gap: 12px;
}

/* ---- Buttons ---- */
.ra-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--ra-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: var(--ra-transition);
  white-space: nowrap;
}

.ra-btn-primary {
  background: var(--ra-gradient-1);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ra-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
  color: #fff !important;
}

.ra-btn-outline {
  background: var(--ra-accent-glow);
  color: var(--ra-accent) !important;
  border: 1px solid var(--ra-accent);
}

.ra-btn-outline:hover {
  background: var(--ra-accent);
  color: #fff !important;
  border-color: var(--ra-accent);
}

.ra-btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* ---- Stats Cards ---- */
.ra-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ra-stat-card {
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 24px;
  transition: var(--ra-transition);
  position: relative;
  overflow: hidden;
}

.ra-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: var(--ra-transition);
}

.ra-stat-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--ra-shadow);
}

.ra-stat-card:hover::before {
  opacity: 1;
}

.ra-stat-card:nth-child(1)::before { background: var(--ra-gradient-1); }
.ra-stat-card:nth-child(2)::before { background: var(--ra-gradient-2); }
.ra-stat-card:nth-child(3)::before { background: var(--ra-gradient-3); }
.ra-stat-card:nth-child(4)::before { background: var(--ra-gradient-4); }

.ra-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ra-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ra-stat-icon.purple { background: var(--ra-accent-glow); color: var(--ra-accent); }
.ra-stat-icon.blue { background: var(--ra-info-bg); color: var(--ra-info); }
.ra-stat-icon.green { background: var(--ra-success-bg); color: var(--ra-success); }
.ra-stat-icon.orange { background: var(--ra-warning-bg); color: var(--ra-warning); }

.ra-stat-trend {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}

.ra-stat-trend.up { background: var(--ra-success-bg); color: var(--ra-success); }
.ra-stat-trend.down { background: var(--ra-danger-bg); color: var(--ra-danger); }

.ra-stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--ra-text-primary);
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.ra-stat-label {
  font-size: 13px;
  color: var(--ra-text-muted);
  font-weight: 500;
}

/* ---- Welcome Banner ---- */
.ra-welcome-banner {
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.ra-welcome-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ra-welcome-content {
  position: relative;
  z-index: 1;
}

.ra-welcome-greeting {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ra-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.ra-welcome-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ra-text-primary);
  margin-bottom: 8px;
}

.ra-welcome-subtitle {
  font-size: 14px;
  color: var(--ra-text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

/* ---- New Dashboard (full-width) ---- */
.ra-dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.ra-dash-welcome::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ra-dash-welcome-text { position: relative; z-index: 1; }

.ra-dash-greeting {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ra-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.ra-dash-welcome h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ra-text-primary);
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.ra-dash-welcome p {
  font-size: 13px;
  color: var(--ra-text-secondary);
  margin: 0;
}

/* Stats bar */
.ra-dash-stats {
  display: flex;
  align-items: center;
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 20px 0;
  margin-bottom: 24px;
}

.ra-dash-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
}

.ra-dash-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--ra-border);
  flex-shrink: 0;
}

.ra-dash-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ra-dash-stat-icon.purple { background: var(--ra-accent-glow); color: var(--ra-accent); }
.ra-dash-stat-icon.blue { background: var(--ra-info-bg); color: var(--ra-info); }
.ra-dash-stat-icon.green { background: var(--ra-success-bg); color: var(--ra-success); }

.ra-dash-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--ra-text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.ra-dash-stat-label {
  font-size: 12px;
  color: var(--ra-text-muted);
  font-weight: 500;
}

/* Grid: actions + activity */
.ra-dash-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

.ra-dash-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ra-dash-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-left: 3px solid var(--ra-accent);
  border-radius: var(--ra-radius);
  text-decoration: none !important;
  transition: var(--ra-transition);
}
.ra-dash-action:nth-child(2) { border-left-color: var(--ra-success); }
.ra-dash-action:nth-child(3) { border-left-color: var(--ra-info); }

.ra-dash-action:hover {
  border-color: rgba(255,255,255,0.1);
  border-left-width: 3px;
  transform: translateX(4px);
  box-shadow: var(--ra-shadow);
}
.ra-dash-action:nth-child(1):hover { border-left-color: var(--ra-accent); }
.ra-dash-action:nth-child(2):hover { border-left-color: var(--ra-success); }
.ra-dash-action:nth-child(3):hover { border-left-color: var(--ra-info); }

.ra-dash-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ra-dash-action-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ra-text-primary);
}

.ra-dash-action-desc {
  font-size: 12px;
  color: var(--ra-text-muted);
}

.ra-dash-action-arrow {
  margin-left: auto;
  color: var(--ra-text-muted);
  opacity: 0;
  transition: var(--ra-transition);
  flex-shrink: 0;
}

.ra-dash-action:hover .ra-dash-action-arrow {
  opacity: 1;
  color: var(--ra-accent);
}

@media (max-width: 768px) {
  .ra-dash-welcome {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .ra-dash-stats {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  .ra-dash-stat {
    padding: 16px 20px;
    width: 100%;
  }
  .ra-dash-stat-sep {
    width: 100%;
    height: 1px;
  }
  .ra-dash-grid {
    grid-template-columns: 1fr;
  }
  .ra-main {
    padding: 20px 16px !important;
  }
}

/* ---- Cards / Panels ---- */
.ra-card {
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.ra-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ra-border);
}

.ra-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ra-text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ra-card-body {
  padding: 24px;
}

/* ---- Modern Table ---- */
.ra-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.ra-table thead th {
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ra-text-muted);
  text-align: left;
  border-bottom: 1px solid var(--ra-border);
  background: rgba(255, 255, 255, 0.02);
}

.ra-table tbody tr {
  transition: var(--ra-transition);
}

.ra-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ra-table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ra-text-secondary);
  border-bottom: 1px solid var(--ra-border);
  vertical-align: middle;
}

.ra-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.ra-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.ra-badge-success {
  background: var(--ra-success-bg);
  color: var(--ra-success);
}

.ra-badge-warning {
  background: var(--ra-warning-bg);
  color: var(--ra-warning);
}

.ra-badge-danger {
  background: var(--ra-danger-bg);
  color: var(--ra-danger);
}

.ra-badge-info {
  background: var(--ra-info-bg);
  color: var(--ra-info);
}

.ra-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- Order ID styled ---- */
.ra-order-id {
  font-weight: 600;
  color: var(--ra-accent);
  cursor: pointer;
}

.ra-order-id:hover {
  color: var(--ra-accent-hover);
}

/* ---- Subscription Card ---- */
.ra-sub-card {
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: var(--ra-transition);
}

.ra-sub-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.ra-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ra-sub-plan {
  font-size: 18px;
  font-weight: 700;
  color: var(--ra-text-primary);
}

.ra-sub-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ra-sub-detail-item {
  padding: 12px;
  background: var(--ra-bg-input);
  border-radius: var(--ra-radius-xs);
}

.ra-sub-detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ra-text-muted);
  margin-bottom: 4px;
}

.ra-sub-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ra-text-primary);
}

/* ---- Form Styles ---- */
.ra-form-group {
  margin-bottom: 20px;
}

.ra-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ra-text-secondary);
  margin-bottom: 8px;
}

.ra-form-input,
.ra-main input[type="text"],
.ra-main input[type="email"],
.ra-main input[type="password"],
.ra-main input[type="tel"],
.ra-main select,
.ra-main textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--ra-bg-input) !important;
  border: 1px solid var(--ra-border) !important;
  border-radius: var(--ra-radius-xs) !important;
  color: var(--ra-text-primary) !important;
  font-size: 14px !important;
  transition: var(--ra-transition);
  outline: none;
}

.ra-main input:focus,
.ra-main select:focus,
.ra-main textarea:focus {
  border-color: var(--ra-border-active) !important;
  box-shadow: 0 0 0 3px var(--ra-accent-glow) !important;
}

/* WooCommerce form overrides inside our wrapper */
.ra-main .woocommerce-EditAccountForm,
.ra-main .woocommerce-address-fields,
.ra-main .edit-account {
  max-width: 640px;
}

.ra-main .woocommerce-EditAccountForm .form-row,
.ra-main .woocommerce-address-fields .form-row {
  margin-bottom: 16px;
}

.ra-main .woocommerce-EditAccountForm label,
.ra-main .woocommerce-address-fields label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ra-text-secondary);
}

.ra-main .woocommerce-EditAccountForm .button,
.ra-main .woocommerce-address-fields .button,
.ra-main .woocommerce button.button,
.ra-main .woocommerce input.button {
  background: var(--ra-gradient-1) !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: var(--ra-radius-sm) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: var(--ra-transition);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ra-main .woocommerce button.button:hover,
.ra-main .woocommerce input.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

/* ---- Quick Actions ---- */
.ra-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.ra-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  text-decoration: none !important;
  transition: var(--ra-transition);
  cursor: pointer;
  text-align: center;
}

.ra-quick-action:hover {
  border-color: var(--ra-border-active);
  transform: translateY(-2px);
  box-shadow: var(--ra-shadow);
  background: var(--ra-bg-card-hover);
}

.ra-quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ra-quick-action-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ra-text-primary);
}

.ra-quick-action-desc {
  font-size: 12px;
  color: var(--ra-text-muted);
}

/* ---- Activity / Timeline ---- */
.ra-activity-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ra-border);
}

.ra-activity-item:last-child {
  border-bottom: none;
}

.ra-activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.ra-activity-content {
  flex: 1;
}

.ra-activity-text {
  font-size: 14px;
  color: var(--ra-text-secondary);
}

.ra-activity-text strong {
  color: var(--ra-text-primary);
}

.ra-activity-time {
  font-size: 12px;
  color: var(--ra-text-muted);
  margin-top: 4px;
}

/* ---- Empty State ---- */
.ra-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.ra-empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--ra-text-muted);
  margin-bottom: 16px;
  opacity: 0.5;
}

.ra-empty-state h3 {
  font-size: 18px;
  color: var(--ra-text-secondary);
  margin-bottom: 8px;
}

.ra-empty-state p {
  font-size: 14px;
  color: var(--ra-text-muted);
  margin-bottom: 20px;
}

/* ---- Mobile Toggle ---- */
.ra-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ra-gradient-1);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

.ra-animate-in {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.ra-animate-in:nth-child(1) { animation-delay: 0.05s; }
.ra-animate-in:nth-child(2) { animation-delay: 0.1s; }
.ra-animate-in:nth-child(3) { animation-delay: 0.15s; }
.ra-animate-in:nth-child(4) { animation-delay: 0.2s; }
.ra-animate-in:nth-child(5) { animation-delay: 0.25s; }
.ra-animate-in:nth-child(6) { animation-delay: 0.3s; }

/* ---- Scrollbar ---- */
.ra-account-wrapper ::-webkit-scrollbar {
  width: 6px;
}

.ra-account-wrapper ::-webkit-scrollbar-track {
  background: transparent;
}

.ra-account-wrapper ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.ra-account-wrapper ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .ra-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ra-sidebar {
    transform: translateX(-100%);
  }

  .ra-sidebar.is-open {
    transform: translateX(0);
    box-shadow: var(--ra-shadow-lg);
  }

  .ra-main {
    margin-left: 0;
    padding: 20px 16px;
  }

  .ra-mobile-toggle {
    display: flex;
  }

  .ra-stats-grid {
    grid-template-columns: 1fr;
  }

  .ra-quick-actions {
    grid-template-columns: 1fr;
  }

  .ra-sub-details {
    grid-template-columns: 1fr;
  }

  .ra-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .ra-table {
    display: block;
    overflow-x: auto;
  }
}

/* ---- Overlay for mobile ---- */
.ra-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.ra-sidebar-overlay.is-visible {
  display: block;
}

/* ---- Hide default WooCommerce nav ---- */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

/* ---- Notification Toast ---- */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--ra-bg-card) !important;
  border: 1px solid var(--ra-border) !important;
  color: var(--ra-text-primary) !important;
  border-radius: var(--ra-radius-sm) !important;
  padding: 16px 24px !important;
  margin-bottom: 20px !important;
  border-left: 3px solid var(--ra-accent) !important;
}

.woocommerce-message {
  border-left-color: var(--ra-success) !important;
}

.woocommerce-error {
  border-left-color: var(--ra-danger) !important;
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--ra-accent) !important;
}

/* ---- View Order Detail ---- */
.ra-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .ra-order-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Pagination ---- */
.woocommerce-pagination {
  margin-top: 24px;
  text-align: center;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--ra-radius-xs);
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  color: var(--ra-text-secondary) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--ra-transition);
  margin: 0 4px;
}

.woocommerce-pagination a:hover {
  background: var(--ra-bg-card-hover);
  border-color: var(--ra-border-active);
}

.woocommerce-pagination span.current {
  background: var(--ra-accent);
  color: #fff !important;
  border-color: var(--ra-accent);
}

/* ---- Logout ---- */
.ra-nav-link.ra-logout {
  color: var(--ra-danger);
}

.ra-nav-link.ra-logout:hover {
  background: var(--ra-danger-bg);
}

/* ============================================
   IPTV PRODUCT CARD (generated image)
   ============================================ */

.ra-iptv-card {
  position: relative;
  width: 100%;
  background: linear-gradient(160deg, #0c1220 0%, #0a0f1c 40%, #0d1528 100%);
  border-radius: 16px;
  border: 1.5px solid rgba(59, 130, 246, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  font-family: 'Inter', sans-serif;
  box-shadow:
    0 0 40px rgba(59, 130, 246, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ra-iptv-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Top row: SIM + Wifi + Activation */
.ra-iptv-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ra-iptv-card-sim {
  width: 28px;
  height: 20px;
  background: linear-gradient(135deg, #c8a84e 0%, #f0d675 30%, #a07a2a 70%, #d4b94e 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ra-iptv-card-sim::after {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 5px,
    rgba(0, 0, 0, 0.08) 5px,
    rgba(0, 0, 0, 0.08) 6px
  ),
  repeating-linear-gradient(
    0deg,
    transparent,
    transparent 4px,
    rgba(0, 0, 0, 0.08) 4px,
    rgba(0, 0, 0, 0.08) 5px
  );
}

.ra-iptv-card-wifi {
  color: rgba(59, 130, 246, 0.7);
  flex-shrink: 0;
}

.ra-iptv-card-activation {
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(59, 130, 246, 0.7);
  line-height: 1.2;
}

/* Middle: Title area */
.ra-iptv-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 14px;
}

.ra-iptv-card-label {
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
  font-family: 'Courier New', monospace;
}

.ra-iptv-card-duration {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.ra-iptv-card-number {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}

.ra-iptv-card-mois {
  font-size: 28px;
  font-weight: 900;
  font-family: 'Courier New', monospace;
  background: linear-gradient(135deg, #6b8dd6 0%, #8697c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* Price inside card */
.ra-iptv-card-price-tag {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
  letter-spacing: -0.5px;
}

.ra-iptv-card-price-tag del {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  margin-right: 6px;
}

.ra-iptv-card-price-tag ins {
  text-decoration: none;
  color: #6ee7b7;
}

.ra-iptv-card-price-tag .woocommerce-Price-amount {
  color: inherit;
}

.ra-iptv-card-price-tag .woocommerce-Price-currencySymbol {
  font-size: 0.7em;
  margin-right: 1px;
}

/* Sale variant */
.ra-iptv-card--sale {
  border-color: rgba(239, 68, 68, 0.25);
}

.ra-iptv-card--sale::before {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, transparent 70%);
}

/* ---- Single product large card ---- */
.ra-sp-gallery .ra-iptv-card {
  padding: 28px 26px 22px;
  border-radius: 20px;
  max-width: 400px;
}

.ra-sp-gallery .ra-iptv-card-top {
  margin-bottom: 24px;
}

.ra-sp-gallery .ra-iptv-card-body {
  margin-bottom: 22px;
}

.ra-sp-gallery .ra-iptv-card-sim {
  width: 36px;
  height: 26px;
}

.ra-sp-gallery .ra-iptv-card-number {
  font-size: 56px;
}

.ra-sp-gallery .ra-iptv-card-mois {
  font-size: 42px;
}

.ra-sp-gallery .ra-iptv-card-label {
  font-size: 10px;
  letter-spacing: 4px;
}

.ra-sp-gallery .ra-iptv-card-price-tag {
  font-size: 28px;
}

.ra-sp-gallery .ra-iptv-card-price-tag del {
  font-size: 16px;
}

.ra-sp-gallery .ra-iptv-card-activation {
  font-size: 9px;
}

/* Hover effect on shop card */
.ra-product-card:hover .ra-iptv-card {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.1);
}

/* ============================================
   SHOP / PRODUCTS GRID
   ============================================ */

.ra-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.ra-product-card {
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  overflow: hidden;
  transition: var(--ra-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.ra-product-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--ra-shadow-lg);
}

.ra-product-card:hover .ra-product-glow {
  opacity: 0.08;
}

.ra-product-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: var(--ra-transition);
}

.ra-product-card:hover .ra-product-glow {
  opacity: 1;
}

.ra-product-badge-sale {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ra-danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.ra-product-image {
  width: 100%;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.ra-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ra-product-image .ra-iptv-card {
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  transition: box-shadow 0.3s ease;
}

.ra-product-card:hover .ra-product-image img {
  transform: scale(1.05);
}

.ra-product-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ra-product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ra-text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.ra-product-desc {
  font-size: 13px;
  color: var(--ra-text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ra-product-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--ra-text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.ra-product-price del {
  font-size: 15px;
  font-weight: 500;
  color: var(--ra-text-muted);
  margin-right: 8px;
}

.ra-product-price ins {
  text-decoration: none;
  color: var(--ra-success);
}

.ra-product-price .woocommerce-Price-amount {
  color: inherit;
}

.ra-product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.ra-btn-block {
  flex: 1;
  justify-content: center;
}

/* ---- Shop WooCommerce overrides ---- */
.ra-shop-page .woocommerce-result-count,
.ra-shop-page .woocommerce-ordering,
.ra-shop-page .woocommerce-breadcrumb,
.ra-shop-page .woocommerce-products-header {
  display: none !important;
}

.ra-shop-page .woocommerce-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* ---- WooCommerce notices in shop ---- */
.ra-shop-page .woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

/* ---- Responsive shop ---- */
@media (max-width: 1200px) {
  .ra-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ra-products-grid {
    grid-template-columns: 1fr;
  }

  .ra-product-image {
    height: auto;
  }

  .ra-product-actions {
    flex-direction: column;
  }

  .ra-btn-block {
    width: 100%;
  }
}

/* ============================================
   VIEW ORDER PAGE
   ============================================ */

/* Product images in order table */
.ra-table img,
.ra-card img.wp-post-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Order table tfoot */
.ra-table tfoot tr {
  border-top: 1px solid var(--ra-border);
}

.ra-table tfoot tr:first-child {
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.ra-table tfoot td,
.ra-table tfoot th {
  padding: 10px 16px;
}

/* ---- Orders: desktop/mobile toggle ---- */
.ra-orders-mobile { display: none; }

.ra-order-card {
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius);
  padding: 16px;
  margin-bottom: 12px;
}

.ra-order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ra-border);
}

.ra-order-card-header .ra-order-id {
  font-size: 15px;
}

.ra-order-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.ra-order-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ra-order-card-label {
  font-size: 12px;
  color: var(--ra-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.ra-order-card-value {
  font-size: 13px;
  color: var(--ra-text-secondary);
}

.ra-order-card-price {
  font-weight: 600;
  color: var(--ra-text-primary) !important;
}

.ra-order-card-price small {
  font-weight: 400;
  color: var(--ra-text-muted);
  margin-left: 4px;
}

.ra-order-card-actions {
  display: flex;
  gap: 8px;
}

.ra-btn-block {
  flex: 1;
  text-align: center;
  justify-content: center;
}

.ra-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .ra-orders-desktop { display: none !important; }
  .ra-orders-mobile { display: block; }
}

/* ============================================
   IPTV STREAMING CREDENTIALS
   ============================================ */

.ra-iptv-credentials {
  border-color: rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, var(--ra-bg-card) 0%, rgba(99, 102, 241, 0.03) 100%);
}

.ra-iptv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.ra-iptv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ra-iptv-field-full {
  margin-top: 16px;
}

.ra-iptv-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ra-text-muted);
  font-weight: 600;
}

.ra-iptv-field-value {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ra-bg-input);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius-xs);
  padding: 10px 14px;
}

.ra-iptv-field-value code {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  color: var(--ra-text-primary);
  background: none;
  padding: 0;
  word-break: break-all;
  white-space: pre-wrap;
}

.ra-iptv-field-value code.ra-expired {
  color: var(--ra-danger);
}

.ra-iptv-field-value code.ra-expiring {
  color: var(--ra-warning);
}

.ra-iptv-url-field {
  background: var(--ra-bg-input);
  border: 1px solid var(--ra-border);
  border-radius: var(--ra-radius-xs);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ra-iptv-url-field code {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: var(--ra-accent);
  background: none;
  padding: 0;
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.5;
}

.ra-copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--ra-border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--ra-text-muted);
  transition: var(--ra-transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ra-copy-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  color: var(--ra-accent);
  border-color: rgba(99, 102, 241, 0.3);
}

.ra-copy-btn.copied {
  background: rgba(16, 185, 129, 0.15);
  color: var(--ra-success);
  border-color: rgba(16, 185, 129, 0.3);
}

/* ---- Renewal Banner ---- */
.ra-renewal-banner {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, var(--ra-bg-card) 0%, rgba(245, 158, 11, 0.05) 100%);
}

/* ---- View order responsive ---- */
@media (max-width: 768px) {
  .ra-stats-grid[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .ra-iptv-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LOGIN / REGISTER / LOST PASSWORD
   Premium SaaS auth (v3)
   ============================================ */

/* --- Hide ALL stray page titles on auth & account pages --- */
.ra-login-page .entry-title,
.ra-login-page .page-title,
.ra-login-page h1.entry-title,
.ra-login-page h1.wp-block-post-title,
.ra-login-page article > header,
.ra-login-page .woocommerce > h2:first-child,
body.ra-standalone .entry-title,
body.ra-standalone .page-title,
body.ra-standalone h1.wp-block-post-title,
body.ra-standalone article > header,
body.woocommerce-account .entry-title,
body.woocommerce-account .entry-header,
.woocommerce-account .woocommerce > h2:first-child,
.ra-account-wrapper > h1,
.ra-account-wrapper > h2 {
  display: none !important;
}

/* --- Full-page wrapper --- */
.ra-login-page,
.ra-login-page *,
.ra-login-page *::before,
.ra-login-page *::after {
  box-sizing: border-box;
}

.ra-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #060a14;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 20px;
  margin: 0;
}

/* --- Animated background --- */
.ra-login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ra-login-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.ra-login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  animation: ra-orb-float 20s ease-in-out infinite;
}

.ra-login-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  top: -15%;
  left: -10%;
}

.ra-login-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  bottom: -15%;
  right: -10%;
  animation-delay: -7s;
  animation-duration: 25s;
}

.ra-login-orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
  top: 40%;
  left: 55%;
  animation-delay: -13s;
  animation-duration: 30s;
}

@keyframes ra-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -25px) scale(1.05); }
  50% { transform: translate(-25px, 20px) scale(0.95); }
  75% { transform: translate(20px, 15px) scale(1.02); }
}

/* --- Floating Nav --- */
.ra-login-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 14px;
  background: rgba(8, 12, 24, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.02) inset;
}

.ra-login-nav-brand {
  display: none;
}

.ra-login-nav-logo {
  height: 36px;
  width: auto;
  max-width: 138px;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}

.ra-login-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.ra-login-nav-links a {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ra-login-nav-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.ra-login-nav-cta {
  background: #6366f1 !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.ra-login-nav-cta:hover {
  background: #5558e6 !important;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}

/* --- Main Card --- */
.ra-login-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  padding: 36px 34px 32px;
  background: rgba(12, 16, 30, 0.75);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 48px -12px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(99, 102, 241, 0.03);
  animation: ra-card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 48px;
  box-sizing: border-box;
}

@keyframes ra-card-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Card Logo --- */
.ra-login-card-logo {
  display: none;
}

/* Card header */
.ra-login-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.ra-login-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #a5b4fc;
}

.ra-login-card-icon--lock {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.06));
  border-color: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.ra-login-card-header h1 {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}

.ra-login-card-header p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
}

/* --- Tabs --- */
.ra-login-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 22px;
  gap: 3px;
}

.ra-login-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.ra-login-tab svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.ra-login-tab:hover {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.02);
}

.ra-login-tab.is-active {
  background: rgba(99, 102, 241, 0.12);
  color: #c7d2fe;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ra-login-tab.is-active svg {
  opacity: 1;
}

/* --- Panels --- */
.ra-login-panel {
  display: none;
}

.ra-login-panel.is-active {
  display: block;
  animation: ra-fade-in 0.3s ease;
}

@keyframes ra-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Google / Social Sign-In --- */
.ra-login-social {
  margin-bottom: 0;
}

.ra-login-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  background: #fff;
  border: none;
  border-radius: 10px;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ra-login-google:hover {
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

.ra-login-google:active {
  transform: translateY(0);
  background: #efefef;
}

.ra-login-google svg {
  flex-shrink: 0;
}

/* --- Divider --- */
.ra-login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.ra-login-divider::before,
.ra-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.ra-login-divider span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Fields --- */
.ra-login-field {
  margin-bottom: 16px;
}

.ra-login-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.ra-login-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ra-login-field-header label {
  margin-bottom: 0;
}

.ra-login-field-header a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(165, 180, 252, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.ra-login-field-header a:hover {
  color: #a5b4fc !important;
}

.ra-login-field input[type="text"],
.ra-login-field input[type="email"],
.ra-login-field input[type="password"],
.ra-login-field input[type="tel"] {
  width: 100%;
  padding: 11px 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none !important;
  box-shadow: none !important;
}

.ra-login-field input::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.ra-login-field input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 0 20px rgba(99, 102, 241, 0.05) !important;
}

/* --- Remember me --- */
.ra-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  cursor: pointer;
}

.ra-login-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #6366f1;
  cursor: pointer;
  border-radius: 4px;
}

.ra-login-remember span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}

/* --- Submit button (Login) --- */
.ra-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
}

.ra-login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}

.ra-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.4);
}

.ra-login-btn:hover::before {
  opacity: 1;
}

.ra-login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.ra-login-btn svg {
  transition: transform 0.2s;
}

.ra-login-btn:hover svg {
  transform: translateX(3px);
}

/* --- Register button (different color) --- */
.ra-login-btn--register {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.25);
}

.ra-login-btn--register:hover {
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

/* --- Info text --- */
.ra-login-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* --- Switch link (bottom of card) --- */
.ra-login-switch {
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.ra-login-switch button,
.ra-login-switch a {
  background: none;
  border: none;
  color: #a5b4fc !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}

.ra-login-switch button:hover,
.ra-login-switch a:hover {
  color: #c7d2fe !important;
  text-decoration: underline !important;
}

/* --- Trust bar --- */
.ra-login-trust {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 100px;
  animation: ra-card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.ra-login-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

.ra-login-trust-item svg {
  color: rgba(99, 102, 241, 0.45);
  flex-shrink: 0;
}

.ra-login-trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* --- Privacy policy text --- */
.ra-login-card .woocommerce-privacy-policy-text,
.ra-login-card .woocommerce-privacy-policy-text p {
  color: rgba(255, 255, 255, 0.35) !important;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.ra-login-card .woocommerce-privacy-policy-text a {
  color: rgba(165, 180, 252, 0.6) !important;
  text-decoration: underline !important;
}

.ra-login-card .woocommerce-privacy-policy-text a:hover {
  color: #a5b4fc !important;
}

/* --- Kill stray fieldset / legend borders --- */
.ra-login-card fieldset,
.ra-login-page fieldset {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}

.ra-login-card legend,
.ra-login-page legend {
  display: none !important;
}

/* --- WooCommerce overrides --- */
.ra-login-card .woocommerce-notices-wrapper,
.ra-login-page .woocommerce-notices-wrapper {
  margin-bottom: 14px !important;
}

.ra-login-card .woocommerce-error,
.ra-login-page .woocommerce-error,
.ra-login-page ul.woocommerce-error {
  background: rgba(239, 68, 68, 0.07) !important;
  border: 1px solid rgba(239, 68, 68, 0.18) !important;
  color: #fca5a5 !important;
  border-radius: 10px !important;
  padding: 11px 15px !important;
  list-style: none !important;
  font-size: 13px;
  margin: 0 0 14px !important;
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.ra-login-card .woocommerce-error li,
.ra-login-page .woocommerce-error li {
  list-style: none;
}

.ra-login-card .woocommerce-error a,
.ra-login-page .woocommerce-error a {
  color: #fca5a5 !important;
  text-decoration: underline !important;
}

.ra-login-card .woocommerce-message,
.ra-login-card .woocommerce-info,
.ra-login-page .woocommerce-message,
.ra-login-page .woocommerce-info {
  background: rgba(16, 185, 129, 0.07) !important;
  border: 1px solid rgba(16, 185, 129, 0.18) !important;
  color: #6ee7b7 !important;
  border-radius: 10px !important;
  padding: 11px 15px !important;
  font-size: 13px;
  margin: 0 0 14px !important;
  max-width: 440px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.ra-login-card .u-columns,
.ra-login-card .u-column1,
.ra-login-card .u-column2 {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ra-login-card .woocommerce-form-row {
  margin-bottom: 16px;
}

.ra-login-card .woocommerce-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.ra-login-card .woocommerce-form-row input[type="text"],
.ra-login-card .woocommerce-form-row input[type="email"],
.ra-login-card .woocommerce-form-row input[type="password"],
.ra-login-card .woocommerce-form-row input[type="tel"] {
  width: 100%;
  padding: 11px 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 14px !important;
  transition: all 0.2s ease;
}

.ra-login-card .woocommerce-form-row input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
  outline: none !important;
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .ra-login-page {
    padding: 16px;
  }

  .ra-login-card {
    max-width: 100%;
    padding: 28px 22px 24px;
    border-radius: 18px;
    margin-top: 36px;
  }

  .ra-login-card-logo img {
    height: 34px;
  }

  .ra-login-card-header h1 {
    font-size: 19px;
  }

  .ra-login-nav {
    top: 10px;
    padding: 5px 6px 5px 10px;
    gap: 6px;
  }

  .ra-login-nav-logo {
    height: 28px;
    max-width: 100px;
  }

  .ra-login-nav-brand {
    padding-right: 10px;
  }

  .ra-login-nav-links a {
    padding: 6px 10px;
    font-size: 12px;
  }

  .ra-login-trust {
    gap: 10px;
    padding: 10px 16px;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 14px;
  }

  .ra-login-trust-sep {
    display: none;
  }

  .ra-login-tab {
    font-size: 12px;
    padding: 9px 0;
  }

  .ra-login-tab svg {
    width: 13px;
    height: 13px;
  }
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */

/* Breadcrumb */
.ra-sp-breadcrumb {
  margin-bottom: 24px;
}

.ra-sp-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ra-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.ra-sp-breadcrumb a:hover {
  color: var(--ra-accent);
}

/* Layout */
.ra-sp-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}

/* Gallery */
.ra-sp-gallery {
  position: sticky;
  top: 24px;
}

.ra-sp-main-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.ra-sp-main-image img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ra-sp-image-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.6;
}

.ra-sp-sale-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ra-danger);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 100px;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

/* Thumbnails */
.ra-sp-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.ra-sp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.5;
}

.ra-sp-thumb:hover {
  opacity: 0.8;
}

.ra-sp-thumb.is-active {
  border-color: var(--ra-accent);
  opacity: 1;
}

.ra-sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Details */
.ra-sp-details {
  padding-top: 8px;
}

.ra-sp-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ra-accent);
  margin-bottom: 12px;
}

.ra-sp-category a {
  color: var(--ra-accent) !important;
  text-decoration: none !important;
}

.ra-sp-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ra-text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.ra-sp-short-desc {
  font-size: 15px;
  color: var(--ra-text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Price block */
.ra-sp-price-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--ra-bg-card);
  border: 1px solid var(--ra-border);
  border-radius: 16px;
}

.ra-sp-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--ra-text-primary);
  letter-spacing: -1px;
}

.ra-sp-price del {
  font-size: 18px;
  font-weight: 500;
  color: var(--ra-text-muted);
  margin-right: 8px;
}

.ra-sp-price ins {
  text-decoration: none;
  color: var(--ra-success);
}

.ra-sp-savings {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--ra-danger);
  padding: 4px 12px;
  border-radius: 100px;
}

/* Features */
.ra-sp-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.ra-sp-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ra-text-secondary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.ra-sp-feature.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.ra-sp-feature svg {
  flex-shrink: 0;
}

/* Actions */
.ra-sp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ra-sp-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.ra-sp-btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
  color: #fff;
}

.ra-sp-btn-back {
  display: block;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ra-border);
  border-radius: 14px;
  color: var(--ra-text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.ra-sp-btn-back:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ra-text-primary);
}

/* Trust badges */
.ra-sp-trust {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--ra-border);
  margin-bottom: 16px;
}

.ra-sp-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ra-text-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
}

.ra-sp-trust-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ra-sp-trust-item svg {
  color: var(--ra-accent);
  flex-shrink: 0;
}

.ra-sp-meta {
  font-size: 11px;
  color: var(--ra-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tabs */
.ra-sp-tabs {
  margin-bottom: 48px;
}

.ra-sp-tab-nav {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ra-border);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 24px;
}

.ra-sp-tab-btn {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--ra-text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.ra-sp-tab-btn:hover {
  color: var(--ra-text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.ra-sp-tab-btn.is-active {
  background: rgba(99, 102, 241, 0.1);
  color: #c7d2fe;
}

.ra-sp-tab-panel {
  display: none;
}

.ra-sp-tab-panel.is-active {
  display: block;
  animation: ra-fade-in 0.3s ease;
}

.ra-sp-desc-content {
  font-size: 14px;
  color: var(--ra-text-secondary);
  line-height: 1.7;
}

.ra-sp-desc-content p {
  margin: 0 0 14px;
}

.ra-sp-desc-content ul,
.ra-sp-desc-content ol {
  padding-left: 20px;
  margin: 0 0 14px;
}

.ra-sp-desc-content li {
  margin-bottom: 6px;
}

/* Specs table */
.ra-sp-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.ra-sp-specs-table tr {
  border-bottom: 1px solid var(--ra-border);
}

.ra-sp-specs-table td {
  padding: 14px 16px;
  font-size: 14px;
}

.ra-sp-spec-label {
  color: var(--ra-text-muted);
  font-weight: 600;
  width: 40%;
}

.ra-sp-spec-value {
  color: var(--ra-text-primary);
}

/* Related products */
.ra-sp-related {
  margin-bottom: 48px;
}

.ra-sp-related-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ra-text-primary);
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}

/* WooCommerce notices on product page */
.ra-product-page .woocommerce-error,
.ra-product-page .woocommerce-message,
.ra-product-page .woocommerce-info {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  margin: 0 0 20px;
  list-style: none;
}

.ra-product-page .woocommerce-error {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.ra-product-page .woocommerce-error a,
.ra-product-page .woocommerce-message a {
  color: inherit !important;
  text-decoration: underline !important;
}

/* Responsive single product */
@media (max-width: 1024px) {
  .ra-sp-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ra-sp-gallery {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .ra-sp-title {
    font-size: 22px;
  }

  .ra-sp-price {
    font-size: 26px;
  }

  .ra-sp-trust {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ra-sp-tab-nav {
    border-radius: 12px;
  }

  .ra-sp-tab-btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .ra-sp-related .ra-products-grid {
    grid-template-columns: 1fr;
  }

  /* IPTV card responsive in single product */
  .ra-sp-gallery .ra-iptv-card {
    padding: 20px 18px 16px;
  }

  .ra-sp-gallery .ra-iptv-card-number {
    font-size: 44px;
  }

  .ra-sp-gallery .ra-iptv-card-mois {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .ra-sp-price-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================
   SUPPORT TICKET SYSTEM
   ============================================ */

.ra-support {
  max-width: 900px;
  margin: 0 auto;
}

/* Header */
.ra-support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.ra-support-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.ra-support-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Buttons */
.ra-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  line-height: 1.4;
}

.ra-btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,0.3);
}

.ra-btn-primary:hover {
  box-shadow: 0 4px 20px rgba(99,102,241,0.5);
  transform: translateY(-1px);
}

.ra-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}

.ra-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Stats */
.ra-support-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.ra-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.ra-stat-number {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.ra-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ra-stat-card--open .ra-stat-number { color: #3b82f6; }
.ra-stat-card--progress .ra-stat-number { color: #f59e0b; }
.ra-stat-card--resolved .ra-stat-number { color: #10b981; }

/* Ticket Form */
.ra-ticket-form-wrap {
  margin-bottom: 24px;
}

.ra-ticket-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}

.ra-ticket-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ra-ticket-form-header h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.ra-ticket-form-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.ra-ticket-form-close:hover { color: #fff; }

.ra-ticket-form {
  padding: 20px;
}

.ra-form-row {
  margin-bottom: 16px;
}

.ra-form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ra-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ra-form-group input[type="text"],
.ra-form-group select,
.ra-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}

.ra-form-group input:focus,
.ra-form-group select:focus,
.ra-form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.ra-form-group select {
  cursor: pointer;
}

.ra-form-group select option {
  background: #0f172a;
  color: #fff;
}

.ra-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.ra-form-group input::placeholder,
.ra-form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

/* Form options (checkboxes) */
.ra-form-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ra-form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
}

.ra-form-check input[type="checkbox"] {
  display: none;
}

.ra-form-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all .2s;
}

.ra-form-check input:checked + .ra-form-check-icon {
  background: rgba(99,102,241,0.2);
  border-color: #6366f1;
  color: #6366f1;
}

.ra-form-check-icon--wa {
  color: #25d366;
}

.ra-form-check input:checked + .ra-form-check-icon--wa {
  background: rgba(37,211,102,0.15);
  border-color: #25d366;
  color: #25d366;
}

.ra-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* Spinner */
.ra-spinner-sm {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ra-spin .6s linear infinite;
}

@keyframes ra-spin {
  to { transform: rotate(360deg); }
}

.ra-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Empty state */
.ra-support-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,0.3);
}

.ra-support-empty svg {
  margin-bottom: 16px;
  opacity: .4;
}

.ra-support-empty h3 {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  margin: 0 0 8px;
}

.ra-support-empty p {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  margin: 0;
}

/* Tickets List */
.ra-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ra-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
  gap: 16px;
}

.ra-ticket-row:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-1px);
}

.ra-ticket-row-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.ra-ticket-id {
  font-size: 13px;
  font-weight: 700;
  color: #6366f1;
  white-space: nowrap;
}

.ra-ticket-info {
  min-width: 0;
}

.ra-ticket-subject {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.ra-ticket-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ra-ticket-order {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.ra-ticket-row-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ra-ticket-replies {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.ra-ticket-date {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.ra-ticket-new-badge {
  background: rgba(99,102,241,0.2);
  color: #818cf8;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* Badges */
.ra-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.ra-badge-info {
  background: rgba(59,130,246,0.15);
  color: #60a5fa;
}

.ra-badge-warning {
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
}

.ra-badge-success {
  background: rgba(16,185,129,0.15);
  color: #34d399;
}

.ra-badge-danger {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}

/* ============================================
   VIEW TICKET
   ============================================ */

.ra-vt-header {
  margin-bottom: 24px;
}

.ra-vt-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #818cf8;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color .2s;
}

.ra-vt-back:hover { color: #6366f1; }

.ra-vt-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ra-vt-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ra-vt-id {
  font-size: 14px;
  font-weight: 700;
  color: #6366f1;
}

.ra-vt-subject {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.ra-vt-badges {
  display: flex;
  gap: 6px;
}

.ra-vt-meta {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* Conversation */
.ra-vt-conversation {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px;
  max-height: 500px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.ra-vt-conversation::-webkit-scrollbar {
  width: 6px;
}

.ra-vt-conversation::-webkit-scrollbar-track {
  background: transparent;
}

.ra-vt-conversation::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.ra-vt-message {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
}

.ra-vt-message:last-child { margin-bottom: 0; }

.ra-vt-message--customer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.ra-vt-message--admin {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
}

.ra-vt-message--new {
  animation: ra-fade-in .4s ease;
}

@keyframes ra-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ra-vt-msg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ra-vt-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.ra-vt-msg-avatar--customer {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
}

.ra-vt-msg-avatar--admin {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}

.ra-vt-msg-info {
  display: flex;
  flex-direction: column;
}

.ra-vt-msg-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.ra-vt-msg-time {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.ra-vt-admin-badge {
  display: inline-block;
  background: rgba(99,102,241,0.3);
  color: #a5b4fc;
  font-size: 10px;
  padding: 1px 8px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 600;
}

.ra-vt-msg-body {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Reply form */
.ra-vt-reply-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px;
}

.ra-vt-reply-form .ra-form-group label {
  margin-bottom: 8px;
}

.ra-vt-reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Closed notice */
.ra-vt-closed-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 10px;
  font-size: 13px;
  color: #f87171;
}

/* ============================================
   SUPPORT RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .ra-support-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ra-ticket-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ra-ticket-row-right {
    width: 100%;
    justify-content: space-between;
  }

  .ra-form-row--2 {
    grid-template-columns: 1fr;
  }

  .ra-vt-title-row {
    flex-direction: column;
  }

  .ra-vt-title-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ra-vt-subject {
    font-size: 17px;
  }

  .ra-vt-reply-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ra-vt-reply-actions .ra-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ra-support-header {
    flex-direction: column;
    align-items: stretch;
  }

  .ra-support-header .ra-btn {
    justify-content: center;
  }

  .ra-support-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ra-stat-card { padding: 12px; }
  .ra-stat-number { font-size: 22px; }

  .ra-ticket-subject { font-size: 13px; }
}
