/* Style général */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
}

/* Cartes */
.card {
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

.card-header {
    font-weight: bold;
}

/* Formulaires */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.form-label {
    font-weight: 500;
}

/* Boutons */
.btn {
    font-weight: 500;
    padding: 8px 20px;
}

.btn-lg {
    padding: 12px 30px;
}

/* Badges */
.badge {
    font-size: 0.9em;
    padding: 6px 12px;
}

/* Tableaux */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Alertes */
.alert {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Footer */
.footer {
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(0,0,0,.1);
}

/* Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .btn-lg {
        padding: 8px 20px;
    }
}

/* Animations */
.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* Prédiction */
.display-4 {
    font-weight: bold;
    color: #0d6efd;
}

/* Liste des features */
.list-group-item {
    transition: background-color 0.2s;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}
/* Sections d'information */
.info-section {
    margin-bottom: 2rem;
}

.info-section h4 {
    color: #0d6efd;
    margin-bottom: 1rem;
}

/* Graphiques et visualisations */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

/* Styles pour les diagrammes UML */
.diagram-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* En-têtes des diagrammes */
.header-architecture {
    background-color: #000080 !important; /* Bleu marine */
    color: white !important;
}

.header-classes {
    background-color: #006400 !important; /* Vert foncé */
    color: white !important;
}

.header-sequences {
    background-color: #800000 !important; /* Rouge foncé */
    color: white !important;
}

.header-components {
    background-color: #4B0082 !important; /* Indigo */
    color: white !important;
}

.header-deployment {
    background-color: #2F4F4F !important; /* Gris ardoise foncé */
    color: white !important;
}

/* Centrage des titres dans les en-têtes */
.card-header h5 {
    text-align: center;
    margin: 0;
}

.card-header small {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

/* Sections des diagrammes */
.diagram-section {
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

/* Backgrounds spécifiques pour chaque type de diagramme */
.diagram-section.architecture {
    background-color: #F0F8FF; /* Alice Blue - très léger bleu */
}

.diagram-section.classes {
    background-color: #F0FFF0; /* Honeydew - très léger vert */
}

.diagram-section.sequences {
    background-color: #FFF0F0; /* Très léger rouge */
}

.diagram-section.components {
    background-color: #F8F0FF; /* Très léger violet */
}

.diagram-section.deployment {
    background-color: #F0F5F5; /* Très léger gris-bleu */
}

