/* body {
    background: #ffffff; 
    padding: 0;
} */


#flash-message-user {
  padding-bottom: 25px;
  padding-top: 25px;

}

#flash-message{
  padding-bottom: 0px;
  padding-top: 0px;

}

/* -------------------- */
/* BOUTON AFFICHAGE MAP */
/* -------------------- */

#btnOpenMissionMap {
  position: fixed;
  z-index: 999;
  top: 300px;
  right: 50px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  height: 64px;

  border: none;
  border-radius: 999px;

  background-color: rgb(167, 167, 231);
  color: #fff;

  font-size: 1.1rem;
  font-weight: 600;

  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

#btnOpenMissionMap i {
  font-size: 1.6rem;
}

#btnOpenMissionMap:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
}

#btnOpenMissionMap:active {
  transform: translateY(0);
}

/* Optionnel : texte légèrement plus discret */
.btn-map-text {
  letter-spacing: .5px;
}

/* -------------------- */
/* BOUTON AFFICHAGE INFOS */
/* -------------------- */

#btnOpenInfos {
  position: fixed;
  z-index: 999;
  top: 400px;
  right: 50px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  height: 64px;

  border: none;
  border-radius: 999px;

  background-color: rgb(167, 213, 231);
  color: #fff;

  font-size: 1.1rem;
  font-weight: 600;

  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

#btnOpenInfos i {
  font-size: 1.6rem;
}

#btnOpenInfos:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
}

#btnOpenInfos:active {
  transform: translateY(0);
}

/* Optionnel : texte légèrement plus discret */
.btn-infos-text {
  letter-spacing: .5px;
}


/* ==========================
   DASHBOARD
========================== */
/* Compteur sur les cards */
/* Badge compteur – base */
.card-count {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 6px 15px rgba(0,0,0,.15);
}

/* Aucun élément */
.card-count.count-empty {
    background: #adb5bd;      /* gris */
    color: #ffffff;
    opacity: 0.8;
}

/* Nombre normal */
.card-count.count-normal {
    background: #198754;      /* vert */
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(13,110,253,.35);
}

/* Gros volume */
.card-count.count-high {
    background: red;      /* rouge */
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(25,135,84,.35);
}

.card-message {
    position: absolute;
    bottom: 2px;
    left: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 6px 15px rgba(13,110,253,.35);
}

.user-dashboard {
    min-height: 100vh;
    background: transparent;  /* blanc pour le dashboard */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 3rem;
}

/* Cards */
.dashboard-card {
    position: relative;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;   /* ↓ padding */
    min-height: 190px;         /* ↓ hauteur */
    transition: transform .25s ease, box-shadow .25s ease;
}

.dashboard-card h4 {
    font-size: 1.05rem;       /* ↓ titre */
    margin-bottom: 0.25rem;
}

.dashboard-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Icône */
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;        /* ↓ icône */
}

.action-card {
    background: linear-gradient(
        135deg,
        #eef2f7 0%,
        #dfe7f3 100%
    );
    color: #0d6efd;
    box-shadow: 0 14px 28px rgba(13,110,253,.18);
}

.no-card {
    color: #0d6efd;
}

.action-card .card-title,
.action-card .card-text {
    color: #fff;
}

.action-card .icon-circle {
    background: rgba(255,255,255,.2);
}

.action-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(13,110,253,.45);
}

/* Bord subtil pour les cards accessibles */
.accessible-card {
    border: 1.5px solid #000;   /* légèrement moins épais que 2px */
}

/* Optionnel : hover léger pour feedback */
.accessible-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,.18);
}

/* Card désactivée */
.disabled-card {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #f8f9fa; /* optionnel, léger fond pour marquer la désactivation */
}

.disabled-card .icon-circle {
    background: rgba(0,0,0,0.05);
}

.disabled-card .card-count {
    opacity: 0.6;
}
/* ==========================
   SCROLL INDICATOR
========================== */
.scroll-indicator {
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    opacity: .6;
    transition: opacity .3s ease, transform .3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-arrow {
    font-size: 5rem;
    color: rgba(13,110,253,.6);
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 1.2rem;
    color: rgba(13,110,253,.8);
}

/* Animation */
@keyframes bounce {
    0%,20%,50%,80%,100% { transform: translateY(0); }
    40% { transform: translateY(15px); }
    60% { transform: translateY(7px); }
}

/* ==========================
   STATS
========================== */
/* .stats-banner {
    padding: 60px 0;
} */

.stats-banner {
    padding: 60px 0;
    /* background: #f8f9fa; */
    background: #dee2e6;
}

.stats-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.stat-card-wrapper {
    flex: 1;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #e6e6e6;
    height: 100%;
}

.stat-icon {
    font-size: 36px;
    color: #495057;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-row {
        flex-wrap: wrap;
    }
    .stat-card-wrapper {
        width: 48%;
        margin-bottom: 15px;
    }
}
