/* Styles personnalisés pour GestionDeStocks */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge {
    padding: 5px 10px;
    font-size: 0.85em;
}

.table {
    background-color: white;
}

.btn {
    border-radius: 5px;
}

.alert {
    border-radius: 5px;
    border: none;
}

/* Dashboard cards animations */
.card:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Boutique status badges */
.status-active {
    color: #28a745;
}

.status-inactive {
    color: #dc3545;
}

.status-warning {
    color: #ffc107;
}

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

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

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

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

/* Stats cards */
.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Footer avec liens légaux */
.footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    border-top: 3px solid #007bff;
    position: relative;
}

.footer h5 {
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    border-bottom: 2px solid #007bff;
    display: inline-block;
    padding-bottom: 5px;
}

.footer .footer-link {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer .footer-link:hover {
    color: #007bff !important;
    transform: translateX(5px);
    text-decoration: underline !important;
}

.footer .footer-link-sm {
    transition: all 0.3s ease;
}

.footer .footer-link-sm:hover {
    color: #007bff !important;
    text-decoration: underline !important;
}

.footer .bi {
    font-size: 1.1em;
}

.footer hr {
    opacity: 0.2;
}

.footer .badge {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer .badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Assurer que le body prend toute la hauteur pour le footer sticky */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.9em;
    }
}

