

/*=== Typography ===*/
/*--  Poppins font  --*/
@font-face {
  font-family: "Poppins, sans-serif";
  src: url("../fonts/poppins/Poppins-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Joy, sans-serif";
  src: url("../fonts/joy/ThanksgivingJoy.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Playwrite, sans-serif";
  src: url("../fonts/playwrite/PlaywriteGBJ-Regular.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

.schedule-day-week {
    margin: 0.1rem;
    padding: 0.05rem;
    overflow-y: auto;
}

.schedule-day-week-day {
  font-size: 0.75rem;   /* texte plus petit */
  font-weight: 400;     /* texte normal (pas gras) */
  background-color:  var(--couleur-primaire);
  padding: 3px 5px 5px 3px;
  margin: 5px;
  border-radius: 10px;
  max-width: 95%;
}

.schedule-day-week-day.off {
  font-size: 0.75rem;   /* texte plus petit */
  font-weight: 400;     /* texte normal (pas gras) */
  background-color: rgb(255 215 131 / 0.5);
  padding: 3px 5px;
  border-radius: 10px;
}

.schedule-day-morning-time{
  background-color: #fff2d6;
  border-radius: 10px;
  padding-left: 5px;
  padding-right: 5px
}

.schedule-day-morning-time .off{
    background-color: #7e1b38;
}


.sd-schedule-day {
    padding: 0;
    box-sizing: border-box;
    width: calc(100% - 0.4rem);
    margin: 0.2rem;
    padding-bottom: 50px;

}

.sd-hour-slot {

    display: flex;
    align-items: flex-start;

     height: calc(150px * var(--duration) / 60);

    background-color:  var(--couleur-primaire);
    border-radius: 10px;

    margin: 5px;
    padding: 0px;
}

.sd-hour-slot.active {
    /*box-shadow:
        0 0 0 3px rgba(76,175,80,.3),
        0 0 15px var(--jaune-primaire);*/
     box-shadow:
        0 0 10px var(--jaune-primaire),
        0 0 15px var(--jaune-primaire),
        0 0 30px var(--jaune-primaire);
}

.sd-hour-slot.full{
    height: 150px;
}

.sd-hour-slot.half{
    height: 100px;
}

.sd-hour-slot.quarter{
    height: 75px;
}

.sd-hour-slot.reduced {
    height: 50px; !important;
    background-color:  var(--couleur-secondaire);
}


.sd-hour-slot .sd-slot-title{
    display: flex;
    flex-direction: column;
    padding: 5px;
    width: 60px;
    height: 100%;
    border: 0;
    border-radius: 10px 0 0 10px;
    text-align: center;
    background-color: var(--couleur-secondaire);
}

.sd-slot-title .slot-start-time{

}

.sd-slot-title .slot-end-time{
     margin-top: auto;
}

.groups-list{
    display: flex;
    flex-direction: row;
    gap:0px;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    padding-right: 35px;
}

.sd-ts-group {
    flex: 0 0 105px;
    background-color: #eae5db;
    border-radius: 10px;
    padding: 10px;
    margin: 5px;
    border: 0;
    height: calc(100% - 10px);
    width: 105px;
    overflow: auto;

}

.sd-ts-group .title{
    font-size: 0.8rem;
    margin-top: 0;
    width: 100%;
    font-weight: bold;
    text-align: center;
    font-family: "Playwrite, sans-serif";
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-ts-group .nb-pers{
    font-size: 0.6rem;
    margin-top: 0;
    width: 100%;
    font-weight: normal;
    text-align: center;
    font-family: "Playwrite, sans-serif";
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-ts-group.active {
    /*box-shadow:
        0 0 0 3px rgba(50, 44, 42, 0.08),
        0 0 15px rgba(0,0,0);*/
    box-shadow:
        0 0 10px var(--jaune-primaire),
        0 0 15px var(--jaune-primaire),
        0 0 30px var(--jaune-primaire);
}



.sd-ts-group ul {
    list-style: disc;
    padding-left: 15px;
}

.sd-ts-group ul li {
    list-style: disc;
}

.sd-ts-people{

    font-weight: normal;
    font-family: "Playwrite, sans-serif";
}

.sd-hour-slot-detail{
    position: relative;

    width: 100%;
    min-height: 100px ;
    display: flex;
    flex-direction: column;

    background-color: #ffd783;/*fff2d6;*/
    border-radius: 10px;
}

.sd-15m-slot{
    border-bottom: 1px dotted #5a5548;
    /*min-height: 25px ;*/
    flex: 1;
}

.sd-15m-slot.last {
    border-bottom: 0;
}

.sd-15m-slot-text{
    position: relative;
    top: 18px;
    font-size: 0.5rem;
}


/***********************/
.fab {
    position: fixed;
    bottom: 60px;
    right: 20px;

    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;

    font-size: 32px;
    line-height: 1;
    cursor: pointer;

    background-color: #007bff;
    color: white;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    z-index: 1006;
}

.fab:hover {
    transform: scale(1.05);
}

.bouton-add {
    position: fixed;
    bottom: 50px;
    right: 20px;

    width: 100px;
    height: 50px;
    border: none;
    border-radius: 10px;

    font-size: 15px;
    line-height: 1;
    cursor: pointer;

    background-color: #007bff;
    color: white;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    z-index: 1001;

    transform: rotate(20deg) translateX(0);
    opacity: 0;
}

.bouton-add-slot.open {
    animation: orbit-open 0.4s ease forwards;
}

@keyframes orbit-open {
    from {
        transform: rotate(0deg) translateX(0) scale(0);;
        opacity: 0;
    }

    to {
        /*transform: rotate(225deg) translateX(90px) scale(1) rotate(180deg);*/
        transform: rotate(-160deg) translateX(100px) scale(1) rotate(160deg);
        opacity: 1;
    }
}

.bouton-add-group.open {
    animation: orbit-group-open 0.4s ease forwards;
}

@keyframes orbit-group-open {
    from {
        transform: rotate(0deg) translateX(0) scale(0);;
        opacity: 0;
    }

    to {
        transform: rotate(-180deg) translateX(100px) scale(1) rotate(180deg);
        opacity: 1;
    }
}

.bouton-add-60m.open {
    animation: orbit-add-60-open 0.4s ease forwards;
}

@keyframes orbit-add-60-open {
    from {
        transform: rotate(0deg) translateX(0) scale(0);;
        opacity: 0;
    }

    to {
        transform: rotate(-80deg) translateX(100px) scale(1) rotate(80deg);
        opacity: 1;
    }
}

.task {
  position: absolute;
  top: calc(0px);
  left: 80px;
  border-radius: 4px;
  z-index: 10;

  font-size: 0.5rem;

  height: calc(2 * 12.5%);
  width: 100px;
}

.schedule-modal .modal-title {
    color: var(--couleur-primaire);
    font-family: "Playwrite, sans-serif";
    font-size: 1.5rem;
}

.position-btn {
    display: flex;
    flex-direction: column;
    align-items: center;

    border: none;
    background: none;

    cursor: pointer;
}

.position-btn.up {

}

.position-btn.up img {


   position: fixed;
    bottom: 300px;
    right: 200px;
    width: 150px;
    height: 150px;
    color: var(--couleur-primaire);

    margin-bottom: 8px;
}

.position-btn.down img {


   position: fixed;
    bottom: 200px;
    right: 200px;
    width: 150px;
    height: 150px;
    color: var(--couleur-primaire);

    margin-bottom: 8px;
}

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

.red_bubble {
  width: 15px;
  height: 15px;
  background-color: #f90c4c;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: -6px;
  right: -4px;
  border-radius: 50%;
  font-size: 12px;
}



