@font-face {
  font-family: "Intro Cond";
  src: url("../fonts/IntroCond.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Intro Cond";
  src: url("../fonts/Intro Cond SemiBold.otf") format("opentype");
  font-weight: 600;
}

@font-face {
  font-family: "Intro Cond";
  src: url("../fonts/Intro Cond Bold.otf") format("opentype");
  font-weight: 700;
}

body {
  font-size: .875rem;
  font-family: "Intro Cond", Helvetica, sans-serif;
  color: #042749;
  background: #F4F7FC;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  /* Behind the navbar */
  /*padding: 48px 0 0;  Height of navbar */
  /* box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); */
  box-shadow: 0px 4px 38px rgba(0, 0, 0, 0.09);
  background: #EDF4FB;
}



.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  /* identical to box height */

  display: flex;
  align-items: center;

  color: #000000;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #fff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: #fff;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.navbar .navbar-toggler {
  /* top: .25rem; */
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*override*/

.inr-container {
  background: #F4F7FC;
}

/*.inr-container,
.sidebar {
  padding-top: 45px;

}*/

.sidebar ul.nav {
  padding-top: 70px;
  padding-bottom: 25px;

}


.sidebar ul.nav,
.logo-container {
  max-width: 250px;
  margin: auto;
}

.separator {
  margin-top: 32px;
  max-width: 250px;
}

.underlined {
  position: relative;
}

.underlined::after {
  content: "";
  display: block;
  margin-top: 11px;
  width: 100%;
  height: 7px;
  border-radius: 50px;
}

.nav-link.active {
  color: #fff;
  border-radius: 6px;
}

.user-screen .nav-link.active,
.user-screen thead,
.user-screen .underlined::after {
  background-color: #969696;
}

.mavie-screen .nav-link.active,
.mavie-screen thead,
.mavie-screen .underlined::after {
  background-color: #8ECE3E;
}

.garant-screen .nav-link.active,
.garant-screen thead,
.garant-screen .underlined::after {
  background-color: #379C8E;
}

.contact-screen .nav-link.active,
.contact-screen thead,
.contact-screen .underlined::after {
  background-color: #379C8E;
}

.engagement-screen .nav-link.active,
.engagement-screen thead,
.engagement-screen .underlined::after {
  background-color: #43689C;
}

.message-screen .nav-link.active,
.message-screen thead,
.message-screen .underlined::after {
  background-color: #042749;
}

.forgot-security-phrase-screen .nav-link.active,
.forgot-security-phrase-screen thead,
.forgot-security-phrase-screen .underlined::after {
  background-color: #DB0DE3;
}



.inr-table {
  background: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  margin-top: 92px;


}

.inr-table th {
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 15px;
  /* identical to box height */

  letter-spacing: 0.05em;
}

.inr-table td,
.inr-table th {
  padding: 15px;
}

.inr-table .table-striped tbody tr:nth-of-type(even) {
  background-color: #F4F7FC;
}

.inr-table .table-striped tbody tr:nth-of-type(odd) {
  background-color: transparent;
}

.inr-table tr th:last-child,
.inr-table tr td:last-child {
  white-space: nowrap;

}

.inr-heading {
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: 600;
  font-size: 31.9205px;
  line-height: 40px;

}

.inr-btn,
.inr-no {
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  color: #fff;
}

.inr-no {
  color: #042749;

}

.inr-danger {
  background-color: #E00000;

}

.inr-primary {
  background-color: #5AACBC;
}

.alert-danger p {
    margin:0px;
}

@media (max-width: 550px) {
    .card-body {
        padding: 54px 30px !important;/* réduit le padding sur mobile */
    }

    .logo-width {
        width: 200px;
    }
}

h1.text-center {
    margin-bottom: 50px !important;
}

.cgv-cgu {
    margin: 51px auto 0px auto !important;
}

.logo-width {
    width: 300px;
}

body {
    min-width: 350px;
}

#deleteModal p {

  font-family: " Intro Cond";
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
}

@media (max-width: 1250px) {
  .sidebar {
    /* top: 5rem; */
  }

  .inr-table th {
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (min-width: 991px) {
  .modal-dialog {
    max-width: 768px;
  }
}

@media(max-width:575px) {
  .navbar-brand .img-fluid {
    max-width: 200px;
  }

}

/*top bar user notification*/

#use_contaiter.dropdown-toggle::after,
#notif_contaiter.dropdown-toggle::after {
  display: none;

}

#use_contaiter+.dropdown-menu .dropdown-item {
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 15px;

}

#notif_contaiter.dropdown-toggle {
  font-size: 22px;
  color: #000;
}

.top-bar .dropdown-menu {
  right: 0;
  left: initial;

}

#notif_contaiter+.dropdown-menu {
  width: 289px;
  padding: 15px;

}

#notif_contaiter+.dropdown-menu .dropdown-item,
.seeAll {
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 15px;
  color: #5C5D5E;
  padding-top: 7px;
  padding-bottom: 7px;


}

#notif_contaiter+.dropdown-menu .dropdown-item:not(:last-child) {
  border-bottom: 1px solid rgba(183, 190, 197, 0.4);

}

.seeAll {
  text-decoration: underline;
  color: #5AACBC;
  display: block;

}

.login-wrapper {
  padding-top: 20px;
  padding-bottom: 69px;
}

.login-wrapper .card {
  max-width: 714px;
  margin: auto;
  padding: 54px 106px;

}

.login-wrapper h1 {
  margin-top: 10px;
  margin-bottom: 40px !important;
  text-align: center;

  font-family: "Intro Cond", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 42px;
}

nav .nav-link {
    color: #000000 !important;
    font-size: 16px;
    transition: 0.4s ease all;
}

nav .nav-link:hover {
    color: #8ECE3E !important;
}

.nav-link.active {
    color: #8ECE3E !important;
}

.btn-primary {
    background-color: #8ECE3E;
    border: 0;
}

.btn-primary>a {
    color: #ffffff !important;
}

.btn-primary>a:hover {
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #76B92D;
}

.navbar-brand {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 !important;
}

/****  floating-Lable style start ****/
.floating-label {
  position: relative;
  margin-bottom: 20px;
  font-family: "Intro Cond", sans-serif;
}

.floating-input,
.floating-select {
  font-size: 14px;
  padding: 10px 10px 10px 25px;
  display: block;
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #969696;
}

.form-row .floating-input,
.form-row .floating-select {

  padding: 10px;

}

.floating-input:focus,
.floating-select:focus {
  outline: none;
  border-bottom: 2px solid #8ECE3E;
}

.floating-label  label {
  color: #969696;
  font-size: 14px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 25px;
  top: 5px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.floating-label  .form-row label {
  left: 5px;
}

.floating-input:focus~label,
.floating-input:not(:placeholder-shown)~label {
  top: -18px;
  font-size: 14px;
  color: #8ECE3E;
}

.floating-select:focus~label,
.floating-select:not([value=""]):valid~label {
  top: -18px;
  font-size: 14px;
  color: #8ECE3E;
}

/* active state */
.floating-input:focus~.bar:before,
.floating-input:focus~.bar:after,
.floating-select:focus~.bar:before,
.floating-select:focus~.bar:after {
  width: 50%;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.floating-textarea {
  min-height: 30px;
  max-height: 260px;
  overflow: hidden;
  overflow-x: hidden;
}

/* highlighter */
.highlight {
  position: absolute;
  height: 50%;
  width: 100%;
  top: 15%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* active state */
.floating-input:focus~.highlight,
.floating-select:focus~.highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}

/* animation */
@-webkit-keyframes inputHighlighter {
  from {
    background: #8ECE3E;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@-moz-keyframes inputHighlighter {
  from {
    background: #8ECE3E;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@keyframes inputHighlighter {
  from {
    background: #8ECE3E;
  }

  to {
    width: 0;
    background: transparent;
  }
}

/****  floating-Lable style end ****/

.floating-label .fa {
  top: 7px;
  color: #969696;

}

.inr-btn-primary,
.inr-btn-secondary {
  background: #8ECE3E;
  font-family: "Intro Cond";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
  color: #FFFFFF;
  padding: 9px 64px;
}

.inr-btn-primary:hover {
    background: #76B92D;
    color: white;
}

.inr-btn-secondary {
  background: #969696 !important;
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #969696;
  margin: 48px auto 58px;
}

.btn-wrap a {
  color: #8ECE3E;
  font-weight: 600;
}

.btn-wrap p,
.forgot-pass,
.cgv-cgu {
  margin: 0;
  font-size: 18px;
  color: #969696;
  text-align: center;
}

.forgot-pass a,
.cgv-cgu a {
  color: inherit;
  text-decoration: underline;

}

.cgv-cgu {
  margin: 51px auto;
}

.notification-wrapper {
  max-width: 767px;
  margin: 100px auto 50px;
}

.notification-wrapper .card-body {
  padding: 0;

}

.notification-wrapper .card-header h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 23px;
  /* identical to box height */


  color: #000000;

}

.notification-wrapper .list-group-item {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #B7BEC5
}

.notification-wrapper .list-group-item p {
  padding-right: 30px;

}

.notification-wrapper .list-group-item small {
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;

  color: #B9B9B9;
}

.notification-wrapper .list-group-item .dropdown-toggle::after {
  display: none;
}

.notif-container .badge {
    font-size:11px;
    position:absolute;
    left:13px;
}
/* .notif-container .badge.security {
    left:24px;
} */

body {
    padding-top: 80px;
}

.profile-wrapper .card {
    padding: 40px;
}

.profile-wrapper .card-info {
    height:fit-content;
}

#navContainer {
     margin: 0 !important;
}

.navbar-brand > img {
    width: 150px !important;
}

@media (min-width: 768px) {
    .profile-grid {
        gap: 16px;
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        grid-template-rows: auto;
    }

    #navbarNav {
        justify-content: end !important;
    }

    #navContainer {
        margin:auto !important;
    }

    .navbar-brand > img {
    width: 280px !important;
}
}

.hover-icon {
    color: gray;
    transition: 0.2s ease all;
}

.hover-icon:hover {
    color: #8ECE3E;
}


.hover-text {
    color: black;
    cursor: pointer;
    transition: 0.2s ease all;
}

.hover-text:hover {
    color: #8ECE3E;
}

.sponsorship-code {
    font-size: 24px;
}

.table-actions > button > p {
    display: none;
    transition: 0.3s ease;
    align-text: center;
}

.table-actions > button:hover > p {
    display: block;
}

ul.email-list {
    list-style-type: none;
}

.carousel-container {
  max-width: 800px;
  position: relative;
  overflow: hidden;
  background: white;
  text-align: center;
}

.carousel-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 100%; /* Start offscreen right */
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: all 0.5s ease; /* Animation douce */
}

.carousel-slide.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  left: 0; /* Glisse au centre */
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  background-color: white;
}

.carousel-description {
  margin-top: 15px;
  font-size: 1.1em;
  color: #333;
}

.carousel-buttons {
  margin-top: 20px;
}

.carousel-buttons button {
  padding: 10px 20px;
  margin: 0 10px;
  background-color: #8ECE3E;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.carousel-buttons button:hover {
  background-color: #7BB934;
}

.home-wrapper {
    margin: auto;

}

.page-container {
    position: relative;
    background-image: url('/static/assets/images/home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

.page-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
}

.page-container > * {
    position: relative;
    z-index: 1;
}

.home-wrapper .card {
    max-width: 900px;
    margin: 0px auto 15px auto;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background-color: #8ECE3E;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
  transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
  background-color: #76b531;
}