/* Style général */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

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

/* Cards */
.card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    border-radius: 10px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Boutons */
.btn {
    border-radius: 5px;
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Zone de visualisation */
#visualizationArea {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

#visualizationArea i {
    color: #6c757d;
}

#planDisplay {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
}

#planImage {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

/* Statistiques */
#statsContent {
    font-size: 14px;
}

#statsContent strong {
    color: #495057;
}

/* Modal de chargement */
.modal-content {
    border-radius: 10px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Messages */
.alert {
    border-radius: 5px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .col-md-3, .col-md-9 {
        margin-bottom: 20px;
    }

    #visualizationArea {
        min-height: 200px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Personnalisation des contrôles */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Tooltip personnalisé */
.tooltip-inner {
    background-color: #343a40;
    border-radius: 5px;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

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