/* Bitcoin Honeypot - Custom Styles */

/* Prevent theme flash */
html {
    transition: background-color 0.2s ease;
}

body {
    transition: background-color 0.2s ease;
}

/* Dark theme backgrounds */
html[data-theme="dark"] body {
    background-color: #18181B;
}

html[data-theme="light"] body {
    background-color: #ffffff;
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #525252;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 105, 21, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 105, 21, 0.8);
    }
}

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

@keyframes data-flow {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.data-flow-animation {
    animation: data-flow 2s linear infinite;
}

/* Card hover effects */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Bitcoin icon color */
.bitcoin-orange {
    color: #9CA3AF;
}

/* Custom focus styles */
input:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 105, 21, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Network graph container */
#network-graph {
    background-color: #18181B;
}

/* Cytoscape tooltip styles */
.cy-tooltip {
    position: absolute;
    z-index: 1000;
    background: #262626;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
