/* /lms/assets/css/style.css */

/* Fonts personnalisées */
body {
    padding-top: 20px; /* Ajuste selon la hauteur de ta navbar */
    font-family: 'Open Sans', sans-serif;
    color: #333;
}

/* Structure globale pour footer collé en bas */
.layout-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Le contenu principal doit prendre la place restante */
.main-content {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #002c5c; /* Une couleur plus foncée pour les titres */
}

.text-shadow {
  text-align: center; /* toujours centré */
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.section {
  background-color: #eff3f5;
  margin-top: 5px ;
  border-bottom-left-radius: 80px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* Mobile */ 
@media (max-width: 768px) { 
    #formations { border-bottom-right-radius: 30px; }
}

section{
  margin-top: 10px;
}

/*our objective*/
.text-justify {
  text-align: justify;
}

.icon-valid {
  color: #007bff; /* bleu Bootstrap */
  font-size: 1.3rem;
  margin-left: 10px;
  flex-shrink: 0;
}

/*Dashboard*/

/* KPI cards */
.kpi-card {
    border-radius: 1rem;
}

.kpi-icon-wrapper {
    display: flex;
    justify-content: center;
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

/* Timeline */
.dashboard-timeline {
    position: relative;
}

.dashboard-timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-marker {
    position: relative;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: block;
}

.timeline-line {
    position: absolute;
    width: 2px;
    background-color: #e5e7eb;
    top: 12px;
    bottom: -12px;
    left: 4px;
}

/* Course card */
.course-card {
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background-color: #fff;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.12);
}

.course-card-header img {
    object-fit: cover;
    width: 100%;
    height: 140px;
}

/* Badge */
.badge-card {
    width: 80px;
}


.profile-btn {
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9rem;
}

.profile-btn i {
    font-size: 1rem;
}

/* Mobile : bouton plus petit et discret */
@media (max-width: 576px) {
    .profile-btn {
        padding: 0.25rem 0.7rem;
        font-size: 0.75rem;
    }

    .profile-btn i {
        font-size: 0.9rem;
    }

    /* Option : icône seule (super discret) */
    /* Décommente si tu veux un bouton rond */

    .profile-btn .label-text {
        display: none;
    }   
}
