
.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #333;
  padding: 10px 20px;
  position: sticky; /* Make the navbar sticky */
  top: 0; /* Stick to the top */
  z-index: 1000; /* Ensure it stays on top of other content */
  width: 100%; /* Make sure it takes up the full width */
}

.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

.menu-icon {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.navbar-links {
  display: flex;
  list-style-type: none;
}

.navbar-links li {
  margin: 0 10px;
}








/*---------------------------------------------------------------*/


:root {
  --primary-clr: #b38add;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
/* nice scroll bar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-clr);
  border-radius: 50px;
}


/*.container {
  position: relative;
  width: 1200px;
  min-height: 850px;
  margin: 0 auto;
  padding: 5px;
  color: #fff;
  display: flex;

  border-radius: 10px;
  background-color: #373c4f;
 }* */
/*.left {
  width: 60%;
  padding: 20px;
}*/
/*.calendar {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  color: #878895;
  border-radius: 5px;
  background-color: #fff;
}*/

/*.calendar::before,
.calendar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 12px;
  height: 97%;
  border-radius: 0 5px 5px 0;
  background-color: #d3d4d6d7;
  transform: translateY(-50%);
}*/
/*.calendar::before {
  height: 94%;
  left: calc(100% + 12px);
  background-color: rgb(153, 153, 153);
}*/
/*.calendar .month {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: capitalize;
}*/
/*.calendar .month .prev,
.calendar .month .next {
  cursor: pointer;
}*/
/*.calendar .month .prev:hover,
.calendar .month .next:hover {
  color: var(--primary-clr);
}*/
/*.calendar .weekdays {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize;
}*/
/*.weekdays div {
  width: 14.28%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}*/
.calendar .days {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.calendar .days .day {
  width: 14.28%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-clr);
  border: 1px solid #f5f5f5;
}
.calendar .days .day:nth-child(7n + 1) {
  border-left: 2px solid #f5f5f5;
}
.calendar .days .day:nth-child(7n) {
  border-right: 2px solid #f5f5f5;
}
.calendar .days .day:nth-child(-n + 7) {
  border-top: 2px solid #f5f5f5;
}
.calendar .days .day:nth-child(n + 29) {
  border-bottom: 2px solid #f5f5f5;
}

.calendar .days .day:not(.prev-date, .next-date):hover {
  color: #fff;
  background-color: var(--primary-clr);
}
.calendar .days .prev-date,
.calendar .days .next-date {
  color: #b3b3b3;
}
.calendar .days .active {
  position: relative;
  font-size: 2rem;
  color: #fff;
  background-color: var(--primary-clr);
}
.calendar .days .active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px 2px var(--primary-clr);
}
.calendar .days .today {
  font-size: 2rem;
}
.calendar .days .event {
  position: relative;
}
.calendar .days .event::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 75%;
  height: 6px;
  border-radius: 30px;
  transform: translateX(-50%);
  background-color: var(--primary-clr);
}
.calendar .days .day:hover.event::after {
  background-color: #fff;
}
.calendar .days .active.event::after {
  background-color: #fff;
  bottom: 20%;
}
.calendar .days .active.event {
  padding-bottom: 10px;
}
.calendar .goto-today {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--primary-clr);
}
.calendar .goto-today .goto {
  display: flex;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--primary-clr);
}
.calendar .goto-today .goto input {
  width: 100%;
  height: 30px;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0 20px;
  color: var(--primary-clr);
  border-radius: 5px;
}
.calendar .goto-today button {
  padding: 5px 10px;
  border: 1px solid var(--primary-clr);
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  color: var(--primary-clr);
}
.calendar .goto-today button:hover {
  color: #fff;
  background-color: var(--primary-clr);
}
.calendar .goto-today .goto button {
  border: none;
  border-left: 1px solid var(--primary-clr);
  border-radius: 0;
}
/*.container .right {
  position: relative;
  width: 40%;
  min-height: 100%;
  padding: 20px 0;
}*/

.right .today-date {
  width: 100%;
  height: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  padding-left: 70px;
  margin-top: 50px;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.right .today-date .event-day {
  font-size: 2rem;
  font-weight: 500;
}
.right .today-date .event-date {
  font-size: 1rem;
  font-weight: 400;
  color: #878895;
}
.events {
  width: 100%;
  height: 100%;
  max-height: 600px;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-left: 4px;
}
.events .event {
  position: relative;
  width: 95%;
  min-height: 70px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0 20px;
  padding-left: 50px;
  color: #fff;
  background: linear-gradient(90deg, #3f4458, transparent);
  cursor: pointer;
}
/* even event */
.events .event:nth-child(even) {
  background: transparent;
}
.events .event:hover {
  background: linear-gradient(90deg, var(--primary-clr), transparent);
}
.events .event .title {
  display: flex;
  align-items: center;
  pointer-events: none;
}
.events .event .title .event-title {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 20px;
}
.events .event i {
  color: var(--primary-clr);
  font-size: 0.5rem;
}
.events .event:hover i {
  color: #fff;
}
.events .event .event-time {
  font-size: 0.8rem;
  font-weight: 400;
  color: #878895;
  margin-left: 15px;
  pointer-events: none;
}
.events .event:hover .event-time {
  color: #fff;
}
/* add tick in event after */
.events .event::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 3rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  color: var(--primary-clr);
  transform: translateY(-50%);
}
.events .event:hover::after {
  display: flex;
}
/*.add-event {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #878895;
  border: 2px solid #878895;
  opacity: 0.5;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
}*/
/*.add-event:hover {
  opacity: 1;
}
.add-event i {
  pointer-events: none;
}*/
.events .no-event {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #878895;
}
/*.add-event-wrapper {
  position: absolute;
  bottom: 100px;
  left: 50%;
  width: 90%;
  max-height: 0;
  overflow: hidden;
  border-radius: 5px;
  background-color: #fff;
  transform: translateX(-50%);
  transition: max-height 0.5s ease;
}*/
/*.add-event-wrapper.active {
  max-height: 300px;
}
.add-event-header {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #373c4f;
  border-bottom: 1px solid #f5f5f5;
}
.add-event-header .close {
  font-size: 1.5rem;
  cursor: pointer;
}
.add-event-header .close:hover {
  color: var(--primary-clr);
}
.add-event-header .title {
  font-size: 1.2rem;
  font-weight: 500;
}
.add-event-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.add-event-body .add-event-input {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.add-event-body .add-event-input input {
  width: 100%;
  height: 100%;
  outline: none;
  border: none;
  border-bottom: 1px solid #f5f5f5;
  padding: 0 10px;
  font-size: 1rem;
  font-weight: 400;
  color: #373c4f;
}
.add-event-body .add-event-input input::placeholder {
  color: #a5a5a5;
}
.add-event-body .add-event-input input:focus {
  border-bottom: 1px solid var(--primary-clr);
}
.add-event-body .add-event-input input:focus::placeholder {
  color: var(--primary-clr);
}
.add-event-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.add-event-footer .add-event-btn {
  height: 40px;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  border: none;
  color: #fff;
  background-color: var(--primary-clr);
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid var(--primary-clr);
}
.add-event-footer .add-event-btn:hover {
  background-color: transparent;
  color: var(--primary-clr);
}*/


.credits {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: #fff;
  background-color: #b38add;
}
.credits a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.credits a:hover {
  text-decoration: underline;
}
/*********************************************/

/* ================================ */
/*         Réinitialisation         */
/* ================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Nunito Sans", "Open Sans", sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

/* ================================ */
/*        Structure principale      */
/* ================================ */
.wf-container-main,
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

/* ------------------------ */
/*        wf-wrap - Layout         */
/* ------------------------ */
.wf-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.yep{
  color: white;
}
/* Colonnes gauches et droites */
.left,
.right {
  /*background: #fff;*/
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 300px;
}

/* ================================ */
/*            Calendrier            */
/* ================================ */
.calendar {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
}

/* En-tête du calendrier : Mois et navigation */
.month {
  background: #066aab;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  font-size: 2rem;
}
.month .prev,
.month .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(6,106,171,0.8);
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
}
.month .prev {
  left: 15px;
}
.month .next {
  right: 15px;
}

/* Jours de la semaine */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #eee;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Grille des jours */
/*.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #ddd;
}*/

/* Chaque jour */
.day {
  background: #fff;
  min-height: 100px;
  padding: 8px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.day:hover {
  background: #f0f8ff;
}
/* Jours du mois précédent */
.day.prev-date {
  color: #bbb;
}
/* Aujourd'hui et jour actif */
.day.today,
.day.active {
  border: 2px solid #066aab;
  font-weight: bold;
  background: #066aab;
  color: #fff;
}

/* ================================ */
/*         Bouton "goto-today"      */
/* ================================ */
.goto-today {
  display: inline-block;
  margin: 15px 0;
  padding: 10px 20px;
  background: #066aab;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ================================ */
/*       Zone des dates affichées   */
/* ================================ */
.today-date,
.event-day,
.event-date {
  text-align: center;
  padding: 10px;
  font-size: 1rem;
}

/* ================================ */
/*       Zone des événements        */
/* ================================ */
.no-event {
  text-align: center;
  padding: 20px;
  color: #777;
  font-style: italic;
}

/* ================================ */
/*   Formulaire d'ajout d'événement */
/* ================================ */
.add-event-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}
.add-event-wrapper.active {
  display: flex;
}
.add-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 1.2rem;
  font-weight: bold;
}
.add-event-header .close {
  cursor: pointer;
  color: white;
  font-size: 1.4rem;
}
.add-event-body {
  padding: 15px 0;
}
.add-event-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.add-event-footer {
  text-align: right;
}
.add-event-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #066aab;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.add-event {
  padding: 10px;
  background: #066aab;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
}

/* ================================ */
/*           Responsivité           */
/* ================================ */
@media (max-width: 1024px) {
  .month {
    font-size: 1.8rem;
    padding: 18px;
  }
  .month .prev,
  .month .next {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.3rem;
  }
  .day {
    min-height: 90px;
    padding: 6px;
  }
  .goto-today {
    padding: 8px 16px;
  }
  .add-event-wrapper .add-event-btn,
  .add-event {
    padding: 8px 16px;
  }
}

@media (max-width: 768px) {
  .wf-wrap {
    flex-direction: column;
  }
  .left,
  .right {
    min-width: 100%;
  }
  .month {
    font-size: 1.6rem;
    padding: 15px;
  }
  .month .prev,
  .month .next {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1.1rem;
  }
  .weekdays {
    font-size: 0.8rem;
  }
  .day {
    min-height: 80px;
    padding: 5px;
    font-size: 0.9rem;
  }
  .goto-today {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .add-event-header {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container, .wf-container-main {
    padding: 10px;
  }
  .month {
    font-size: 1.4rem;
    padding: 10px;
  }
  .month .prev,
  .month .next {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 1rem;
  }
  .weekdays {
    font-size: 0.75rem;
    padding: 8px 0;
  }
  .day {
    min-height: 60px;
    padding: 4px;
    font-size: 0.8rem;
  }
  .goto-today {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .today-date,
  .event-day,
  .event-date {
    font-size: 0.9rem;
  }
  .add-event-input {
    padding: 8px;
  }
  .add-event-btn,
  .add-event {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}


/**********************************************/