* {
    margin: 0;
    padding: 0;
    font-family: "Century Gothic", sans-serif;
}

/* Taille du texte de base */
:root {
    font-size: 16px;
}

.centuryGothic {
    font-family: "Century Gothic", sans-serif;
}

.normalFont {
  font-family: Arial, Helvetica, sans-serif;
}

/* fleche dans les types number cachée */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

.logo {
  height: 45px;
}

#verreImg {
  height: 330px;
  object-fit: contain;
}

.horizontalScroll {
  overflow-x: scroll;
}


.bg-green {
  background-color: #90f542!important;
}
.bg-red {
  background-color: #ffaaaa!important;
}
.bg-darkblue {
  background-color: #1a305a!important;
}



.text-very-light {
  color: #b5b5b5!important;
}



.tableIcon {
  width: 16px;
  height: 16px;
}

.input-size-fix {
  margin-right: -100000px;
  width: 100%;
}




.addBtn {
  background-color: #200661!important;
  color: white!important;
}
.addBtn:hover {
  background-color: #1a336e!important;
  color: white!important;
}



/* Connexion */

.blueNav {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.loginContainer {
  height: calc(100vh - 60px);
  padding-top: 60px;
}
.loginContainer > img {
  height: calc(100vh - 60px);
  object-fit: cover;
  position: fixed;
  right: 0;
  bottom: 0;
}

.colLeftSide {
  width: 100%!important;
}
.loginLogo {
  justify-content: center;
}
.loginLogo img {
  height:70px;
}

/* Media query pour un ratio largeur/hauteur de 1.4 */
@media (min-aspect-ratio: 7/5) {
  #loginBackground {
    display:block!important;
  }
  .colLeftSide {
    width: 41%!important;
  }
  .loginLogo {
    justify-content: left;
  }
}













/* Médiathèque */

.mediaItemCard {
  position: relative;
  overflow: clip;
  min-width: 148px;
  width: 148px;
  height: 148px;
  border-radius: 10px;
  margin: 0 15px 15px 0;
}

.mediaItemCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mediaItemCardInfo {
  position: absolute;
  height: 56px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px;
  background-color: rgba(232, 232, 232, 0.55);
  color: #000000;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: .1s;
  cursor: pointer;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.mediaItemCardInfo .mediaItemCardInfo-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.mediaItemCardInfo .mediaItemCardInfo-type {
  font-size: 10px;
  font-weight: 500;
  margin: 0;
}

.mediaItemCardInfo-line {
  display: none;
  width: 50%;
  height: 1px;
  background-color: #2E2E2E;
  margin: 5px 0;
  border-radius: 50px;
}

.mediaItemCardInfo-description {
  display: none;
  font-size: 10px;
  font-weight: 400;
  color: #2e2e2e;
  margin: 0;
}

.mediaItemCardInfo-buttonContainer {
  display: block;
  position: absolute;
  bottom: -100px;
}
.mediaItemCardInfo-button {
  display: flex!important;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  border-radius: 500px!important;
  background-color: #296efd;
  border: none;
}
.mediaItemCardInfo-button img {
  width: 13px;
  height: auto;
}

.mediaItemCard:hover .mediaItemCardInfo {
  height: 148px;
  justify-content: flex-start;
  padding: 15px 5px;
}
.mediaItemCard:hover .mediaItemCardInfo-line {
  display: block;
}
.mediaItemCard:hover .mediaItemCardInfo-description {
  display: block;
}

.mediaItemCard:hover .mediaItemCardInfo-buttonContainer {
  display: flex;
  position: absolute;
  bottom: 10px;
  gap: 10px;
}





.buttonLink {
    background: none!important;
    border: none;
    padding: 0!important;
    /*optional*/
    font-family: arial, sans-serif;
    /*input has OS specific font-family*/
    color: #0d6efd;
    text-decoration: underline;
    cursor: pointer;
}






/* Style de l'infobulle */
.tooltipProfil {
  position: absolute;
  display: none;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1000;
  pointer-events: none;
  white-space: nowrap;
}

/* Transition douce pour l'apparition/disparition */
.tooltipProfil-visible {
  display: block;
  transition: opacity 0.3s;
}

.nav-bell-button,
.nav-bell-button-mobile {
  border: none;
  background: transparent;
}

.nav-bell-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 8px 0 2px;
  border-radius: 999px;
  color: #25304d;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-bell-button:hover,
.nav-bell-button:focus {
  background: rgba(34, 76, 168, 0.08);
  color: #1d62bc;
}

.nav-bell-button-mobile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: rgba(0, 0, 0, 0.65);
  text-align: left;
}

.nav-bell-button-mobile:hover,
.nav-bell-button-mobile:focus {
  color: rgba(0, 0, 0, 0.9);
}

.home-announcement-open {
  overflow: hidden;
}

.home-announcement-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 16px 24px;
  background: rgba(14, 22, 46, 0.22);
  backdrop-filter: blur(4px);
}

.home-announcement-card {
  position: relative;
  width: min(100%, 680px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, #ffffff 100%);
  box-shadow: 0 30px 80px rgba(18, 27, 71, 0.18);
  padding: 26px 24px 22px;
  border: 1px solid rgba(109, 128, 173, 0.18);
  animation: homeAnnouncementAppear .22s ease-out;
}

.home-announcement-close,
.home-announcement-info {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.home-announcement-close {
  display: none;
  background: transparent;
  color: #4a5370;
}

.home-announcement-close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.home-announcement-info {
  background: linear-gradient(180deg, #4f8fd9 0%, #1d62bc 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(29, 98, 188, 0.28);
}

.home-announcement-card-expanded .home-announcement-info {
  display: none;
}

.home-announcement-card-expanded .home-announcement-close {
  display: inline-flex;
}

.home-announcement-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #fff2ea 0%, #ffe7dd 100%);
  color: #5f3025;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.home-announcement-chip-icon {
  font-size: 22px;
  line-height: 1;
}

.home-announcement-summary {
  padding-right: 64px;
}

.home-announcement-title {
  color: #1a2035;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 16px;
}

.home-announcement-text {
  color: #303955;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.home-announcement-details {
  margin-top: 14px;
}

.home-announcement-panel {
  background: linear-gradient(135deg, rgba(230, 247, 238, 0.95) 0%, rgba(237, 244, 255, 0.95) 100%);
  border-left: 4px solid #3dc777;
  border-radius: 16px;
  padding: 18px 18px 8px;
  margin-bottom: 14px;
}

.home-announcement-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d2645;
  margin: 0 0 14px;
}

.home-announcement-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.home-announcement-point-icon {
  flex: 0 0 20px;
  color: #30b86f;
}

.home-announcement-point-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.home-announcement-point p {
  margin: 0;
  color: #27314f;
  font-size: 1rem;
  line-height: 1.5;
}

.home-announcement-note {
  background: linear-gradient(135deg, rgba(236, 243, 255, 0.98) 0%, rgba(240, 245, 255, 0.98) 100%);
  border-left: 4px solid #3d88ff;
  border-radius: 16px;
  padding: 16px 18px;
  color: #27314f;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.home-announcement-text-last {
  margin-bottom: 0;
}

.home-announcement-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.home-announcement-ack {
  min-width: 180px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2f1075 0%, #1d055c 100%);
  color: #ffffff;
  border: none;
  padding: 11px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(31, 7, 88, 0.22);
}

.home-announcement-ack:hover,
.home-announcement-ack:focus {
  background: linear-gradient(180deg, #3a158a 0%, #26086f 100%);
  color: #ffffff;
}

@keyframes homeAnnouncementAppear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (min-width: 768px){
  .logo {
    height: 60px;
  }
  .tableIcon {
    width: 18px;
    height: 18px;
  }
}

@media screen and (min-width: 1024px){
  .logo {
    height: 70px;
  }
  .tableIcon {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 767px) {
  .home-announcement-overlay {
    padding: 20px 12px 16px;
    align-items: center;
  }

  .home-announcement-card {
    border-radius: 20px;
    padding: 18px 16px 18px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .home-announcement-summary {
    padding-right: 52px;
  }

  .home-announcement-title {
    font-size: 1.5rem;
  }

  .home-announcement-text,
  .home-announcement-point p,
  .home-announcement-note {
    font-size: 0.98rem;
  }

  .home-announcement-ack {
    width: 100%;
  }
}
