/*
Theme Name: Elearning MLH
Template: kadence
Version: 0.1.0
*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ld-category-section{
	display:flex!important;
  align-items: center;
  width: 80%;
margin: auto;
box-shadow: 1px 1px 13px #00000030;
border-radius: 20px;
padding: 68px 42px;
}
.ld-cours-intro{
  display: flex;
  width: 80%;
  margin: 80px auto;
  align-items: center;
}

.ld-courses-grid{
	  width: 90%;
    display: flex;
    justify-content: space-around;
    margin: auto;
    flex-wrap: wrap;
}
.ld-course-card__meta-item
{
    display: flex;
    align-items: flex-start;
    width: 361px;
    font-size: 17px;
    flex-direction: column;
    margin: 12px auto;

}
.ld-course-card__cta{
    display: block;
    width: 155px;
    background-color: #233E3B;
    padding: 10px 22px;
    border-radius: 20px;
    text-align: center;
    color:white;
}
.ld-course-card__meta-item img
{
        width: 33px;
}
.ld-courses-page__title {
  text-align: center;
  padding-top: 50px;
  font-size: 3em;
}
.ld-course-card__meta {
  display: flex;
}
.ld-course-card
{
    /* width: 80%; */
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #e0e0e0;
    padding: 30px 0px;
    align-items: center;
}
.ld-course-card__body{
    width: 61%;
}
.dashboard-user-mlh
{
  display: flex;
  justify-content: space-around;
    max-width: 90% !important;
    justify-content: space-around;
}
.navigation-dashboard-mlh{
    text-align: center;
    box-shadow: 1px 1px 20px #0000002b;
    background-color: white;
        border-radius: 18px;
    padding: 30px 86px;
}
.navigation-dashboard-mlh ul{
  list-style-type: none;
  margin: 0;
}
.navigation-dashboard-mlh img{
  margin: 20px auto ;
}
.navigation-dashboard-mlh .active-dashboard{
      background-color: #ffc55a;
    padding: 10px 0;
    border-radius: 20px;
}
.dashboard-mlh-promos{
background-color: #223936;
    color: white;
    border-radius: 14px;
    text-align: center;
    padding: 5px;
    margin: 40px 0;
    position: relative;
}
.dashboard-mlh-promos-pastille{
     background-color: #efbe47;
    width: 46px;
    height: 45px;
    border-radius: 32px;
    padding: 10px 5px;
    position: absolute;
    bottom: 55px;
}
.dashboard-user-mlh .ld-grid {
    display: grid;
    gap: var(--gap);
    width: 65%!important;
}
.dashboard-user-mlh .ld-note {
	display:none;
}
.cours-inactifs{
  display: flex;
          justify-content: space-between;
    width: 70%;
    margin: 60px auto;
    text-align: center;
}
/*Modale de confirmation de desabonnement*/
/* ===============================
   MODALE CORRIGÉE
================================= */
/* ===============================
   MODALE VERSION STABLE
================================= */

.mlh-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999;
}

.mlh-modal.is-open {
  display: block;
}

.mlh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.mlh-modal__panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 90%);
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 1000000;
}

.cours-inactifs div{
  background: url(https://elearning.maison-lheritage.com/wp-content/uploads/2025/11/cours-inactif.png);
    width: 237px;
    height: 237px;
    background-size: cover;
    font-size: 20px;
    display: flex;
    align-items: center;
    color: white;
    font-weight: 300;
    justify-content: center;

}
/** Dashboard**/
.mlh-dashboard {
    padding: 40px 0;
}

.mlh-dashboard__wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.mlh-dashboard__sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.mlh-dashboard__user {
    text-align: center;
    margin-bottom: 20px;
}

.mlh-dashboard__nav {
    list-style: none;
    padding: 0;
}

.mlh-dashboard__nav li {
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    transition: 0.2s;
}

.mlh-dashboard__nav li:hover,
.mlh-dashboard__nav li.active {
    background: #004B3C;
    color: #fff;
}
.mlh-dashboard__nav{
  margin: auto;
}
.mlh-dashboard__content {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.ld-profile__saved-cards
{
  display: none!important;
}
.mlh-tab {
    display: none;
}

.mlh-tab.active {
    display: block;
}
.ld-course-title{
  color: black!important;

}
/** Form login **/
.mlh-login-form{
  width: 80%;
    margin: 90px auto;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    line-height: 42px;
}
.mlh-login-form input{
    border-radius: 30px;
    margin: 10px auto;
}
@media(max-width:900px) {
    .mlh-dashboard__wrapper {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 900px) {
  .sc-ld-dashboard__grid {
    grid-template-columns: 1fr;
  }

  .sc-ld-dashboard__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 1024px) {

}
@media screen and (min-width: 768px) and (max-width: 1023px) {

}
 


@media screen and (max-width: 425px) {
  .ld-course-card, .cours-inactifs
{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cours-inactifs div
{
    margin-bottom: 20px;
}
}

/****/