/* Styles généraux */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --light: #f8f9fa;
    --dark: #212529;
}

/* Styles personnalisés pour la revue scientifique */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    
}
.navbar-nav .me-auto{
     position: relative;
}
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 0.25rem;
}

.alert {
    border-radius: 0.25rem;
}

.table th {
    border-top: none;
    font-weight: 600;
}

/* Styles pour les articles */
.article-card {
    transition: transform 0.2s;
}

.article-card:hover {
    transform: translateY(-5px);
}

/* Styles pour les formulaires */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Styles pour le footer */
footer {
    margin-top: auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 70px; /* Hauteur fixe pour calculer le padding-top */
    background: linear-gradient(135deg, #0062c4, #1a2530);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        height: 60px;
    }
}
/* Loading animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}