body {
    /*background-color: #222222;*/
    background: #222222;
    color: #FFFFFF;
    font-family: "Plus Jakarta Sans", serif;
}

nav div {
    display: flex;
    /*width: 20%;*/
    /*justify-content: space-around;*/
    /*align-items:center;*/
}

nav a {
    font-weight: bold;
    text-decoration: none;
    color: #FFFFFF;
}

nav a:hover {
    text-decoration: underline;
}

nav form {
    margin: 0;
}

.carousel-container {
    overflow: hidden;
}

.carousel {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .slide {
        flex: 0 0 100%;
    }
}

.mainPageTitle {
    font-family: "Plus Jakarta Sans", serif;
    color: #cecece;
}

.mainPageTitle span {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #8BF6AF;
}

.mainPageTitle h2 {
    font-size: 3rem;
}

.mainPageSlug {
    font-size: .8em;
    background: linear-gradient(90deg, blue, purple);
    color: white;
    display: inline-block;
    padding: .5em;
    border-radius: 50em;
}

.cta-signup a {
    background: linear-gradient(90deg, blue, purple);
    border: none;
}

.logout {
    background: none;
    border: none;
    color: white;
    margin: 0;
    padding: 3px;
    cursor: pointer;
}

a {
    text-decoration: none;
}

.loginform {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    padding: 1em;
    color: white;
}

.loginform h2 {
    margin: 0;
}

.loginform * {
    padding: 5px;
    margin: 5px;
}

.loginform input {
    border-radius: 5px;
    border: none;
}

.loginform input[type="submit"] {
    background-color: #8BF6AF;
    padding: 15px 30px;
    font-weight: bold;
}

.company-cards-container {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 0 auto;
}

.producer {
    border: 1px solid #57ffff !important;
}

.producer .see-more-btn {
    background-color: #57ffff;
    color: #236666;
    padding: 5px 25px;
    border-radius: 5px;
    font-weight: 500;
}

.producer-mainColor {
    background-color: #57ffff;
    fill: #236666;
    color: #236666;
}

.producer-span::before {
    content: "P";
}

.producer-span, .producer-large-span {
    background-color: #57ffff;
    color: #236666;
    font-weight: 900;
    padding:2px 5px;
    border-radius: 2px;
    margin: 2px;
}

.producer-large-span::before {
    content: "Producer";
}

.seller {
    border: 1px solid #c7ff57 !important;
}

.seller .see-more-btn {
    background-color: #c7ff57;
    color: #63802b;
    padding: 5px 25px;
    border-radius: 5px;
    font-weight: 500;
}

.seller-mainColor {
    background-color: #c7ff57;
    fill: #63802b;
    color: #63802b;
}

.seller-span::before {
    content: "S";
}

.seller-span, .seller-large-span {
    background-color: #c7ff57;
    color: #63802b;
    font-weight: 900;
    padding:2px 5px;
    border-radius: 2px;
    margin: 2px;
}

.seller-large-span::before {
    content: "Seller";
}


.transformer {
    border: 1px solid #7357ff !important;
}

.transformer .see-more-btn {
    background-color: #7357ff;
    color: #392b80;
    padding: 5px 25px;
    border-radius: 5px;
    font-weight: 500;
}

.transformer-mainColor {
    background-color: #7357ff;
    fill: #392b80;
    color: #392b80;
}

.transformer-span::before {
    content: "T";
}

.transformer-span, .transformer-large-span {
    background-color: #7357ff;
    color: #392b80;
    font-weight: 900;
    padding:2px 5px;
    border-radius: 2px;
    margin: 2px;
}

.transformer-large-span::before {
    content: "Transformer";
}

.applicator {
    border: 1px solid #47b9fd !important;
}

.applicator .see-more-btn {
    background-color: #47b9fd;
    color: #235a7d;
    padding: 5px 25px;
    border-radius: 5px;
    font-weight: 500;
}

.applicator-mainColor {
    background-color: #47b9fd;
    fill: #235a7d;
    color: #235a7d;
}

.applicator-span::before {
    content: "A";
}

.applicator-span, .applicator-large-span {
    background-color: #47b9fd;
    color: #235a7d;
    font-weight: 900;
    padding:2px 5px;
    border-radius: 2px;
    margin: 2px;
}

.applicator-large-span::before {
    content: "Applicator";
}

.user {
    border: 1px solid #ff7559 !important;
}

.user .see-more-btn {
    background-color: #ff7559;
    color: #803a2d;
    padding: 5px 25px;
    border-radius: 5px;
    font-weight: 500;
}

.user-mainColor {
    background-color: #ff7559;
    fill: #803a2d;
    color: #803a2d;
}

.user-span::before {
    content: "U";
}

.user-span, .user-large-span {
    background-color: #ff7559;
    color: #803a2d;
    font-weight: 900;
    padding:2px 5px;
    border-radius: 2px;
    margin: 2px;
}

.user-large-span::before {
    content: "User";
}

.validation-btn {
    background-color: #8BF6AF;
    border: none;
    border-radius: 15px;
    padding: 5px 15px;
    font-weight: 500;
    color: #222222;
}

.count {
    font-size: 38pt;
    font-weight: bold;
}

.card {
    color: white;
}

.card a {
    color: white;
}

.top-10 a:nth-child(even) p {
    background-color: rgba(0, 0, 0, .33);
}

#map {
    min-height: 400px;
}

.preset-map-button:hover {
    opacity: .5
}

.table-companies-list tr {
    height: 3em;
}

.table-companies-list tr a:hover {
    text-decoration: underline;
}

.table-companies-list td, th {
    padding: 1em;
}

.table-companies-list tr:nth-child(even) {
    background-color: rgba(0, 0, 0, .1);
}

.table-companies-list a {
    text-decoration: none;
}

.ai-overview-btn {
	background:linear-gradient(to left, #333399 5%, #ff00cc 100%);
    border: none;
    color: white;
    font-weight: bold;
    opacity: 1;
}
.ai-overview-btn:hover {
    font-weight: bold;
    opacity: .8;
    transition-property: opacity;
    transition-duration: 80ms;
}

.visit-website-btn {
	background:#7FE0A0;
	border-radius:2px;
	border:none;
	display:inline-block;
	cursor:pointer;
	color:#000;
	padding:14px 31px;
	text-decoration:none;
    font-weight: bold;
}

.graphene-confirmed {
    background-color: white;
    padding: 4px;
    font-weight: bolder;
    font-style: italic;
    color: black;
}

.highlight {
    background: linear-gradient(to left, #333399 5%, #ff00cc 100%);
    color: white;
    padding: 2px;
    border-radius: 5px;
    font-weight: 500;
}

.country-label {
    background-color: rgba(0, 0, 0, .1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.country-label-companies {
    background-color: rgb(255, 255, 255);
    padding:2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
    color: #222222;
}

.country-label-companies:empty {
    display: none;
}

.classification-A {
    background-color: #F68BAD;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-B {
    background-color: white;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-C {
    background-color: #8BF6AF;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-D {
    background-color: #AF8BF6;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-E {
    background-color: white;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-F {
    background-color: violet;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-G {
    background-color: deepskyblue;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-H {
    background-color: #F6C98B;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.classification-Z {
    background-color: #F6C98B;
    padding:2px;
    border-radius: 2px;
    margin: 2px;
}

.custom-truncate {
    min-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: .5em
}

.information-tooltip {
    width: 10%;
    border-radius: 5px 0 5px 0;
}

.tooltiptext {
  visibility: hidden;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  padding: 5px;

  position: absolute;
  z-index: 1;
}

.information-tooltip:hover .tooltiptext {
    visibility: visible;
}

.patent-description {
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.patent-description::-webkit-scrollbar {
    width: 8px;
}

.patent-description::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, .2);
}

.patent-description::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, .5);
    border-radius: 50px;
}

.classification_details {
    visibility: hidden;
    background-color:black;
    border-radius: 5px;
    padding: .5rem;
}

.applicantsTruncate {
    min-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: .5em;
    padding-left: 5px;
}


/* Style pour le bouton en bas à droite */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background-color: #383838;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* ---------------------------- Chatbox style ---------------------------- */
.chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 600px;
    height: 75dvh;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: none; /* Cachée par défaut */
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 90% !important;
}

@media (max-width: 768px) {
    .chat-window {
        width: 100dvw;
        height: 75dvh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        max-width: none !important;
    }
}

.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* effet de fondu */
    display: none; /* caché par défaut */
    z-index: 999; /* juste derrière la modale */
}

.chat-header {
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.chat-footer {
    padding: 10px;
    border-top: 1px solid #ccc;
    display: flex;
    gap: 5px;
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.chat-footer button {
    padding: 8px 12px;
    background: #8BF6D8;
    color: #222;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.close-button {
    background: none;
    border: none;
    color:white;
    cursor: pointer;
    font-size: 16px;
}

.user-message {
    padding: 12px;
    border-radius: 10px 10px 0 10px;
    background-color: #333333;
    text-align: end;
    width: fit-content;
    margin-left: auto;
}


.chat-body::-webkit-scrollbar {
    width: 8px;
}

.chat-body::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, .2);
}

.chat-body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, .5);
    border-radius: 50px;
}

.bot-message {
    padding: 12px;
    border-radius: 0 10px 10px 10px;
    background-color: #171616;
}

.notification-badge {
    position: absolute;
    top: 10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.icon {
    position: relative;
    height: 100%;
}

.suggested-message {
    border: 1px solid white;
    color: white;
    background:linear-gradient(to left, #333399 5%, #ff00cc 100%);
    border-radius: 50px;
    padding: 15px;
    cursor: pointer;
    width: fit-content;
}

/*.bg-dark {*/
/*    background-color: #222222 !important;*/
/*}*/

.reportBtn {
    background-color: red;
    margin-right: 5px;
}

.reportBtn:hover {
    opacity: .5;
    background-color: red;
    color: white;
    transition-property: opacity, background-color;
    transition-duration: 40ms;
}

#fullChart {
    position: relative;
}

#totalCompanies {
    position: absolute !important; /* Force une position fixe */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Centre le contenu */
    text-align: center !important;
}

.messageMonitor {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1000;
}

.messageMonitor p.error {
    background-color: #d32f2f;   /* rouge pour les erreurs */
    color: white;
    margin: 0;
    padding: 15px;
}

.messageMonitor p.success {
    background-color: #388e3c;   /* vert pour les succès */
    color: white;
    margin: 0;
    padding: 15px;
}

.messageMonitor.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.input-group input {
    height: 45px;
    width: 100%;
    border-radius: 4px;
    border: none;
    padding: 10px;
}

.indicator-valid {
    color: #155724;
    background-color: #c3e6cb;
}

.indicator-invalid {
    color: #721c24;
    background-color: #f5c6cb;
}

.loginBaseMenu {
    /*background-color: rgba(255, 255, 255, 0.25) !important;*/
    /*backdrop-filter: blur(10px);*/
    /*border: 1px solid rgba(255, 255, 255, .5);*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    /*background-color: black;*/
    border: 2px solid white;
    z-index: 1000;
    right: 0;
    left: auto;
}

.loginBaseMenu.no-blur {
    filter: none;
    z-index: 1000;
}

.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.darken-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);  /* Assombrissement */
    z-index: 999;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #363636;
    color: white;
}

.noUi-target {
    background-color: #e0e0e0;
    border-radius: 10px;
}

.noUi-connect {
    background-color: #0FC2C0;
}

.noUi-horizontal .noUi-handle {
    width: 28px;
    height: 28px;
}

.noUi-handle {
    background-color: #0FC2C0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.noUi-handle::before {
    content: '';
    display: none;
}

.noUi-handle::after {
    content: '';
    display: none;
}

#applyButton {
    background-color: #0FC2C0;
    border: none;
    border-radius: 15px;
    padding: 5px 15px;
    font-weight: 500;
    color: #222222;
}

.paginationLink {
    padding: 10px;
}

.copyright {
    /*background-color: #222222;*/
    width:100%
}

.lp-section {
    padding-top: 8rem;
}

.lp-title {
    background: linear-gradient(120deg, #ffffff, #8BF6AF); /* Dégradé horizontal */
    -webkit-background-clip: text; /* Applique le dégradé au texte */
    -webkit-text-fill-color: transparent; /* Rend le texte transparent pour laisser apparaître le dégradé */
    display: inline-block; /* Nécessaire pour certains navigateurs */
    font-weight: bold;
}

.lp-green-text {
    color: #8BF6AF;
}

.btn-carousel-lp {
    background-color: black;
    border-radius: 100px;
    padding: 1rem;
    border: none;
    color: white;
}

.btn-carousel-lp-active {
    background-color: white;
    color: black;
}

@media (max-width: 576px) { /* XS et SM */
    .d-flex {
        flex-direction: column;
        align-items: center;
    }
    .btn-carousel-lp {
        width: 80%; /* Optionnel : pour les aligner plus joliment */
        margin-bottom: 8px; /* Espacement entre les boutons */
    }
}

.custom-title-size {
    font-size: 2.5rem;
    font-weight:bold;
}

.lp-icon-container {
    width: 48px;
    height: auto;
    padding: 5px;
}

.lp-main-cta {
    background: linear-gradient(45deg, #34e3b3, #38ef7d);
    color: black;
    font-weight: bold;
    font-size: 2rem;
    border-radius: 50px;
    border: none;
    padding: 0 3rem 0 3rem;
}

.lp-main-cta:hover {
    opacity: .8;
}

@media (max-width: 900px) { /* Jusqu'à lg inclus */
    .lp-main-cta {
        font-size: 28px;  /* Réduit la taille du texte */
        padding: 8px 16px; /* Réduit l'espacement intérieur */
    }
}

.highlightForm {
    z-index: 1;
    outline: 2px solid rgba(0, 255, 163, 0.5);
    box-shadow: 1px 1px 25px 10px rgba(0, 255, 163, 0.5);
    -webkit-box-shadow: 1px 1px 25px 10px rgba(0, 255, 163, 0.5);
    -moz-box-shadow: 1px 1px 48px 10px rgba(0, 255, 163, 0.84);
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fadeOutEffect {
    transform: scale(1); /* Retour à la normale */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    outline: none;
    box-shadow: none;
}

.lp-hero {
    transition: all 0.4s ease-in-out;
}

#sloganDiv {
    transition: opacity 0.3s ease, max-width 0.4s ease;
    max-width: 100%;
    opacity: 1;
}

#formDiv {
    transition: transform 0.4s ease-in-out;
    position: relative;
    z-index: 2;
}

#constraintsDiv {
    width: 10px;
    height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
}

/* Activation lors du clic */
.form-expanded #sloganDiv {
    max-width: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.form-expanded #constraintsDiv {
    height: auto;
    opacity: 1;
    padding: 1rem;
    width: 300px;
    right: 50px;
}

.aaa-img {
    width: 50%;
    height: auto;
}

@media (max-width: 360px) { /* XS à SM */
    .custom-responsive {
        width: 75% !important;
        padding-top: 0.5rem !important; /* équivalent de pt-2 */
        margin-left: auto !important;
        margin-right: auto !important;
        height: 100%;
    }
    .img-responsive-small {
        width: 50% !important;
    }
}

.custom-section-title {
    font-size: calc(1rem + 1.5vw)
}

@media (max-width: 991px) {
    #patentsChartsContainer {
        height: 100vh;
    }

    #patentsChart, #patentsClassesChart {
        height: 100%;
    }
}

.logBtn {
    background: linear-gradient(45deg, #34e3b3, #38ef7d);
    text-decoration: none;
    color: black;
}

.formTooltip {
    display: none;
    color: #721c24;
    background: #f5c6cb;
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    margin-top: 5px;
    text-align: center;
}

.glassmorphism {
    background-color: rgba(5, 83, 69, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 1000;
}

.cookie-preferences {
    position: fixed;
    top: 10%;
    left: 10%;
    right: 10%;
    background: white;
    color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.gr-chat-container {
    width: 100%; /* Pleine largeur */
    height: 75dvh; /* Pleine hauteur */
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .gr-chat-container {
        max-width: 800px
    }
}

.gr-chat-header {
    text-align: center;
    font-size: 1.2rem;
}

.gr-chat-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.gr-chat-body::-webkit-scrollbar {
    width: 6px;
}

.gr-chat-body::-webkit-scrollbar-track {
    background-color: #222222;
}

.gr-chat-body::-webkit-scrollbar-thumb {
    background-color: #353535;
    border-radius: 15px;
    border:1px solid #222222;
}

/* Bulles de messages */
.gr-bot-message, .gr-user-message {
    max-width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    word-wrap: break-word;
}

/* Style pour le bot */
.gr-bot-message {
    color: #f2f2f2;
    align-self: flex-start;
    text-align: left;
    border-radius: 10px 10px 10px 0;
    margin-bottom: 8px;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.1) !important;
}

.gr-bot-message p {
    margin: 0;
}

.fade-in {
    opacity: 0;
    animation: fadeInEffect .5s ease-in-out forwards;
}

.slide-in {
    opacity: 0;
    transform: translateY(20px); /* Ou translateX(-20px) pour un effet latéral */
    animation: slideInEffect 1.5s ease-in-out forwards;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style pour l'utilisateur */
.gr-user-message {
    background: linear-gradient(45deg, #34e3b3, #38ef7d);
    color: black;
    align-self: flex-end;
    text-align: left;
    border-radius: 10px 10px 0 10px;
}

/* Input et bouton */
.gr-chat-footer {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #444;
    border-radius: 0 0 8px 8px;
}

.gr-chat-input {
    flex-grow: 1;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    outline: none;
    transition: all 0.3s ease-in-out;
}

.gr-chat-input:focus {
    background-color: #444;
}

.gr-chat-input::placeholder {
    color: #c7c7c7;
}

.gr-chat-send-btn {
    background: linear-gradient(45deg, #34e3b3, #38ef7d);
    border: none;
    color: rgba(0, 0, 0, 1);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.1s ease-in-out;
}

.gr-chat-send-btn:hover {
    color: rgba(0, 0, 0, 0.5);
}

.flag-triangle {
    top: 0;
    left: 0;
    width: 32px;
    height: auto;
    overflow: hidden;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    border-radius: 5px 0 0 0;
    border: 5px solid #34e3b3;
}

.flag-triangle img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.youtubeIframe {
    aspect-ratio: 16/9;
    width: 100%;
}

#hxFilter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: linear-gradient(45deg, #34e3b3, #38ef7d);
    border: 0;
    outline: 0;
    cursor: pointer;
}

.searchBarBtn {
    border-radius: 0 50px 50px 0;
}

#aiOverView-div svg {
    max-height: 100px;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

.contact-form-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  font-family: sans-serif;
}

.contact-form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #555;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

.contact-form-group textarea {
  height: 120px;
  resize: vertical;
}

.contact-submit-btn {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background-color: #0070f3;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #005bb5;
}

.blog-article-detail {
    text-align: start;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.75rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;

}

.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blogField input, textarea {
    width:100%;
}

.linkedinBtn {
    background-color: #0a66c2;
}

.companyCard {
    background-color: rgba(255, 255, 255, .02);
}

.typeCard {
    background-color: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-link {
    cursor: pointer;
}

.highlight-lp {
    font-weight: bold;
    background-image: linear-gradient(120deg, #333399 5%, #ff00cc 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 80%;
    padding: 0 2px;
    transition: background-size 0.3s ease;
}

/* Version finale corrigée du tooltip */

.classification-container {
    position: relative;
    display: inline-block;
}

.classSpan-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 20px;
    color: #667eea;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.classSpan-compact:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    transform: scale(1.05);
}

.classSpan-compact .close-icon {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: all 0.2s ease;
    filter: brightness(0) saturate(100%) invert(47%) sepia(77%) saturate(1739%) hue-rotate(225deg) brightness(93%) contrast(91%);
}

.classSpan-compact:hover .close-icon {
    opacity: 1;
    transform: rotate(180deg);
}

/* Tooltip corrigé */
.pHide {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 0.75rem 1rem !important;
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 8px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    pointer-events: none !important;
    margin: 0 !important;

    /* États initial et final */
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;

    /* Couleur du texte forcée */
    color: #ffffff !important;
}

/* Flèche du tooltip */
.pHide::before {
    content: '' !important;
    position: absolute !important;
    top: -6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-bottom: 6px solid rgba(15, 15, 35, 0.95) !important;
}

/* Force la couleur sur tous les enfants */
.pHide *,
.pHide .classification_details {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    text-shadow: none !important;
}

/* Affichage au hover - CORRIGÉ */
.classification-container:hover .pHide {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(-2px) !important;
}

/* Animation d'apparition */
@keyframes pillAppear {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.classSpan-compact {
    animation: pillAppear 0.4s ease-out;
}

#myChart {
    display: inline !important;
}