/* Cyber Sentinelle Custom Styles - Updated Color Scheme */

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #d80650;
    border-radius: 5px;
}

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

/* Cyber security themed elements */
.cyber-border {
    border: 1px solid rgba(216, 6, 80, 0.2);
}

.cyber-shadow {
    box-shadow: 0 4px 20px rgba(216, 6, 80, 0.1);
}

.cyber-glow {
    box-shadow: 0 0 20px rgba(216, 6, 80, 0.3);
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
    border: 4px solid rgba(216, 6, 80, 0.2);
    border-top-color: #d80650;
    border-radius: 50%;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(216, 6, 80, 0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-text-center {
        text-align: center !important;
    }
}

/* Print styles */
@media print {
    header, footer, button, .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Focus styles */
*:focus {
    outline: 2px solid rgba(216, 6, 80, 0.5);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(216, 6, 80, 0.2);
    color: #000000;
}

::-moz-selection {
    background-color: rgba(216, 6, 80, 0.2);
    color: #000000;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* SVG Progress Circle Styling */
.progress-circle-bg {
    stroke: #e9ecef; /* Light gray background */
}

.progress-circle-fill {
    stroke: #d80650; /* Primary color for progress */
}

.progress-circle-text {
    fill: #000000; /* Black text */
    font-weight: 700;
    font-size: 1.5rem;
}

/* Progress circle styling */
#match-circle {
    transition: stroke-dashoffset 1.5s ease-out;
}

/* Center text styling */
#match-percentage {
    fill: #000000; /* Black text */
    font-weight: 700;
    font-size: 1.875rem; /* text-3xl */
    font-family: 'Inter', sans-serif;
}

/* Background circle */
#match-circle-bg {
    stroke: #e5e7eb; /* Light gray for background */
}