/* style.css - Cyberpunk / Dark Neon Theme */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.cyber-bg {
    background: radial-gradient(circle at 10% 20%, #0a0f1e, #03060c);
    font-family: 'Share Tech Mono', monospace;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,255,255,0.03) 0px, rgba(0,255,255,0.03) 2px, transparent 2px, transparent 6px);
    pointer-events: none;
    z-index: 1;
}

.cyber-card {
    background: rgba(10, 20, 30, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cyber-card:hover {
    border-color: #0ff;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

.cyber-icon {
    color: #0ff;
    text-shadow: 0 0 5px #0ff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { text-shadow: 0 0 2px #0ff; }
    50% { text-shadow: 0 0 15px #0ff; }
    100% { text-shadow: 0 0 2px #0ff; }
}

.glitch-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0ff;
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #ff00cc;
    z-index: -1;
    animation: glitch 0.3s infinite;
}

.glitch-text::after {
    color: #00ffcc;
    z-index: -2;
    animation: glitch 0.3s infinite reverse;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.input-group-cyber {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #0ff;
    border-radius: 8px;
    padding: 0.5rem;
}

.input-group-cyber i {
    color: #0ff;
    margin: 0 10px;
    font-size: 1.2rem;
}

.cyber-input {
    background: transparent;
    border: none;
    color: #0ff;
    font-family: 'Share Tech Mono', monospace;
    width: 100%;
    outline: none;
}

.cyber-input::placeholder {
    color: rgba(0, 255, 255, 0.5);
}

.cyber-btn {
    background: linear-gradient(45deg, #0ff, #00aaff);
    border: none;
    border-radius: 8px;
    padding: 12px;
    color: #000;
    font-weight: bold;
    font-family: monospace;
    transition: 0.2s;
    box-shadow: 0 0 10px #0ff;
}

.cyber-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #0ff;
}

.cyber-alert {
    background: rgba(255, 0, 0, 0.2);
    border-color: #f00;
    color: #f66;
}

/* باقي التنسيقات للـ dashboard والجداول */
.navbar-cyber {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #0ff;
}

.table-cyber {
    background: rgba(0, 0, 0, 0.7);
    color: #0ff;
    border-color: #0ff;
}

.table-cyber th {
    border-bottom: 2px solid #0ff;
}

.badge-online {
    background: #0f0;
    color: #000;
}

.badge-offline {
    background: #f00;
}