/*
Theme Name: WebOfJobs Radar
Theme URI: https://webofjobs.com
Author: WebOfJobs
Description: A radar-style landing page theme for WebOfJobs with candidate and employer WPForms panels.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Text Domain: webofjobs-radar
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #00ff88;
  --green-dim: #00cc66;
  --green-faint: rgba(0, 255, 136, 0.08);
  --green-glow: rgba(0, 255, 136, 0.35);
  --dark: #020c06;
  --panel: rgba(2, 14, 8, 0.72);
  --border: rgba(0, 255, 136, 0.3);
  --text: #b8ffda;
  --muted: rgba(184, 255, 218, 0.5);
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--dark);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  overflow-x: hidden;
}

#radar-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  gap: 2.5rem;
}

.header {
  text-align: center;
  animation: fadeDown 1.2s ease both;
}

.logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.12em;
  color: var(--green);
  text-shadow: 0 0 30px var(--green-glow), 0 0 60px rgba(0,255,136,0.15);
  line-height: 1;
}

.logo span { color: #fff; opacity: 0.9; }

.tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  letter-spacing: 0.35em;
  color: var(--muted);
  margin-top: 0.6rem;
  text-transform: uppercase;
}

.status-bar {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--green-dim);
  letter-spacing: 0.15em;
  display: flex;
  gap: 2rem;
  opacity: 0.8;
  animation: fadeIn 2s ease 0.8s both;
  flex-wrap: wrap;
  justify-content: center;
}

.status-bar .pulse::before {
  content: '● ';
  animation: blink 1.4s step-end infinite;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  animation: fadeUp 1s ease 0.4s both;
}

.panel-aura {
  position: relative;
  border-radius: 20px;
}

.panel-aura::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 23px;
  z-index: 0;
  filter: blur(14px);
  opacity: 0.72;
  transition: opacity 0.3s;
}

.panel-aura:hover::before { opacity: 1; }

#candidate-panel.panel-aura::before {
  background: linear-gradient(120deg, #00ff88 0%, #00ccff 45%, #00ff88 100%);
}

#employer-panel.panel-aura::before {
  background: linear-gradient(120deg, #fbbf24 0%, #f87171 48%, #fbbf24 100%);
}

.panel {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 20, 10, 0.72), rgba(1, 8, 5, 0.50));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 1.6rem 1.75rem 1.5rem;
  border: 1.5px solid rgba(0, 255, 136, 0.24);
  box-shadow:
    inset 0 0 28px rgba(0, 255, 136, 0.06),
    0 0 22px rgba(0, 255, 136, 0.08);
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0,255,136,0.045),
      rgba(0,255,136,0.045) 1px,
      transparent 1px,
      transparent 7px
    );
  pointer-events: none;
  opacity: 0.45;
}

.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,255,136,0.12), transparent 32%),
    radial-gradient(circle at 80% 100%, rgba(0,204,255,0.08), transparent 32%);
  pointer-events: none;
}

.panel-header,
.panel-sub,
.shortcode-area {
  position: relative;
  z-index: 2;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.panel-sparkle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0,255,136,0.45));
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  font-family: Georgia, serif;
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(0,255,136,0.22);
}

.panel-title em { font-style: italic; }

.panel-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
}

#candidate-panel .panel-badge {
  background: rgba(0,255,136,0.14);
  color: var(--green);
  border: 1px solid rgba(0,255,136,0.42);
}

#employer-panel .panel-badge {
  background: rgba(251,191,36,0.13);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.42);
}

.panel-sub {
  font-size: 13px;
  color: rgba(184, 255, 218, 0.76);
  margin-bottom: 1.1rem;
  margin-left: 38px;
  line-height: 1.5;
}

.shortcode-area {
  border-top: 1px solid rgba(0, 255, 136, 0.18);
  padding-top: 1rem;
  font-size: 13px;
  color: rgba(184, 255, 218, 0.9);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

.shortcode-area .wpforms-container {
  margin-bottom: 0 !important;
}

.shortcode-area .wpforms-field-label,
.shortcode-area .wpforms-field-sublabel,
.shortcode-area .wpforms-field-description {
  color: rgba(184, 255, 218, 0.86) !important;
}

.shortcode-area input,
.shortcode-area textarea,
.shortcode-area select {
  max-width: 100%;
  background: rgba(0, 8, 4, 0.58) !important;
  border: 1px solid rgba(0, 255, 136, 0.28) !important;
  color: #b8ffda !important;
  border-radius: 10px !important;
  box-shadow: inset 0 0 12px rgba(0, 255, 136, 0.04) !important;
}

.shortcode-area input::placeholder,
.shortcode-area textarea::placeholder {
  color: rgba(184, 255, 218, 0.45) !important;
}

.shortcode-area button,
.shortcode-area input[type="submit"],
.shortcode-area .wpforms-submit {
  background: rgba(0, 255, 136, 0.12) !important;
  color: var(--green) !important;
  border: 1px solid rgba(0, 255, 136, 0.42) !important;
  border-radius: 999px !important;
  font-family: 'Share Tech Mono', monospace !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 18px rgba(0,255,136,0.16) !important;
}

.shortcode-area button:hover,
.shortcode-area input[type="submit"]:hover,
.shortcode-area .wpforms-submit:hover {
  background: rgba(0, 255, 136, 0.22) !important;
}

#employer-panel .panel {
  border-color: rgba(251, 191, 36, 0.28);
  box-shadow:
    inset 0 0 28px rgba(251, 191, 36, 0.05),
    0 0 22px rgba(251, 191, 36, 0.08);
}

#employer-panel .panel-title {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251,191,36,0.2);
}

#employer-panel .shortcode-area {
  border-top-color: rgba(251, 191, 36, 0.22);
}

#employer-panel .shortcode-area input,
#employer-panel .shortcode-area textarea,
#employer-panel .shortcode-area select {
  border-color: rgba(251, 191, 36, 0.30) !important;
}

#employer-panel .shortcode-area button,
#employer-panel .shortcode-area input[type="submit"],
#employer-panel .shortcode-area .wpforms-submit {
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
  background: rgba(251, 191, 36, 0.10) !important;
}

.footer {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: rgba(0,255,136,0.25);
  letter-spacing: 0.15em;
  animation: fadeIn 2s ease 1.5s both;
  text-align: center;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

  .status-bar {
    gap: 0.8rem;
    font-size: 0.62rem;
  }

  .panel {
    padding: 1.25rem;
  }

  .panel-sub {
    margin-left: 0;
  }
}
