/* graphs.css : styles spécifiques à la page de génération de graphiques */

/* Header styling simple comme la calculatrice */
/* Glass morphism cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

/* Input controls styling */
.vulnerability-input {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    margin-bottom: 1rem;
}

.vulnerability-input .input-group {
    margin-bottom: 0.5rem;
}

.vulnerability-input .input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
}

.vulnerability-input .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0 8px 8px 0;
    text-align: center;
    font-weight: bold;
}

.vulnerability-input .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.vulnerability-input .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Chart containers */
.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Action buttons */
.action-buttons {
    text-align: center;
    padding-top: 1rem;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 38, 135, 0.4);
    color: white;
}

.btn-glass:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
    
    .btn-glass {
        margin: 0.25rem;
        width: 100%;
    }

    .hero-icon i {
        font-size: 3rem !important;
    }
}

/* Animation for cards - REMOVED */

/* Chart styling improvements */
#chartjs-bar, #chartjs-pie {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1rem;
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
