/* Primary #35A0CD 14, 98, 81*/
/* Secondary #E17B20 */

/* Très efficace - #18A94D */
/* efficace - #88CC50 */
/* Moyen - #FEFF31 */
/* Insuffisant - #FDB922 */
/* Inefficace - #FB0000 */

:root {
    --primary-color: #1B2E85;
    --sidebar-width: 280px;
    --header-height: 60px;
}

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 00px;
  }
}

body {
    background-color: #F8FAFD;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Outfit", sans-serif;
}

.uk-table-small td, .uk-table-small th {
  padding: 6px 8px;
}

.uk-offcanvas-bar {
  background: #fff;
  color: #000;
}

.uk-offcanvas-bar .uk-nav-default > li > a, .uk-offcanvas-bar .uk-nav-default .uk-nav-sub a {
  color: #000;
}

.app-header {
    height: var(--header-height);
    background: #f8f8f8;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 980;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: 500;
    color: #5f6368;
}

.app-sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    background: #f8f8f8;
    overflow-y: auto;
    z-index: 979;
    padding: 15px 0;
}

.app-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--header-height);
    padding: 20px;
    background: #fff;
    color: #000;
}

.app-nav-back {
    padding: 10px 25px;
    color: #5f6368;
    display: flex;
    align-items: center;
}

.app-nav-back:hover {
    text-decoration: none;
    color: #202124;
}

.uk-accordion > :nth-child(n+2) {
  margin-top: 10px;
}

.sidebar-menu .uk-accordion-title {
    font-size: 18px;
    font-weight: bolder;
    font-family: "Outfit", sans-serif;
    color: #202124;
    padding: 10px 25px;
    background: none;
}

.sidebar-menu .uk-accordion-title:hover,
.sidebar-menu .uk-accordion-title.active {
    background: #D3E3FD;
    color: var(--primary-color);
    margin: 0px 10px;
    border-radius: 5px;
}

.sidebar-menu .uk-accordion-title::before {
    display: none;
}

.sidebar-menu .uk-accordion-content {
    margin: 0;
    padding: 0;
}

.sidebar-menu .menu-icon {
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.sidebar-menu .menu-item {
    display: block;
    padding: 10px 25px 10px 64px;
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    border-radius: 0 50px 50px 0;
}

.sidebar-menu .menu-item:hover,
.sidebar-menu .menu-item.active {
    background: #e8f0fe;
    color: var(--primary-color);
}

.notification-badge {
    position: relative;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.risque-tag {
    display: inline-block;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 5px 10px;
    margin: 5px;
}
.risque-tag .remove-btn {
    margin-left: 8px;
    color: #dc3545;
    cursor: pointer;
}
.select2-container {
    width: 100% !important;
}

.htmx-indicator{
  display:none;
}
.htmx-request .htmx-indicator{
  display:inline;
}
.htmx-request.htmx-indicator{
  display:inline;
}

.uk-badge-primary {
  background: #18A94D;
  color: #fff !important;
}

.uk-badge-danger {
  background: #FB0000;
  color: #fff !important;
}

.bloc-line {
  background-color: black;
  color: #fff;
  padding: 15px;
  margin-bottom: 15px;
}

.eye-icon, .eye-pass-icon, .eye-passagain-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.titre-detail {
  background-color: black;
  color: #fff;
}

.titre-detail h1{
  color: #fff;
}

.uk-heading-divider {
  padding-bottom: calc(5px + 0.1em);
  border-bottom: calc(0.2px + 0.05em) solid black;
}

#ysearch {
  /*background-image: url('../docs/background_yoonu.png');*/
  background-image: url('../docs/back.svg');
  background-position: center;
}

.search-title {
  font-weight: 700;
  line-height: 65px;
  font-size: 56px;
  color: black;
}

.round-image {
  border: 2px solid black;
  border-radius: 50%;
  height: 100px;
  width: 100px;
}

@media (max-width: 960px) {
  .search-title {
    font-weight: 700;
    line-height: 45px;
    font-size: 38px;
    color: black;
  }

  .round-image {
    border: 2px solid black;
    border-radius: 50%;
    height: 75px;
    width: 75px;
  }
}

/**/
.bloc-gauche {
  background-color: rgba(14, 98, 81, 0.1);
  border-radius: 5px;
  padding: 30px;
}

.uk-iconnav > * {
  padding-left: 5px;
}

.uk-icon-button {
  width: 30px;
  height: 30px;
}

.uk-navbar-item {
  min-height: unset;
}

.category, .category:focus {
  border: solid 0px transparent;
}

.langueverte, .langueverte:focus {
  background-color: black;
  color: #fff;
}

.uk-input, .uk-select, .uk-textarea {
  border: solid 2px black;
}

/* Focus */
.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
  color: #000;
  border: solid 2px black;
}

.uk-search-navbar .uk-search-input {
  background-color: white;
  font-size: 1.1rem;
  font-weight: 300;
}

.uk-button {
  text-transform: none;
  padding: 0 20px;
}

 /* Primary
 */
.uk-button-primary {
  background-color: black;
  color: #fff;
  border: 1px solid transparent;
}
/* Hover */
.uk-button-primary:hover {
  background-color: black;
  color: #fff;
}
/* OnClick + Active */
.uk-button-primary:active,
.uk-button-primary.uk-active {
  background-color: black;
  color: #fff;
}

/* Primary
 */
.uk-button-inverse {
  background-color: transparent;
  color: black;
  border: 2px solid black;
}
/* Hover */
.uk-button-inverse:hover {
  background-color: black;
  color: #fff;
}
/* OnClick + Active */
.uk-button-inverse:active,
.uk-button-inverse.uk-active {
  background-color: black;
  color: #fff;
}

/* Pagination  */
.uk-pagination > * > * {
  /* 2 */
  padding: 5px 10px;
  color: black;
  transition: color 0.1s ease-in-out;
  text-decoration: none;
  /*border-radius: 50%;
  border: 1px solid black;*/
}
/* Hover */
.uk-pagination > * > :hover {
  color: #666;
  text-decoration: underline;
}
/* Active */
.uk-pagination > .uk-active > * {
  color: #fff;
  border-radius: 5px;
  background-color: black;
  /*border: 2px solid black;*/
}
/* Disabled */
.uk-pagination > .uk-disabled > * {
  color: #999;
}

#last_pied, #pied {
  color: #fff;
}

#last_pied a, #pied a {
  color: #E17B20;
  text-decoration: none;
}

.image-container {
  position: relative; /* Required for padding trick */
  padding-bottom: 56.25%; /* 9 / 16 * 100% */
  overflow: hidden; /* Clip image if it doesn't fit the ratio */
}

.image-container img {
  position: absolute; /* Required for padding trick */
  top: 0;
  left: 0;
  width: 100%; /* Ensures image fills container */
  /*height: 100%;  Ensures image fills container */
}

.float{
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
  margin-top:16px;
}

#toast.htmx-settling {
  opacity: 100;
}

#toast {
  background: #E1F0DA;
  opacity: 0;
  transition: opacity 3s ease-out;
}

.cellule-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.matrice-table td, .matrice-table th {
    border: 1px solid #000;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

.matrice-table th {
    background-color: #f0f0f0;
    /*font-weight: bold;*/
}

.htmx-indicator{
    display:none;
}
.htmx-request .htmx-indicator{
    display:inline;
}
.htmx-request.htmx-indicator{
    display:inline;
}