/* MonScoreCyber - Custom styles */

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

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

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

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

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

/* Focus styles */
input:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 145, 0.2);
}

/* Transitions */
a, button {
    transition: all 0.2s ease;
}

/* Print styles */
@media print {
    body {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    nav, footer, .no-print {
        display: none !important;
    }
    
    main {
        padding: 0 !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Progress bar animation */
@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-animated {
    animation: progressPulse 2s ease-in-out infinite;
}

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

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Score circle animation */
@keyframes scoreReveal {
    from { 
        stroke-dasharray: 0 553; 
    }
}

.score-circle {
    animation: scoreReveal 1s ease-out forwards;
}

/* Button press effect */
button:active {
    transform: scale(0.98);
}

/* Status badges */
.status-oui {
    background-color: #dcfce7;
    color: #166534;
}

.status-partiel {
    background-color: #fef9c3;
    color: #854d0e;
}

.status-non {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-na {
    background-color: #f3f4f6;
    color: #4b5563;
}
