/* Ludeon.biz Cybernetic & Obsidian Anti-DDoS Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
    --bg-black: #000000;
    --card-bg: rgba(6, 11, 25, 0.75);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-blue: rgba(59, 130, 246, 0.25);
    --electric-blue: #3b82f6;
    --electric-blue-light: #60a5fa;
    --electric-blue-dark: #2563eb;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background-color: #000000;
    color: #f1f5f9;
}

code, .font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism Cards */
.ludeon-card {
    background: rgba(6, 11, 24, 0.65);
    border: 1px solid rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ludeon-card-hover {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ludeon-card-hover:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

/* Sidebar active tab indicator */
.sidebar-link {
    transition: all 0.2s ease-in-out;
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-left: 3px solid #3b82f6;
    color: #ffffff;
    font-weight: 600;
}

.sidebar-link.active i, .sidebar-link.active svg {
    color: #60a5fa;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.6));
}

/* Pulsing Red Alert For DDoS */
@keyframes attack-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
        border-color: rgba(239, 68, 68, 0.8);
    }
    50% {
        box-shadow: 0 0 30px 8px rgba(239, 68, 68, 0.35);
        border-color: rgba(239, 68, 68, 1);
    }
}

.under-attack-pulse {
    animation: attack-pulse 1.8s infinite;
}

/* Subtle glowing plasma pulse */
@keyframes pulse-plasma {
    0%, 100% { transform: scale(1) translate(-50%, -50%); opacity: 0.14; }
    50% { transform: scale(1.08) translate(-50%, -50%); opacity: 0.22; }
}

.animate-pulse-plasma {
    animation: pulse-plasma 8s infinite ease-in-out;
}

/* Laser pulse line */
@keyframes laser-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

.animate-laser-pulse {
    animation: laser-pulse 3s infinite ease-in-out;
}

/* Custom Cyber Scrollbars */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

/* Glowing text */
.glow-text-blue {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.glow-text-emerald {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Perfect Layout Containment & Button Centering */
*, *::before, *::after {
    box-sizing: border-box;
}

.center-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    vertical-align: middle;
}

/* Clean Form Focus & Containment */
input, select, textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/* Password Toggle Icon Button */
.pw-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-toggle-btn:hover {
    color: #94a3b8;
}

