/* ⚡ K-OS SHARED CYBERPUNK 2077 STEEL & NEON DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;0,900;1,800&display=swap');

/* --- 1. NEON BREATH & GLOW ANIMATIONS --- */
@keyframes neonCyanBreath {
  0%, 100% {
    color: #00f0ff;
    text-shadow: 0 0 4px rgba(0, 240, 255, 0.5), 0 0 10px rgba(0, 240, 255, 0.2);
  }
  50% {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.9), 0 0 22px rgba(0, 255, 204, 0.7), 0 0 32px rgba(0, 240, 255, 0.4);
  }
}

@keyframes neonPinkBreath {
  0%, 100% {
    color: #ff0055;
    text-shadow: 0 0 4px rgba(255, 0, 85, 0.5), 0 0 10px rgba(255, 0, 85, 0.2);
  }
  50% {
    color: #ff3377;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.9), 0 0 22px rgba(255, 0, 85, 0.7), 0 0 32px rgba(255, 51, 119, 0.4);
  }
}

@keyframes neonRedBreath {
  0%, 100% {
    color: #ff003c;
    text-shadow: 0 0 4px rgba(255, 0, 60, 0.5), 0 0 10px rgba(255, 0, 60, 0.2);
  }
  50% {
    color: #ff3366;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.9), 0 0 22px rgba(255, 0, 85, 0.7), 0 0 32px rgba(255, 51, 102, 0.4);
  }
}

@keyframes neonGoldBreath {
  0%, 100% {
    color: #ffd700;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.2);
  }
  50% {
    color: #ffee55;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.9), 0 0 22px rgba(255, 215, 0, 0.7), 0 0 32px rgba(255, 238, 85, 0.4);
  }
}

@keyframes steelPulsePlate {
  0%, 100% {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.9), 0 8px 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 240, 255, 0.2);
  }
  50% {
    border-color: rgba(0, 240, 255, 0.65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.95), 0 12px 35px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 240, 255, 0.35);
  }
}

/* --- 2. ENGRAVED STEEL PANEL CHASSIS BASE --- */
.k-steel-panel, .mon-card {
  background: linear-gradient(145deg, rgba(22, 28, 38, 0.95) 0%, rgba(10, 14, 22, 0.97) 60%, rgba(4, 7, 12, 0.99) 100%) !important;
  border: 1px solid rgba(0, 240, 255, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.85), 0 8px 24px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 240, 255, 0.15) !important;
  position: relative !important;
  overflow: hidden !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)) !important;
  transition: all 0.3s ease !important;
}

.k-steel-panel:hover, .mon-card:hover {
  border-color: rgba(0, 240, 255, 0.6) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.95), 0 12px 32px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 240, 255, 0.3) !important;
}

/* Steel Screws / Corner Rivets */
.k-steel-panel::before, .mon-card::before {
  content: "•";
  position: absolute;
  top: 4px;
  right: 18px;
  font-size: 9px;
  color: rgba(0, 240, 255, 0.6);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.8), 0 1px 1px #000;
  pointer-events: none;
  z-index: 5;
}

/* --- 3. ENGRAVED TYPOGRAPHY & UTILITY CLASSES --- */
.k-engraved-text {
  font-family: 'JetBrains Mono', monospace;
  color: #ffffff;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.9), 1px 1px 1px rgba(255, 255, 255, 0.25), 0 0 8px rgba(0, 240, 255, 0.3);
  font-weight: 900;
  letter-spacing: 1px;
}

.k-neon-cyan {
  animation: neonCyanBreath 3.5s ease-in-out infinite !important;
}

.k-neon-pink {
  animation: neonPinkBreath 3.5s ease-in-out infinite !important;
}

.k-neon-red {
  animation: neonRedBreath 3.5s ease-in-out infinite !important;
}

/* --- 4. SHARED ENGRAVED RECESSED PLATES & INPUTS --- */
.k-engraved-plate {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 340px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  gap: 0.6rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.k-engraved-plate:hover,
.k-engraved-plate:focus-within {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 240, 255, 0.25);
}

.k-engraved-input,
.k-engraved-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.k-engraved-input::placeholder,
.k-engraved-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* --- 5. SHARED CYBER 2077 PILL & ACTION BUTTONS --- */
.k-action-btn-2077 {
  background: rgba(255, 0, 60, 0.15);
  border: 1px solid rgba(255, 0, 60, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.5rem 1.4rem;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 10px rgba(255, 0, 60, 0.2);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.k-action-btn-2077:hover {
  background: rgba(255, 0, 60, 0.85);
  border-color: rgba(255, 0, 60, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 0, 60, 0.6);
}

.k-action-btn-2077.cyan {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 10px rgba(0, 240, 255, 0.2);
}

.k-action-btn-2077.cyan:hover {
  background: rgba(0, 240, 255, 0.75);
  border-color: rgba(0, 240, 255, 0.9);
  color: #04070c;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 22px rgba(0, 240, 255, 0.7);
}

/* --- 6. SHARED SITE UNDER CONSTRUCTION BANNER --- */
@keyframes constructionGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.k-construction-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(22, 28, 38, 0.95), var(--banner-accent, rgba(255, 0, 60, 0.85)), var(--banner-glow, rgba(0, 240, 255, 0.85)), rgba(22, 28, 38, 0.95));
  background-size: 200% 100%;
  color: #ffffff;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.45rem 0.5rem;
  text-transform: uppercase;
  z-index: 9999;
  border-bottom: 1px solid var(--banner-border, rgba(0, 240, 255, 0.5));
  box-shadow: 0 2px 15px var(--banner-shadow, rgba(0, 240, 255, 0.3)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: constructionGlow 4s linear infinite;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.k-banner-svg-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  filter: drop-shadow(0 0 4px #ffffff);
  flex-shrink: 0;
}

.k-banner-svg-icon.spin {
  animation: bannerGearSpin 6s linear infinite;
}

@keyframes bannerGearSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- 7. REUSABLE CYBERPUNK 2077 STATUS ICONS --- */
.k-status-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  position: relative;
  margin-bottom: 0.2rem;
}

.k-status-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Red Error / Intercepted Icon */
.k-status-icon-box.red {
  background: radial-gradient(circle, rgba(255, 0, 60, 0.2) 0%, rgba(255, 0, 60, 0.05) 70%, transparent 100%);
  border: 1px solid rgba(255, 0, 60, 0.5);
  color: #ff003c;
  box-shadow: inset 0 0 12px rgba(255, 0, 60, 0.3), 0 0 20px rgba(255, 0, 60, 0.4);
}

.k-status-icon-box.red svg {
  filter: drop-shadow(0 0 8px rgba(255, 0, 60, 0.8));
}

/* Green Success Icon */
.k-status-icon-box.green {
  background: radial-gradient(circle, rgba(0, 255, 170, 0.2) 0%, rgba(0, 255, 170, 0.05) 70%, transparent 100%);
  border: 1px solid rgba(0, 255, 170, 0.5);
  color: #00ffaa;
  box-shadow: inset 0 0 12px rgba(0, 255, 170, 0.3), 0 0 20px rgba(0, 255, 170, 0.4);
}

.k-status-icon-box.green svg {
  filter: drop-shadow(0 0 8px rgba(0, 255, 170, 0.8));
}

/* Cyan Warning / Tribunal Icon */
.k-status-icon-box.cyan {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(0, 240, 255, 0.05) 70%, transparent 100%);
  border: 1px solid rgba(0, 240, 255, 0.5);
  color: #00f0ff;
  box-shadow: inset 0 0 12px rgba(0, 240, 255, 0.3), 0 0 20px rgba(0, 240, 255, 0.4);
}

.k-status-icon-box.cyan svg {
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.8));
}
