* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Syncopate', sans-serif;
}

@keyframes hueRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

@keyframes pulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

@keyframes flicker {
  0% { opacity: 0.8; }
  5% { opacity: 0.9; }
  10% { opacity: 0.8; }
  15% { opacity: 1; }
  20% { opacity: 0.8; }
  25% { opacity: 0.9; }
  30% { opacity: 0.8; }
  35% { opacity: 1; }
  40% { opacity: 0.8; }
  45% { opacity: 0.9; }
  50% { opacity: 1; }
  55% { opacity: 0.9; }
  60% { opacity: 0.8; }
  65% { opacity: 1; }
  70% { opacity: 0.8; }
  75% { opacity: 0.9; }
  80% { opacity: 0.8; }
  85% { opacity: 1; }
  90% { opacity: 0.8; }
  95% { opacity: 0.9; }
  100% { opacity: 1; }
}

body {
  background-color: #0a0a0a;
  color: #e0e0ff;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(128, 0, 255, 0.1) 0%, transparent 80%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 60%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.2;
  animation: flicker 5s infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 0, 255, 0.03),
      rgba(255, 0, 255, 0.03) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 255, 0.03),
      rgba(0, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 20px
    );
  z-index: 999;
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(20, 10, 30, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2), 0 0 40px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

h1 {
    font-family: 'Audiowide', cursive;
    font-size: 2.5rem;
    color: #ff00ff;
    text-shadow:
            0 0 5px #ff00ff,
            0 0 10px #ff00ff,
            0 0 20px #ff00ff;
    letter-spacing: 2px;
    margin: 0;
    animation: hueRotate 10s infinite linear;
}

.system-status {
    display: flex;
    align-items: center;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #00ffaa;
    margin-right: 10px;
    box-shadow: 0 0 10px #00ffaa, 0 0 20px #00ffaa;
    animation: pulse 2s infinite;
}

.status-text {
    color: #00ffaa;
    letter-spacing: 2px;
}

.dashboard-content {
    display: flex;
    background-color: rgba(20, 10, 30, 0.7);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2), 0 0 10px rgba(0, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.sidebar {
    width: 250px;
    background: rgba(30, 10, 40, 0.8);
    padding: 20px 0;
    border-right: 1px solid rgba(255, 0, 255, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 600px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.logo {
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    color: #ff00ff;
    text-shadow:
            0 0 5px #ff00ff,
            0 0 10px #ff00ff;
    letter-spacing: 3px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #00ffff;
    letter-spacing: 2px;
    margin-top: 5px;
}

.nav-menu {
    list-style: none;
    padding: 0 10px;
}

.nav-item {
    padding: 12px 15px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    color: #e0e0ff;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ffffff;
}

.nav-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #00ffff;
}

.nav-item.active {
    background: rgba(255, 0, 255, 0.3);
    color: #ffffff;
    position: relative;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    font-family: 'VT323', monospace;
    border-top: 1px solid rgba(255, 0, 255, 0.2);
}

.system-time {
    font-size: 1.5rem;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

.system-date {
    font-size: 1rem;
    color: #ff00ff;
    margin-top: 5px;
}

.main-content {
    flex: 1;
    padding: 20px;
    position: relative;
    overflow-y: auto;
    max-height: 800px;
}

.main-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 30% 30%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-out forwards;
}

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

.section.active {
    display: block;
}

h2 {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

h3 {
    font-family: 'Audiowide', cursive;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ff00ff;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(45deg, rgba(255, 0, 255, 0.1) 0%, transparent 70%),
            linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 10px 0;
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.development {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
}

.status-badge.in-progress {
    background: rgba(255, 165, 0, 0.2);
    color: #ffaa00;
    border: 1px solid rgba(255, 165, 0, 0.5);
}

.status-badge.success {
    background: rgba(0, 255, 128, 0.2);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 128, 0.5);
}

.stat-details {
    margin-top: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.detail-label {
    color: rgba(224, 224, 255, 0.7);
}

.detail-value {
    color: #00ffff;
    font-family: 'VT323', monospace;
}

.progress-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.resource-meters {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-meter {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meter-label {
    width: 60px;
    font-family: 'VT323', monospace;
    color: #ff00ff;
}

.meter-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin: 0 10px;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    animation: hueRotate 5s infinite linear;
    transition: width 0.5s ease;
}

.meter-value {
    width: 40px;
    text-align: right;
    font-family: 'VT323', monospace;
    color: #00ffff;
}

.activity-feed {
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
}

.activity-list {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
    display: flex;
    align-items: center;
    font-family: 'VT323', monospace;
}

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

.activity-time {
    color: #ff00ff;
    margin-right: 15px;
    min-width: 50px;
}

.activity-type {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-right: 15px;
    min-width: 70px;
    text-align: center;
}

.activity-message {
    color: #e0e0ff;
    flex: 1;
}

.btn {
    background: rgba(30, 10, 40, 0.8);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-right: 10px;
    text-transform: uppercase;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            rgba(255, 0, 255, 0.1),
            rgba(0, 255, 255, 0.1)
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

.btn:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn.primary {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
}

.btn.primary:hover {
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.btn.secondary {
    background: rgba(0, 255, 255, 0.1);
}

.btn.secondary:hover {
    background: rgba(0, 255, 255, 0.2);
}

.btn.danger {
    background: rgba(255, 0, 0, 0.2);
    color: #ff5555;
    border: 1px solid rgba(255, 0, 0, 0.5);
}

.btn.danger:hover {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.btn.mini {
    padding: 5px 10px;
    font-size: 0.7rem;
}

.deployment-actions {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.deployment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-card {
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
}

.target-selector {
    position: relative;
    margin-top: 10px;
}

.cyber-select {
    width: 100%;
    padding: 10px;
    background: rgba(20, 10, 30, 0.8);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 5px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    appearance: none;
    cursor: pointer;
}

.target-selector::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffff;
    pointer-events: none;
}

.option-checkbox {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.option-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.option-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #ff00ff;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.option-checkbox label {
    color: #e0e0ff;
    font-size: 0.9rem;
    cursor: pointer;
}

.deployment-logs {
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
    margin-top: 20px;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.logs-title {
    font-family: 'VT323', monospace;
    color: #ff00ff;
    letter-spacing: 1px;
}

#logs-container, #script-logs {
    background: rgba(10, 5, 15, 0.9);
    padding: 15px;
    border-radius: 5px;
    color: #00ffff;
    font-family: 'VT323', monospace;
    height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    position: relative;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

#logs-container::before, #script-logs::before {
    content: '>';
    position: absolute;
    left: 5px;
    top: 5px;
    color: #ff00ff;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.settings-group {
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #00ffff;
    font-size: 0.9rem;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
}

input[type="text"]:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.scripts-container {
    display: flex;
    gap: 20px;
}

.scripts-list {
    width: 40%;
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
}

.script-output {
    flex: 1;
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
}

.script-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.script-item:hover {
    background: rgba(255, 0, 255, 0.1);
}

.script-name {
    color: #00ffff;
    font-family: 'VT323', monospace;
}

.script-actions {
    display: flex;
    gap: 5px;
}

.add-script {
    margin-top: 20px;
    text-align: center;
}

.script-status {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-family: 'VT323', monospace;
    margin-left: 10px;
}

.script-status.running {
    background: rgba(255, 165, 0, 0.2);
    color: #ffaa00;
    border: 1px solid rgba(255, 165, 0, 0.5);
    animation: pulse 1s infinite;
}

.script-status.completed {
    background: rgba(0, 255, 128, 0.2);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 128, 0.5);
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-top: 20px;
    background: rgba(20, 10, 30, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    font-family: 'VT323', monospace;
    color: rgba(224, 224, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(20, 10, 30, 0.8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 0, 255, 0.5);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 0, 255, 0.7);
}

/* Glitch effect for headings on hover */
h1:hover, h2:hover {
    animation: glitch 0.5s linear infinite;
    position: relative;
}

@keyframes glitch {
    0% {
        text-shadow:
                0.05em 0 0 rgba(255, 0, 255, 0.75),
                -0.05em -0.025em 0 rgba(0, 255, 255, 0.75),
                -0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
    }
    14% {
        text-shadow:
                0.05em 0 0 rgba(255, 0, 255, 0.75),
                -0.05em -0.025em 0 rgba(0, 255, 255, 0.75),
                -0.025em 0.05em 0 rgba(255, 255, 0, 0.75);
    }
    15% {
        text-shadow:
                -0.05em -0.025em 0 rgba(255, 0, 255, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 255, 0.75),
                -0.05em -0.05em 0 rgba(255, 255, 0, 0.75);
    }
    49% {
        text-shadow:
                -0.05em -0.025em 0 rgba(255, 0, 255, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 255, 0.75),
                -0.05em -0.05em 0 rgba(255, 255, 0, 0.75);
    }
    50% {
        text-shadow:
                0.025em 0.05em 0 rgba(255, 0, 255, 0.75),
                0.05em 0 0 rgba(0, 255, 255, 0.75),
                0 -0.05em 0 rgba(255, 255, 0, 0.75);
    }
    99% {
        text-shadow:
                0.025em 0.05em 0 rgba(255, 0, 255, 0.75),
                0.05em 0 0 rgba(0, 255, 255, 0.75),
                0 -0.05em 0 rgba(255, 255, 0, 0.75);
    }
    100% {
        text-shadow:
                -0.025em 0 0 rgba(255, 0, 255, 0.75),
                -0.025em -0.025em 0 rgba(0, 255, 255, 0.75),
                -0.025em -0.05em 0 rgba(255, 255, 0, 0.75);
    }
}

/* Holographic effect for cards */
.stat-card:hover, .info-card:hover, .settings-group:hover {
    background: linear-gradient(
            135deg,
            rgba(255, 0, 255, 0.2) 0%,
            rgba(30, 10, 40, 0.7) 50%,
            rgba(0, 255, 255, 0.2) 100%
    );
    background-size: 200% 200%;
    animation: hueRotate 3s infinite linear;
}

/* Neon text effect */
.logo:hover, h1:hover {
    animation: neon 1.5s ease-in-out infinite alternate;
}

@keyframes neon {
    from {
        text-shadow:
                0 0 5px #fff,
                0 0 10px #fff,
                0 0 15px #fff,
                0 0 20px #ff00ff,
                0 0 35px #ff00ff,
                0 0 40px #ff00ff,
                0 0 50px #ff00ff,
                0 0 75px #ff00ff;
    }
    to {
        text-shadow:
                0 0 2.5px #fff,
                0 0 5px #fff,
                0 0 7.5px #fff,
                0 0 10px #ff00ff,
                0 0 17.5px #ff00ff,
                0 0 20px #ff00ff,
                0 0 25px #ff00ff,
                0 0 37.5px #ff00ff;
    }
}

/* Cyber notification */
.cyber-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 15px 20px;
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 300px;
}

.cyber-notification.show {
    transform: translateX(0);
}

.cyber-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 50%,
            rgba(0, 255, 255, 0.1) 50%,
            rgba(0, 255, 255, 0.1) 100%
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        background-position: 0 -100%;
    }
    100% {
        background-position: 0 100%;
    }
}

/* Terminal styling */
.terminal {
    background: rgba(10, 5, 15, 0.9);
    padding: 15px;
    border-radius: 5px;
    color: #00ffff;
    font-family: 'VT323', monospace;
    border: 1px solid rgba(0, 255, 255, 0.3);
    position: relative;
    margin-top: 20px;
}

.terminal::before {
    content: 'TERMINAL';
    position: absolute;
    top: -10px;
    left: 10px;
    background: rgba(30, 10, 40, 0.9);
    padding: 0 10px;
    font-size: 0.8rem;
    color: #ff00ff;
}

.terminal-prompt {
    color: #ff00ff;
    margin-right: 10px;
}

.terminal-command {
    color: #00ffff;
}

.terminal-output {
    margin-top: 5px;
    color: #e0e0ff;
    white-space: pre-wrap;
}

/* Code editor styling */
.code-editor {
    background: rgba(10, 5, 15, 0.9);
    padding: 15px;
    border-radius: 5px;
    font-family: 'VT323', monospace;
    border: 1px solid rgba(0, 255, 255, 0.3);
    position: relative;
    margin-top: 20px;
    height: 300px;
    overflow-y: auto;
}

.code-editor::before {
    content: 'CODE EDITOR';
    position: absolute;
    top: -10px;
    left: 10px;
    background: rgba(30, 10, 40, 0.9);
    padding: 0 10px;
    font-size: 0.8rem;
    color: #ff00ff;
}

.code-line {
    display: flex;
    margin-bottom: 5px;
}

.line-number {
    color: rgba(224, 224, 255, 0.5);
    margin-right: 15px;
    text-align: right;
    min-width: 30px;
    user-select: none;
}

.line-content {
    flex: 1;
}

/* Syntax highlighting */
.keyword {
    color: #ff00ff;
}

.string {
    color: #ffaa00;
}

.comment {
    color: rgba(224, 224, 255, 0.5);
}

.function {
    color: #00ffff;
}

.variable {
    color: #e0e0ff;
}

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

@media (max-width: 900px) {
    .dashboard-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 0, 255, 0.3);
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        margin: 5px;
        width: auto;
        text-align: center;
        padding: 10px 15px;
    }

    .nav-icon {
        margin-right: 5px;
    }

    .scripts-container {
        flex-direction: column;
    }

    .scripts-list, .script-output {
        width: 100%;
        margin-bottom: 20px;
    }

    .deployment-info {
        grid-template-columns: 1fr;
    }

    .sidebar-footer {
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .system-status {
        margin-top: 10px;
    }

    .deployment-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .form-actions {
        flex-direction: column;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #e0e0ff;
    position: relative;
    transition: all 0.3s ease;
}

.tab:hover {
    color: #00ffff;
}

.tab.active {
    color: #ff00ff;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: #ff00ff;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff00ff;
}

input:checked + .slider {
    border-color: rgba(0, 255, 255, 0.5);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #00ffff;
    box-shadow: 0 0 5px #00ffff;
}

/* Loader */
.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 0, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff00ff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Blinking cursor */
.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: #ff00ff;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Retro grid background */
.retro-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(rgba(255, 0, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px),
            linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    pointer-events: none;
}

/* Cyberpunk-style radio buttons */
.radio-group {
    display: flex;
    margin: 15px 0;
}

.radio-option {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ff00ff;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff00ff;
}

.radio-option label {
    color: #e0e0ff;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Data grid */
.data-grid {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'VT323', monospace;
}

.data-grid th {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 0, 255, 0.5);
}

.data-grid td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
    color: #e0e0ff;
}

.data-grid tr:hover td {
    background: rgba(0, 255, 255, 0.1);
}

.data-grid tr:last-child td {
    border-bottom: none;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background: rgba(30, 10, 40, 0.9);
    color: #00ffff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(30, 10, 40, 0.9) transparent transparent transparent;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    margin-left: 10px;
    font-family: 'VT323', monospace;
}

.badge.new {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
}

.badge.updated {
    background: rgba(255, 165, 0, 0.2);
    color: #ffaa00;
    border: 1px solid rgba(255, 165, 0, 0.5);
}

/* Fix for sidebar footer overlap issue */
.sidebar {
    display: flex;
    flex-direction: column;
}

.sidebar-footer {
    margin-top: auto;
}

/* Also ensure the responsive design maintains this fix */
@media (max-width: 900px) {
    .sidebar {
        min-height: auto;
    }
}

/* Custom scrollbar for the entire page */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 0, 255, 0.5) rgba(20, 10, 30, 0.8);
}

/* Additional animations for interactive elements */
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 255, 0); }
}

.btn:focus {
    animation: pulse-border 1.5s infinite;
}

/* Improved focus states for accessibility */
input:focus, select:focus, button:focus, a:focus {
    outline: 2px solid rgba(255, 0, 255, 0.7);
    outline-offset: 2px;
}

/* Dark mode toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(30, 10, 40, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.dark-mode-icon {
    color: #ff00ff;
    font-size: 1.5rem;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .dashboard-content, .sidebar, .main-content, .stat-card, .info-card, .settings-group {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .btn, .nav-menu, .sidebar-footer, .footer, .dark-mode-toggle {
        display: none;
    }

    h1, h2, h3 {
        color: black;
        text-shadow: none;
    }
}

/* Improved card hover effects */
.stat-card, .info-card, .settings-group {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.stat-card:hover, .info-card:hover, .settings-group:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 5;
}

/* Animated background gradient */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

/* Improved button styles */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn:active {
    transform: scale(0.95);
}

/* Improved form element styling */
input[type="text"], select, textarea {
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 10px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    width: 100%;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

/* Improved notification system */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
}

.notification {
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 15px;
    color: #00ffff;
    font-family: 'VT323', monospace;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    animation: slideIn 0.3s forwards;
    position: relative;
}

.notification.success {
    border-color: rgba(0, 255, 128, 0.5);
    color: #00ff80;
}

.notification.error {
    border-color: rgba(255, 0, 0, 0.5);
    color: #ff5555;
}

.notification.warning {
    border-color: rgba(255, 165, 0, 0.5);
    color: #ffaa00;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.notification.closing {
    animation: slideOut 0.3s forwards;
}

.notification-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

/* Improved accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Skip to content link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: rgba(30, 10, 40, 0.9);
    color: #00ffff;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Improved focus indicators for keyboard navigation */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #ff00ff;
    outline-offset: 2px;
}

/* Responsive typography */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

/* Improved table responsiveness */
.responsive-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 0, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff00ff;
    animation: spin 1s ease-in-out infinite;
}

.loading-text {
    position: absolute;
    margin-top: 80px;
    color: #ff00ff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Improved card layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.ml-1 { margin-left: 0.5rem; }
.ml-2 { margin-left: 1rem; }

.mr-1 { margin-right: 0.5rem; }
.mr-2 { margin-right: 1rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* Color utility classes */
.text-primary { color: #ff00ff; }
.text-secondary { color: #00ffff; }
.text-success { color: #00ff80; }
.text-warning { color: #ffaa00; }
.text-danger { color: #ff5555; }
.text-light { color: #e0e0ff; }
.text-muted { color: rgba(224, 224, 255, 0.7); }

/* Animation utilities */
.animate-pulse { animation: pulse 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-blink { animation: blink 1s step-end infinite; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-glitch { animation: glitch 0.5s linear infinite; }
.animate-neon { animation: neon 1.5s ease-in-out infinite alternate; }

/* Grid layout utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Border utilities */
.border { border: 1px solid rgba(255, 0, 255, 0.3); }
.border-secondary { border: 1px solid rgba(0, 255, 255, 0.3); }
.border-success { border: 1px solid rgba(0, 255, 128, 0.3); }
.border-warning { border: 1px solid rgba(255, 165, 0, 0.3); }
.border-danger { border: 1px solid rgba(255, 0, 0, 0.3); }
.rounded { border-radius: 5px; }
.rounded-lg { border-radius: 8px; }
.rounded-full { border-radius: 9999px; }

/* Background utilities */
.bg-dark { background: rgba(20, 10, 30, 0.7); }
.bg-darker { background: rgba(10, 5, 15, 0.9); }
.bg-primary { background: rgba(255, 0, 255, 0.2); }
.bg-secondary { background: rgba(0, 255, 255, 0.2); }
.bg-success { background: rgba(0, 255, 128, 0.2); }
.bg-warning { background: rgba(255, 165, 0, 0.2); }
.bg-danger { background: rgba(255, 0, 0, 0.2); }

/* Shadow utilities */
.shadow-sm { box-shadow: 0 0 5px rgba(255, 0, 255, 0.1); }
.shadow-md { box-shadow: 0 0 15px rgba(255, 0, 255, 0.2); }
.shadow-lg { box-shadow: 0 0 30px rgba(255, 0, 255, 0.3); }
.shadow-glow { box-shadow: 0 0 15px rgba(255, 0, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3); }

/* Font utilities */
.font-mono { font-family: 'VT323', monospace; }
.font-display { font-family: 'Audiowide', cursive; }
.font-sans { font-family: 'Syncopate', sans-serif; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: 1px; }
.tracking-wider { letter-spacing: 2px; }
.tracking-widest { letter-spacing: 3px; }

/* Display utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.invisible { visibility: hidden; }
.visible { visibility: visible; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-max { z-index: 9999; }

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Cursor utilities */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-wait { cursor: wait; }
.cursor-text { cursor: text; }
.cursor-move { cursor: move; }
.cursor-help { cursor: help; }

/* Overflow utilities */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }

/* Transition utilities */
.transition { transition: all 0.3s ease; }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }
.transition-colors { transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.transition-shadow { transition: box-shadow 0.3s ease; }

/* Transform utilities */
.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.rotate-270 { transform: rotate(270deg); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-x-2 { transform: translateX(0.5rem); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.-translate-x-1 { transform: translateX(-0.25rem); }
.-translate-x-2 { transform: translateX(-0.5rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-2 { transform: translateY(-0.5rem); }

/* Hover effect utilities */
.hover-scale:hover { transform: scale(1.05); }
.hover-rotate:hover { transform: rotate(5deg); }
.hover-translate-up:hover { transform: translateY(-5px); }
.hover-glow:hover { box-shadow: 0 0 15px rgba(255, 0, 255, 0.7), 0 0 30px rgba(0, 255, 255, 0.4); }
.hover-bright:hover { filter: brightness(1.2); }
.hover-text-primary:hover { color: #ff00ff; }
.hover-text-secondary:hover { color: #00ffff; }
.hover-border-primary:hover { border-color: rgba(255, 0, 255, 0.8); }
.hover-border-secondary:hover { border-color: rgba(0, 255, 255, 0.8); }
.hover-bg-primary:hover { background: rgba(255, 0, 255, 0.3); }
.hover-bg-secondary:hover { background: rgba(0, 255, 255, 0.3); }

/* Focus effect utilities */
.focus-outline:focus { outline: 2px solid rgba(255, 0, 255, 0.7); outline-offset: 2px; }
.focus-glow:focus { box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.5); }
.focus-border-primary:focus { border-color: rgba(255, 0, 255, 0.8); }
.focus-border-secondary:focus { border-color: rgba(0, 255, 255, 0.8); }

/* Active effect utilities */
.active-scale:active { transform: scale(0.95); }
.active-translate:active { transform: translateY(2px); }

/* Backdrop filter utilities */
.backdrop-blur { backdrop-filter: blur(5px); }
.backdrop-blur-sm { backdrop-filter: blur(2px); }
.backdrop-blur-lg { backdrop-filter: blur(10px); }

/* Filter utilities */
.filter-hue-rotate { filter: hue-rotate(45deg); }
.filter-brightness-up { filter: brightness(1.2); }
.filter-brightness-down { filter: brightness(0.8); }
.filter-contrast-up { filter: contrast(1.2); }
.filter-contrast-down { filter: contrast(0.8); }
.filter-grayscale { filter: grayscale(1); }
.filter-sepia { filter: sepia(0.5); }
.filter-blur { filter: blur(2px); }

/* Cyberpunk-specific utilities */
.cyber-border {
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2), inset 0 0 5px rgba(0, 255, 255, 0.1);
}

.cyber-panel {
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.cyber-text {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    font-family: 'VT323', monospace;
}

.cyber-heading {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    font-family: 'Audiowide', cursive;
    letter-spacing: 2px;
}

.cyber-glow {
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
}

.cyber-grid-bg {
    background-image:
            linear-gradient(rgba(255, 0, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 0, 255, 0.05) 1px, transparent 1px),
            linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

.cyber-scanline {
    position: relative;
    overflow: hidden;
}

.cyber-scanline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 50%,
            rgba(0, 255, 255, 0.1) 50%,
            rgba(0, 255, 255, 0.1) 100%
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scan 2s linear infinite;
}

.cyber-terminal {
    background: rgba(10, 5, 15, 0.9);
    color: #00ffff;
    font-family: 'VT323', monospace;
    padding: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    position: relative;
}

.cyber-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
    );
    pointer-events: none;
    opacity: 0.5;
}

.cyber-button {
    background: rgba(30, 10, 40, 0.8);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Syncopate', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            rgba(255, 0, 255, 0.1),
            rgba(0, 255, 255, 0.1)
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.cyber-button:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cyber-button:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(10%, 10%);
}

.cyber-button:active {
    transform: translateY(1px);
}

.cyber-input {
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 10px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cyber-input:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.cyber-card {
    background: rgba(30, 10, 40, 0.7);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(45deg, rgba(255, 0, 255, 0.1) 0%, transparent 70%),
            linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.cyber-card:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.cyber-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cyber-badge.primary {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
}

.cyber-badge.warning {
    background: rgba(255, 165, 0, 0.2);
    color: #ffaa00;
    border: 1px solid rgba(255, 165, 0, 0.5);
}

.cyber-badge.success {
    background: rgba(0, 255, 128, 0.2);
    color: #00ff80;
    border: 1px solid rgba(0, 255, 128, 0.5);
}

.cyber-badge.danger {
    background: rgba(255, 0, 0, 0.2);
    color: #ff5555;
    border: 1px solid rgba(255, 0, 0, 0.5);
}

.cyber-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.cyber-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.cyber-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%
    );
    animation: progressShine 2s infinite linear;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cyber-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cyber-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-checkbox input[type="checkbox"]:checked {
    background: rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #ff00ff;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cyber-checkbox label {
    color: #e0e0ff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cyber-checkbox:hover input[type="checkbox"] {
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.cyber-checkbox:hover label {
    color: #00ffff;
}

.cyber-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
}

.cyber-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-radio input[type="radio"]:checked {
    background: rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ff00ff;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff00ff;
}

.cyber-radio label {
    color: #e0e0ff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cyber-radio:hover input[type="radio"] {
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.cyber-radio:hover label {
    color: #00ffff;
}

.cyber-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 10px;
}

.cyber-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cyber-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.5);
    transition: .4s;
    border-radius: 24px;
}

.cyber-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: #ff00ff;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff00ff;
}

input:checked + .cyber-slider {
    border-color: rgba(0, 255, 255, 0.5);
}

input:checked + .cyber-slider:before {
    transform: translateX(26px);
    background-color: #00ffff;
    box-shadow: 0 0 5px #00ffff;
}

.cyber-select {
    appearance: none;
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 10px 30px 10px 10px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff00ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.cyber-select:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.cyber-select option {
    background: rgba(30, 10, 40, 0.9);
    color: #e0e0ff;
}

.cyber-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(20, 10, 30, 0.8);
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 255, 0.5);
    outline: none;
    transition: all 0.3s ease;
}

.cyber-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff00ff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
    transition: all 0.3s ease;
}

.cyber-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff00ff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
    border: none;
    transition: all 0.3s ease;
}

.cyber-range:focus {
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.cyber-range::-webkit-slider-thumb:hover {
    background: #ff33ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.9);
    transform: scale(1.1);
}

.cyber-range::-moz-range-thumb:hover {
    background: #ff33ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.9);
    transform: scale(1.1);
}

.cyber-tooltip {
    position: relative;
    display: inline-block;
}

.cyber-tooltip .cyber-tooltip-text {
    visibility: hidden;
    width: 200px;
    background: rgba(30, 10, 40, 0.9);
    color: #00ffff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.cyber-tooltip:hover .cyber-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.cyber-tooltip .cyber-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(30, 10, 40, 0.9) transparent transparent transparent;
}

.cyber-alert {
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 15px 20px;
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.cyber-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 50%,
            rgba(0, 255, 255, 0.1) 50%,
            rgba(0, 255, 255, 0.1) 100%
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scan 2s linear infinite;
}

.cyber-alert.success {
    border-color: rgba(0, 255, 128, 0.5);
    color: #00ff80;
}

.cyber-alert.warning {
    border-color: rgba(255, 165, 0, 0.5);
    color: #ffaa00;
}

.cyber-alert.danger {
    border-color: rgba(255, 0, 0, 0.5);
    color: #ff5555;
}

.cyber-alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cyber-alert-close:hover {
    opacity: 1;
}

.cyber-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cyber-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cyber-modal {
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.cyber-modal-overlay.active .cyber-modal {
    transform: translateY(0);
}

.cyber-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.cyber-modal-title {
    color: #ff00ff;
    font-family: 'Audiowide', cursive;
    font-size: 1.5rem;
    margin: 0;
}

.cyber-modal-close {
    background: none;
    border: none;
    color: #e0e0ff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.cyber-modal-close:hover {
    color: #ff00ff;
}

.cyber-modal-body {
    margin-bottom: 20px;
    color: #e0e0ff;
    font-family: 'VT323', monospace;
}

.cyber-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.cyber-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.cyber-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #e0e0ff;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'VT323', monospace;
}

.cyber-tab:hover {
    color: #00ffff;
}

.cyber-tab.active {
    color: #ff00ff;
}

.cyber-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.cyber-tab-content {
    display: none;
    padding: 20px 0;
}

.cyber-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Cyber accordion */
.cyber-accordion {
    margin: 20px 0;
}

.cyber-accordion-item {
    margin-bottom: 10px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.cyber-accordion-header {
    padding: 15px;
    background: rgba(30, 10, 40, 0.7);
    color: #e0e0ff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'VT323', monospace;
}

.cyber-accordion-header:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
}

.cyber-accordion-icon {
    transition: transform 0.3s ease;
}

.cyber-accordion-item.active .cyber-accordion-icon {
    transform: rotate(180deg);
}

.cyber-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
}

.cyber-accordion-item.active .cyber-accordion-content {
    max-height: 500px;
    padding: 15px;
}

/* Cyber pagination */
.cyber-pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 5px;
}

.cyber-page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    color: #e0e0ff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'VT323', monospace;
}

.cyber-page-item:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-page-item.active {
    background: rgba(255, 0, 255, 0.3);
    color: #ff00ff;
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.cyber-page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cyber dropdown */
.cyber-dropdown {
    position: relative;
    display: inline-block;
}

.cyber-dropdown-toggle {
    background: rgba(30, 10, 40, 0.7);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'VT323', monospace;
}

.cyber-dropdown-toggle:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 200px;
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.cyber-dropdown.active .cyber-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cyber-dropdown-item {
    padding: 10px 15px;
    color: #e0e0ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-dropdown-item:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
}

.cyber-dropdown-divider {
    height: 1px;
    background: rgba(255, 0, 255, 0.3);
    margin: 5px 0;
}

/* Cyber stepper */
.cyber-stepper {
    display: flex;
    margin: 30px 0;
    position: relative;
}

.cyber-stepper::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 0, 255, 0.3);
    z-index: 0;
}

.cyber-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cyber-step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 10, 40, 0.7);
    border: 2px solid rgba(255, 0, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #e0e0ff;
    font-family: 'VT323', monospace;
    position: relative;
    transition: all 0.3s ease;
}

.cyber-step.active .cyber-step-icon {
    background: rgba(255, 0, 255, 0.3);
    border-color: #ff00ff;
    color: #ff00ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.cyber-step.completed .cyber-step-icon {
    background: rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
    color: #00ffff;
}

.cyber-step-label {
    color: #e0e0ff;
    font-family: 'VT323', monospace;
    transition: all 0.3s ease;
}

.cyber-step.active .cyber-step-label {
    color: #ff00ff;
}

.cyber-step.completed .cyber-step-label {
    color: #00ffff;
}

/* Cyber file upload */
.cyber-file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.cyber-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.cyber-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(30, 10, 40, 0.7);
    border: 1px dashed rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    color: #e0e0ff;
    font-family: 'VT323', monospace;
    transition: all 0.3s ease;
    text-align: center;
}

.cyber-file-upload:hover .cyber-file-label {
    background: rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-file-icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

.cyber-file-info {
    margin-top: 10px;
    font-size: 0.9rem;
    color: rgba(224, 224, 255, 0.7);
}

.cyber-file-preview {
    margin-top: 15px;
    padding: 10px;
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    display: none;
}

.cyber-file-preview.active {
    display: block;
}

.cyber-file-name {
    color: #00ffff;
    word-break: break-all;
}

.cyber-file-size {
    color: rgba(224, 224, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 5px;
}

.cyber-file-remove {
    background: none;
    border: none;
    color: #ff5555;
    cursor: pointer;
    margin-top: 5px;
    padding: 0;
    font-family: 'VT323', monospace;
    transition: color 0.3s;
}

.cyber-file-remove:hover {
    color: #ff0000;
}

/* Cyber timeline */
.cyber-timeline {
    position: relative;
    margin: 30px 0;
    padding-left: 30px;
}

.cyber-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    z-index: 0;
}

.cyber-timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.cyber-timeline-item:last-child {
    margin-bottom: 0;
}

.cyber-timeline-dot {
    position: absolute;
    left: -39px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff00ff;
    border: 2px solid rgba(255, 0, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    z-index: 1;
}

.cyber-timeline-content {
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.1);
    position: relative;
}

.cyber-timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 0, 255, 0.3);
}

.cyber-timeline-content::after {
    content: '';
    position: absolute;
    left: -9px;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(30, 10, 40, 0.7);
}

.cyber-timeline-date {
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cyber-timeline-title {
    color: #ff00ff;
    font-family: 'VT323', monospace;
    margin-bottom: 10px;
}

.cyber-timeline-body {
    color: #e0e0ff;
}

/* Cyber toast notifications */
.cyber-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cyber-toast {
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 15px 20px;
    color: #00ffff;
    font-family: 'VT323', monospace;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.cyber-toast.show {
    transform: translateX(0);
}

.cyber-toast-icon {
    font-size: 1.5rem;
    color: #ff00ff;
}

.cyber-toast-content {
    flex: 1;
}

.cyber-toast-title {
    color: #ff00ff;
    margin-bottom: 5px;
}

.cyber-toast-message {
    font-size: 0.9rem;
}

.cyber-toast-close {
    background: none;
    border: none;
    color: #e0e0ff;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cyber-toast-close:hover {
    opacity: 1;
}

.cyber-toast.success .cyber-toast-icon {
    color: #00ff80;
}

.cyber-toast.success {
    border-color: rgba(0, 255, 128, 0.5);
}

.cyber-toast.warning .cyber-toast-icon {
    color: #ffaa00;
}

.cyber-toast.warning {
    border-color: rgba(255, 165, 0, 0.5);
}

.cyber-toast.error .cyber-toast-icon {
    color: #ff5555;
}

.cyber-toast.error {
    border-color: rgba(255, 0, 0, 0.5);
}

/* Cyber carousel */
.cyber-carousel {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.cyber-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.cyber-carousel-item {
    min-width: 100%;
    position: relative;
}

.cyber-carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.cyber-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 10, 40, 0.8);
    color: #e0e0ff;
    padding: 15px;
    font-family: 'VT323', monospace;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.cyber-carousel-caption h3 {
    color: #ff00ff;
    margin-bottom: 5px;
}

.cyber-carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 1;
}

.cyber-carousel-control {
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.5);
    color: #ff00ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.cyber-carousel-control:hover {
    background: rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

.cyber-carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 5px;
    z-index: 1;
}

.cyber-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-carousel-indicator.active {
    background: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
}

/* Cyber tags */
.cyber-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.cyber-tag {
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 20px;
    padding: 5px 15px;
    color: #e0e0ff;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.cyber-tag:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.8);
    color: #ff00ff;
}

.cyber-tag-remove {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cyber search */
.cyber-search {
    position: relative;
    margin: 20px 0;
}

.cyber-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cyber-search-input:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.cyber-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(224, 224, 255, 0.7);
    pointer-events: none;
    transition: color 0.3s ease;
}

.cyber-search-input:focus + .cyber-search-icon {
    color: #ff00ff;
}

.cyber-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(30, 10, 40, 0.9);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.cyber-search-results.active {
    display: block;
}

.cyber-search-result {
    padding: 10px 15px;
    color: #e0e0ff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 0, 255, 0.2);
}

.cyber-search-result:last-child {
    border-bottom: none;
}

.cyber-search-result:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
}

.cyber-search-highlight {
    color: #ff00ff;
    font-weight: bold;
}

/* Cyber rating */
.cyber-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
}

.cyber-rating-star {
    color: rgba(224, 224, 255, 0.3);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-rating-star.active {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
}

.cyber-rating-star:hover {
    color: #ff33ff;
    transform: scale(1.2);
}

.cyber-rating-value {
    color: #e0e0ff;
    font-family: 'VT323', monospace;
    margin-left: 10px;
}

/* Cyber avatar */
.cyber-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 10, 40, 0.7);
    border: 2px solid rgba(255, 0, 255, 0.5);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.cyber-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cyber-avatar-initials {
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.cyber-avatar.online::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff80;
    border: 2px solid rgba(30, 10, 40, 0.7);
    box-shadow: 0 0 5px #00ff80;
}

.cyber-avatar.offline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5555;
    border: 2px solid rgba(30, 10, 40, 0.7);
    box-shadow: 0 0 5px #ff5555;
}

/* Cyber user card */
.cyber-user-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.cyber-user-card:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.cyber-user-info {
    flex: 1;
}

.cyber-user-name {
    color: #ff00ff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cyber-user-role {
    color: #00ffff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cyber-user-bio {
    color: #e0e0ff;
    font-size: 0.9rem;
}

.cyber-user-stats {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.cyber-user-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cyber-user-stat-value {
    color: #ff00ff;
    font-size: 1.2rem;
}

.cyber-user-stat-label {
    color: rgba(224, 224, 255, 0.7);
    font-size: 0.8rem;
}

.cyber-user-actions {
    display: flex;
    gap: 10px;
}

/* Cyber chat */
.cyber-chat {
    display: flex;
    flex-direction: column;
    height: 400px;
    background: rgba(20, 10, 30, 0.8);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.cyber-chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 10, 40, 0.7);
    border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.cyber-chat-title {
    color: #ff00ff;
    font-family: 'VT323', monospace;
    flex: 1;
}

.cyber-chat-status {
    color: #00ffff;
    font-size: 0.9rem;
}

.cyber-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cyber-chat-message {
    display: flex;
    gap: 10px;
    max-width: 80%;
}

.cyber-chat-message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.cyber-chat-message-content {
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: #e0e0ff;
    position: relative;
}

.cyber-chat-message.sent .cyber-chat-message-content {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.5);
}

.cyber-chat-message-time {
    color: rgba(224, 224, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 5px;
    text-align: right;
}

.cyber-chat-input {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(30, 10, 40, 0.7);
    border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.cyber-chat-input input {
    flex: 1;
    background: rgba(20, 10, 30, 0.8);
    color: #e0e0ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 10px 15px;
    font-family: 'VT323', monospace;
}

.cyber-chat-input input:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.cyber-chat-send {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-chat-send:hover {
    background: rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Cyber code block */
.cyber-code {
    background: rgba(10, 5, 15, 0.9);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    font-family: 'VT323', monospace;
    color: #e0e0ff;
    position: relative;
    overflow-x: auto;
}

.cyber-code-header {
    position: absolute;
    top: -10px;
    left: 15px;
    background: rgba(30, 10, 40, 0.9);
    padding: 0 10px;
    font-size: 0.8rem;
    color: #ff00ff;
}

.cyber-code pre {
    margin: 0;
    white-space: pre-wrap;
}

.cyber-code code {
    font-family: 'VT323', monospace;
}

.cyber-code-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-code-copy:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.8);
}

/* Cyber keyboard key */
.cyber-key {
    display: inline-block;
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.5);
    border-radius: 5px;
    padding: 3px 8px;
    margin: 0 3px;
    color: #ff00ff;
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    box-shadow: 0 2px 0 rgba(255, 0, 255, 0.3);
    min-width: 30px;
    text-align: center;
}

/* Cyber shortcuts */
.cyber-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.cyber-shortcut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 10, 40, 0.7);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.cyber-shortcut:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-shortcut-desc {
    color: #e0e0ff;
    font-family: 'VT323', monospace;
}

.cyber-shortcut-keys {
    display: flex;
    gap: 5px;
}

/* Cyber image gallery */
.cyber-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.cyber-gallery-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.cyber-gallery-item:hover {
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    border-color: rgba(255, 0, 255, 0.8);
}

.cyber-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.cyber-gallery-item:hover img {
    filter: brightness(1.2);
}

.cyber-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 10, 40, 0.8);
    color: #e0e0ff;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cyber-gallery-item:hover .cyber-gallery-caption {
    transform: translateY(0);
}

.cyber-gallery-title {
    color: #ff00ff;
    font-family: 'VT323', monospace;
    margin-bottom: 5px;
}

.cyber-gallery-desc {
    font-size: 0.9rem;
}