/* ====================================================================
   xSPECTRE Dashboard - UNIQUE DARK NEON CYBERPUNK INTERFACE
   Ultra-Modern, Futuristic Design System
   ==================================================================== */

/* Logo Positioning */
.bottom-left-image {
    position: fixed;
    left: calc(75px - 100px / 2);
    bottom: 25px;
    width: 200px;
    height: auto;
    z-index: 1050;
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.bottom-left-image:hover {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
}

/* ====================================================================
   FUTURISTIC DASHBOARD LAYOUT WITH NEON EFFECTS
   ==================================================================== */

/* Main Dashboard Container */
#main-wrapper {
    background: #0a0e1a;
    position: relative;
}

/* Page Wrapper - Cyber Grid Background */
.page-wrapper {
    padding: 2rem;
    min-height: 100vh;
    background: transparent;
    position: relative;
    z-index: 1;
}

.page-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 234, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ====================================================================
   BENTO BOX LAYOUT - ASYMMETRIC ORGANIC CARDS
   ==================================================================== */

/* Modern Card Grid with Varied Sizes */
#card-dashboard-vuln-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

#card-dashboard-vuln-navigation .col {
    grid-column: span 1;
}

/* Holographic Vulnerability Cards */
#card-dashboard-vuln-navigation .card {
    border: none;
    border-radius: 32px 8px 32px 8px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 1px rgba(0, 255, 255, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
}

/* Rotating Neon Border Effect */
#card-dashboard-vuln-navigation .card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff), var(--neon-blue, #0ea5e9));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#card-dashboard-vuln-navigation .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan, #00ffff), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    box-shadow: 0 0 10px var(--neon-cyan, #00ffff);
}

#card-dashboard-vuln-navigation .card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(2deg) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 255, 255, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan, #00ffff);
}

#card-dashboard-vuln-navigation .card:hover::before {
    opacity: 0.6;
}

#card-dashboard-vuln-navigation .card:hover::after {
    transform: scaleX(1);
}

/* Asymmetric Border Radius Patterns */
#card-dashboard-vuln-navigation .card:nth-child(4n+1) {
    border-radius: 32px 8px 32px 8px;
}

#card-dashboard-vuln-navigation .card:nth-child(4n+2) {
    border-radius: 8px 32px 8px 32px;
}

#card-dashboard-vuln-navigation .card:nth-child(4n+3) {
    border-radius: 32px 32px 8px 8px;
}

#card-dashboard-vuln-navigation .card:nth-child(4n+4) {
    border-radius: 8px 8px 32px 32px;
}

#card-dashboard-vuln-navigation .box {
    min-height: 140px;
    border-radius: inherit;
    padding: 2rem;
}

/* ====================================================================
   NEON HOLOGRAPHIC TYPOGRAPHY
   ==================================================================== */

/* Animated Gradient Numbers */
#card-dashboard-vuln-navigation h3 {
    font-size: 4rem;
    font-weight: 900;
    margin: 1rem 0;
    background: linear-gradient(
        135deg,
        var(--neon-cyan, #00ffff) 0%,
        var(--neon-magenta, #ff00ff) 50%,
        var(--neon-blue, #0ea5e9) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
    letter-spacing: -0.03em;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    position: relative;
}

#card-dashboard-vuln-navigation h3::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.5;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Neon Labels */
#card-dashboard-vuln-navigation p,
#card-dashboard-vuln-navigation .card-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--neon-cyan, #00ffff);
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* ====================================================================
   FUTURISTIC CHART CARDS WITH HOLOGRAPHIC PANELS
   ==================================================================== */

.chart-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 0 1px rgba(0, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

/* Light Sweep Effect */
.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.chart-card:hover::before {
    left: 100%;
}

.chart-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 255, 255, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan, #00ffff);
}

.chart-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary, #e5e7eb);
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Neon Underline */
.chart-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff), var(--neon-blue, #0ea5e9));
    border-radius: 2px;
    box-shadow: 0 0 15px var(--neon-cyan, #00ffff);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ====================================================================
   NEON BUTTONS WITH PULSE EFFECTS
   ==================================================================== */

.btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
    background: rgba(17, 24, 39, 0.8);
    border: 2px solid var(--neon-cyan, #00ffff);
    color: var(--neon-cyan, #00ffff);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 20px 6px 20px 6px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

/* Ripple Effect */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff));
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.6),
        0 0 80px rgba(0, 255, 255, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff));
    color: #000;
    border-color: transparent;
    animation: neonPulse 1s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 0 0 60px rgba(0, 255, 255, 0.8), 0 0 100px rgba(0, 255, 255, 0.5);
    }
}

/* ====================================================================
   CYBER DATA TABLES WITH NEON HIGHLIGHTS
   ==================================================================== */

.data-table {
    width: 100%;
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 0 1px rgba(0, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.data-table thead {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15), rgba(255, 0, 255, 0.15));
    border-bottom: 2px solid var(--neon-cyan, #00ffff);
    position: relative;
}

/* Animated Neon Line */
.data-table thead::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff), var(--neon-blue, #0ea5e9));
    box-shadow: 0 0 15px var(--neon-cyan, #00ffff);
    animation: slideLine 3s ease-in-out infinite;
}

@keyframes slideLine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.data-table th {
    padding: 1.5rem 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--neon-cyan, #00ffff);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.data-table td {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #e5e7eb);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.data-table tbody tr {
    transition: all 0.4s ease;
    position: relative;
}

.data-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--neon-cyan, #00ffff);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan, #00ffff);
}

.data-table tbody tr:hover::before {
    transform: scaleY(1);
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), transparent);
    transform: translateX(12px) scale(1.01);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.data-table tbody tr:hover td {
    color: var(--neon-cyan, #00ffff);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* ====================================================================
   SCAN STATUS SECTION - FUTURISTIC PANELS
   ==================================================================== */

.scan-status-section {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Accent Bar */
.scan-status-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-cyan, #00ffff), var(--neon-magenta, #ff00ff), var(--neon-blue, #0ea5e9));
    box-shadow: 0 0 15px var(--neon-cyan, #00ffff);
}

/* ====================================================================
   PROGRESS BARS WITH SHIMMER ANIMATION
   ==================================================================== */

.progress {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.progress-bar {
    background: linear-gradient(90deg, var(--neon-cyan, #00ffff), var(--neon-blue, #0ea5e9));
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px var(--neon-cyan, #00ffff);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
