@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
  html[aria-busy="true"] {
    scroll-behavior: auto !important;
  }
.border.dashed {
    border-style: dashed !important;
}
.nav-link {
    color: black !important;
}
.nav-link:hover {
    color: darkgrey !important;
}
.nav-link.active {
    background-color: black !important;
    color: white !important;
}

li.thumbnail {
    box-sizing: border-box;
    height: 4rem;
    width: 4rem;
}
li.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
li.thumbnail.active {
    border: 2px solid black;
}

.navbar-blur {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

[busy]:not([no-spinner]) {
    position: relative;
}

[busy]:not([no-spinner]) > * {
    opacity: 0.25;
}

[busy]:not([no-spinner])::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: -1rem;
    margin-left: -1rem;
    border-radius: 50%;
    border: 0.275rem solid rgba(237, 233, 254, 0.7); /* Semi-transparent border */
    border-top-color: #91B508; /* Solid color for the top border */
    animation: spinner 0.6s linear infinite;
    z-index: 10;
    transition: all 0.3s ease-in-out !important;
  }

/* Fade-in sur chargement image lazy */
.fade-in-on-load {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
}
.fade-in-on-load.loaded {
  opacity: 1;
}
.card-bg-logo {
  position: relative;
  overflow: hidden;
}

/* Ajoute le logo en pseudo-élément avec opacité */
.card-bg-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--logo-bg);
  background-repeat: no-repeat !important;
  background-position: 50% 50% !important;  /* adapte si besoin */
  background-size:150% auto!important;    /* adapte si besoin */
  opacity: 0.12;                           /* adapte l’opacité à ton goût */
  z-index: 0;
  pointer-events: none;
}
.card-bg-logo > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .card-bg-logo::before {
    background-position: 50% 50% !important;
    background-size:150% auto!important;
  }
}
.user-select-none {
  pointer-events: none;
  user-select: none;
  cursor: not-allowed;
}
.note-block { cursor: pointer; }

.note-hover-infos {
    position: absolute;
    right: 10px; bottom: 10px;
    font-size: 0.95em;
    color: #444;
    background: #f6f6f6b8;
    border-radius: 3px;
    padding: 2px 7px;
    pointer-events: none;
    transition: opacity .15s;
}
.note-block:hover .note-hover-infos,
.note-block:focus-within .note-hover-infos {
    display: block !important;
}
/* Ajoutez ce CSS à votre feuille de style */
.note-form textarea {
    resize: none; /* Désactive le redimensionnement manuel */
    overflow-y: hidden; /* Masque la barre de défilement */
    min-height: 50px; /* Hauteur minimale */
    transition: height 0.2s ease; /* Animation fluide pour le redimensionnement */
}

.bg-avinim-light {
  background-color: #91B508  !important;
}
.bg-avinim-dark {
  background-color: #6A841C  !important;
}
.text-avinim-light {
  color: #91B508 !important;
}
.text-avinim-dark {
  color: #6A841C !important;
}
.bg-avinim-light-red {
  background-color: #FF5A5F !important;
}
.bg-avinim-dark-red {
  background-color: #C81D25 !important;
}
.text-avinim-light-red {
  color: #FF5A5F !important;
}
.text-avinim-dark-red {
  color: #C81D25 !important;
}
.memomeet-logo-title {
    display: inline-block;
    position: relative;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
}

.by-avinim {
    display: block;
    position: absolute;
    right: 0;
    bottom: -.5em;
    font-size: 1rem;
    color: #a5c900;
    font-style: italic;
    font-weight: light!important;
    letter-spacing: 0.03em;
}
