/* Cyberpunk VPN Theme - Visual Effects Only */

:root {
    --cyber-cyan: #00f0ff;
    --cyber-magenta: #ff00ff;
    --cyber-purple: #7b2fff;
    --cyber-blue: #0080ff;
    --cyber-green: #00ff9f;
    --cyber-yellow: #ffee00;
    --cyber-red: #ff3366;
    --cyber-dark: #0a0a14;
    --cyber-darker: #050508;
    --cyber-surface: #0d0d1a;
    --cyber-surface-light: #151528;
    --glow-intensity: 0.8;
}

/* Glowing text effect */
.cyber-glow {
    text-shadow:
        0 0 5px var(--cyber-cyan),
        0 0 10px var(--cyber-cyan),
        0 0 20px var(--cyber-cyan);
}

.cyber-glow-magenta {
    text-shadow:
        0 0 5px var(--cyber-magenta),
        0 0 10px var(--cyber-magenta),
        0 0 20px var(--cyber-magenta);
}

/* Animated gradient border */
@keyframes borderGlow {
    0%, 100% { border-color: var(--cyber-cyan); box-shadow: 0 0 10px var(--cyber-cyan); }
    50% { border-color: var(--cyber-magenta); box-shadow: 0 0 10px var(--cyber-magenta); }
}

.cyber-border {
    border: 1px solid var(--cyber-cyan);
    animation: borderGlow 4s ease-in-out infinite;
}

/* Scanline effect overlay */
.scanlines::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* Neon button hover effect */
.mud-button-filled-primary:hover {
    box-shadow:
        0 0 5px var(--cyber-cyan),
        0 0 15px var(--cyber-cyan),
        inset 0 0 10px rgba(0, 240, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.mud-button-filled-secondary:hover {
    box-shadow:
        0 0 5px var(--cyber-magenta),
        0 0 15px var(--cyber-magenta),
        inset 0 0 10px rgba(255, 0, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

/* AppBar styling */
.mud-appbar {
    background: linear-gradient(90deg,
        rgba(10, 10, 20, 0.95) 0%,
        rgba(13, 13, 26, 0.95) 50%,
        rgba(10, 10, 20, 0.95) 100%) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3) !important;
    backdrop-filter: blur(10px);
}

/* Drawer styling */
.mud-drawer {
    background: linear-gradient(180deg,
        var(--cyber-dark) 0%,
        var(--cyber-surface) 100%) !important;
    border-right: 1px solid rgba(0, 240, 255, 0.2) !important;
}

/* Nav menu items */
.mud-nav-link {
    transition: all 0.3s ease !important;
    border-left: 2px solid transparent;
    margin: 4px 8px;
    border-radius: 4px;
}

.mud-nav-link:hover {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.1) 0%,
        transparent 100%) !important;
    border-left: 2px solid var(--cyber-cyan) !important;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.mud-nav-link.active {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.15) 0%,
        rgba(123, 47, 255, 0.1) 100%) !important;
    border-left: 2px solid var(--cyber-cyan) !important;
    box-shadow:
        inset 0 0 30px rgba(0, 240, 255, 0.1),
        0 0 10px rgba(0, 240, 255, 0.2);
}

/* Cards with cyber effect */
.mud-paper {
    background: linear-gradient(135deg,
        rgba(13, 13, 26, 0.9) 0%,
        rgba(21, 21, 40, 0.9) 100%) !important;
    border: 1px solid rgba(0, 240, 255, 0.15) !important;
    transition: all 0.3s ease;
}

.mud-paper:hover {
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

/* Dialog styling */
.mud-dialog {
    background: var(--cyber-surface) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    box-shadow:
        0 0 30px rgba(0, 240, 255, 0.2),
        0 0 60px rgba(123, 47, 255, 0.1) !important;
}

.mud-dialog-title {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 0, 255, 0.1) 100%) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
}

/* DataGrid styling */
.mud-table {
    background: transparent !important;
}

.mud-table-head {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.08) 0%,
        rgba(123, 47, 255, 0.08) 100%) !important;
}

.mud-table-row:hover {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.05) 0%,
        transparent 100%) !important;
}

/* Chips with glow */
.mud-chip {
    transition: all 0.3s ease !important;
}

.mud-chip:hover {
    box-shadow: 0 0 10px currentColor;
}

/* Input fields */
.mud-input-control {
    transition: all 0.3s ease !important;
}

.mud-input-control:focus-within {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

.mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(0, 240, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.mud-input-outlined:hover .mud-input-outlined-border,
.mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: var(--cyber-cyan) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Snackbar notifications */
.mud-snackbar {
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2) !important;
}

/* Progress indicators */
.mud-progress-linear {
    background: rgba(0, 240, 255, 0.1) !important;
}

.mud-progress-linear-bar {
    background: linear-gradient(90deg,
        var(--cyber-cyan) 0%,
        var(--cyber-magenta) 100%) !important;
    box-shadow: 0 0 10px var(--cyber-cyan);
}

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

::-webkit-scrollbar-track {
    background: var(--cyber-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        var(--cyber-cyan) 0%,
        var(--cyber-purple) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
        var(--cyber-cyan) 0%,
        var(--cyber-magenta) 100%);
    box-shadow: 0 0 10px var(--cyber-cyan);
}

/* Logo/Brand text effect */
.cyber-title {
    background: linear-gradient(90deg,
        var(--cyber-cyan) 0%,
        var(--cyber-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

/* Menu items */
.mud-menu-item:hover {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.15) 0%,
        transparent 100%) !important;
}

/* Dividers */
.mud-divider {
    border-color: rgba(0, 240, 255, 0.2) !important;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 240, 255, 0.3) 50%,
        transparent 100%) !important;
}

/* Select dropdowns */
.mud-popover {
    background: var(--cyber-surface) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2) !important;
}

/* Expansion panels */
.mud-expand-panel {
    background: rgba(13, 13, 26, 0.5) !important;
    border: 1px solid rgba(0, 240, 255, 0.1) !important;
}

.mud-expand-panel-header:hover {
    background: rgba(0, 240, 255, 0.05) !important;
}

/* Alert boxes */
.mud-alert {
    border-left: 3px solid !important;
}

.mud-alert-filled-info {
    background: linear-gradient(90deg,
        rgba(0, 240, 255, 0.15) 0%,
        rgba(0, 128, 255, 0.1) 100%) !important;
    border-left-color: var(--cyber-cyan) !important;
}

.mud-alert-filled-success {
    background: linear-gradient(90deg,
        rgba(0, 255, 159, 0.15) 0%,
        rgba(0, 255, 159, 0.05) 100%) !important;
    border-left-color: var(--cyber-green) !important;
}

.mud-alert-filled-warning {
    background: linear-gradient(90deg,
        rgba(255, 238, 0, 0.15) 0%,
        rgba(255, 238, 0, 0.05) 100%) !important;
    border-left-color: var(--cyber-yellow) !important;
}

.mud-alert-filled-error {
    background: linear-gradient(90deg,
        rgba(255, 51, 102, 0.15) 0%,
        rgba(255, 51, 102, 0.05) 100%) !important;
    border-left-color: var(--cyber-red) !important;
}

/* Tabs */
.mud-tabs-toolbar {
    background: transparent !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
}

.mud-tab:hover {
    background: rgba(0, 240, 255, 0.1) !important;
}

.mud-tab-active {
    background: linear-gradient(180deg,
        rgba(0, 240, 255, 0.15) 0%,
        transparent 100%) !important;
}

/* Animated background grid (optional) */
.cyber-grid-bg {
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Pulse animation for icons */
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 2px var(--cyber-cyan)); }
    50% { filter: drop-shadow(0 0 8px var(--cyber-cyan)); }
}

.cyber-icon-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Main content area */
.mud-main-content {
    background:
        radial-gradient(ellipse at top left, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 0, 255, 0.03) 0%, transparent 50%),
        var(--cyber-dark) !important;
}

/* Switch/Toggle */
.mud-switch-track {
    background: rgba(0, 240, 255, 0.2) !important;
}

.mud-switch-track.mud-checked {
    background: linear-gradient(90deg,
        var(--cyber-cyan) 0%,
        var(--cyber-purple) 100%) !important;
    box-shadow: 0 0 10px var(--cyber-cyan);
}
