/* Cyberpunk theme — Neon future effects
   Colors come from CSS variables in themes.css; this file is structural only. */

/* Subtle grid background */
[data-theme='cyberpunk'] body {
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 40px
    );
}

/* Neon glow on focus */
[data-theme='cyberpunk'] input:focus,
[data-theme='cyberpunk'] select:focus,
[data-theme='cyberpunk'] textarea:focus,
[data-theme='cyberpunk'] .form-control:focus,
[data-theme='cyberpunk'] .form-select:focus {
  box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary) !important;
  border-color: var(--primary) !important;
  outline: none;
}

[data-theme='cyberpunk'] .btn:focus {
  box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary) !important;
}

/* Border-left glow accent on cards */
[data-theme='cyberpunk'] .card {
  border-left: 3px solid var(--primary) !important;
  box-shadow: -3px 0 15px -5px var(--primary);
}

/* Animated gradient underline on nav links */
[data-theme='cyberpunk'] .nav-link {
  position: relative;
  text-decoration: none;
}

[data-theme='cyberpunk'] .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--info));
  transition: width 0.3s ease;
}

[data-theme='cyberpunk'] .nav-link:hover::after {
  width: 100%;
}

/* Tables with neon top-border */
[data-theme='cyberpunk'] .table {
  border-top: 2px solid var(--primary);
}

[data-theme='cyberpunk'] .table thead th {
  border-bottom-color: var(--primary) !important;
  text-shadow: 0 0 8px var(--primary);
}

/* Neon glow on active buttons */
[data-theme='cyberpunk'] .btn-primary,
[data-theme='cyberpunk'] .btn-primary:hover {
  box-shadow: 0 0 8px var(--primary), 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Subtle glow on badges */
[data-theme='cyberpunk'] .badge {
  box-shadow: 0 0 6px var(--primary);
}

/* Alerts with neon left-border */
[data-theme='cyberpunk'] .alert {
  border-left: 3px solid var(--primary);
}
