/* assets/css/style.css */
/* Styles personnalisés pour Agban-Logis */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand i {
    color: #ffc107;
}

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.statut-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tracking-map {
    height: 300px;
    background-color: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.notification-badge {
    position: relative;
}

.notification-badge .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6rem;
    padding: 0.25rem 0.4rem;
}

/* Animation de chargement */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-overlay.active {
    display: flex;
}

/* Cards de dashboard */
.dashboard-stat {
    transition: all 0.3s;
}

.dashboard-stat:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
}

/* Styles pour le tracking */
.tracking-progress {
    position: relative;
    padding: 20px 0;
}

.tracking-progress .step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.tracking-progress .step .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #6c757d;
    flex-shrink: 0;
}

.tracking-progress .step.active .icon {
    background: #0d6efd;
    color: white;
}

.tracking-progress .step.completed .icon {
    background: #198754;
    color: white;
}

.tracking-progress .step .content {
    flex: 1;
}

.tracking-progress .step .content .title {
    font-weight: 600;
    margin-bottom: 2px;
}

.tracking-progress .step .content .time {
    font-size: 0.8rem;
    color: #6c757d;
}