/* Global core styles for Yad Alev */

body {
    padding-top: 80px;
}

@media(max-width: 576px) {
    body {
        padding-top: 70px;
    }
    .container {
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.navbar {
    min-height: 68px;
}
@media(max-width: 576px) {
    .navbar {
        min-height: 60px;
    }
}

.nav-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
@media(max-width: 576px) {
    .nav-logo {
        width: 38px;
        height: 38px;
    }
}

/* Conteneur pour les messages flash flottants */
.flash-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    width: auto;
    min-width: 300px;
    max-width: 450px;
}

/* Petit effet d'ombre pour bien détacher l'alerte */
.flash-container .alert {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}