/* resum ia  */

:root { 
	--blau-cecot: #00B9E9;
    --blau-fosc-cecot: #0079AD;
    --gris-fosc-cecot: #191919;
    --gris-clar-cecot: #F5F5F5;
    --gris-mitja-cecot: #E0E0E0;
    --background-general: #F3FCFF;
	--ia-primary: #3459ff;
    --ia-secondary: #b10ceb;
    --gradient-ia: linear-gradient(156deg, var(--ia-primary) 0%, var(--ia-secondary) 100%);

}



.seccio-ia .btn-ia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
/*   transition: background 0.25s ease, transform 0.12s ease; */
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  z-index: 0;
  box-shadow: 0 0px 7px -5px rgba(0, 0, 0, 0.5);
  
  text-transform: uppercase;
  font-size: 16px;
	  background: var(--gradient-ia);
}

.seccio-ia .btn-ia:hover {
  background: #6F73D2; /* Azul claro Cecot */
  color: #ffffff;
}

.seccio-ia .btn-ia:active {
  transform: scale(0.97);
}

.seccio-ia .btn-ia .label {
  position: relative;
  z-index: 5;
  pointer-events: none;
  font-size: 1rem;
  letter-spacing: 0.2px;
  color: #ffffff;

}

.seccio-ia .btn-ia:hover {
  background: #6F73D2; /* Azul claro Cecot */
  color: #ffffff;
}

.seccio-ia .btn-ia:active {
  transform: scale(0.97);
}


.seccio-ia .hoverEffect {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}



.seccio-ia .hoverEffect div {
  border-radius: 6px;
  width: 12rem;
  height: 12rem;
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1), opacity 0.35s ease, filter 0.35s ease;
  filter: blur(16px);
  animation: effect infinite 6s linear;
  opacity: 0.5;
  
    background:var(--gradient-ia);
  transform: scale(0.65);
  filter: blur(14px);
}

.seccio-ia .btn-ia:hover .hoverEffect div {
  opacity: 0.98;
  transform: scale(1.1);
  filter: blur(8px);
}

@keyframes effect {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* From Uiverse.io by alexruix */ 
.card-ia {

 border-radius: 10px;
 background: #f5f5f5;
 position: relative;
 padding: 1.8rem;
 border: 2px solid #c3c6ce;
 transition: 0.5s ease-out;
 overflow: visible;
}

.card-ia:hover {
 border-color: var(--ia-secondary);
 box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}



.compartir-xxss {
	    display: flex;
    padding: 0 !important;
    margin: 0;
    gap: 12px;
}
.compartir-xxss li {
	list-style: none;
    padding: 0;
    margin: 0;
}

.compartir-xxss li img, .fa-brands {
	background: #cecece;
    width: 35px;
    padding: 8px;
    border-radius: 6px
}
  .compartir-xxss li img:hover, .fa-brands:hover {
    background: #adadad;
}
  
  .fa-bluesky {
    color: white;
    padding: 9px;
  }

.template-ia .icones-compartir-xxss  {
	    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
	padding: 13px 0 8px;
}

.template-ia .compartir-xxss svg {
    width: 20px;
    height: 20px;
	    fill: #6e6e6e;
}

.template-ia .compartir-xxss svg:hover  {
		fill: #2d2d2d;
}



.template-ia .ce-copy {
	cursor: pointer;
	    display: flex;
    align-items: center;
    gap: 10px;
}

.template-ia .copiar-enllac {
	    margin-left: auto;
	border-left: 1px solid #bcbcbc;
    padding-left: 20px;
}


.template-ia .inner-compartir-xxss {
	    padding: 15px 0px 8px !important;
    border-bottom: 1px solid #bcbcbc;
}

.template-ia .ce-copy svg {
	    width: 18px;
    height: 18px;
	
}
.template-ia .ce-copy {
	color: #6e6e6e;
}

.template-ia .ce-copy:hover {
	color: #2d2d2d;
	    text-decoration: underline;
}

.template-ia .ce-copy:hover svg {
		fill: #2d2d2d;
}

.template-ia .inner-compartir-xxss {
		    display: flex;
    padding: 0 !important;
    margin: 0;
    gap: 12px;
	align-items: center;
}

.template-ia .compartir-xxss {
	display: block;
}

.template-ia .text {
	    font-size: 16px;
    color: #6e6e6e;
}

.template-ia .text:hover {
	color:#2d2d2d;
}

/* Seccio ia minuts lectura */

    .audio-bar {

      color: #161616;
      display: flex;
      align-items: center;
      gap: 10px
    }
    .play-btn {
      background: var(--gradient-ia);
      border: none;
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;

      outline: none;
/*       transition: background 0.2s; */
    }
    .play-btn:hover {
      background: var(--ia-primary);
    }


.play-icon {
	fill: white;
}

    .pause-bar {
      width: 4px;
      height: 16px;
      background: #6e6e6e;
      border-radius: 1px;
    }


.seccio-ia {
	    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0px;
}

.minuts-lectura {
	    border-right: 1px solid #bcbcbc;
    padding-right: 15px;
}


/*  end -- seccio mins lectura */

/* :root {
  --color-primary: #2166ac;
  --color-secondary: #43a2ca;
  --color-bg: #f8fafc;

  --color-border: #e0e7ef;
  --color-text: #1a2333;
}
 */
/* 

.verifactu-assistant {
  max-width: 540px;
  margin: 32px auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(33, 102, 172, 0.08);
  padding: 32px 24px 16px 24px;
}

.chat-section {
  display: flex;
  flex-direction: column;
}

.chat-window {
  background: white;
  border-radius: 10px;
  min-height: 220px;
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid #e0e7ef;
  padding: 20px;
  margin-bottom: 14px;
  font-size: 1em;
  line-height: 1.65;
} */

/* Missatge de l’assistent */
/* .message.assistant {
  background: #e8f6fb;
  padding: 12px 14px;
  border-radius: 7px;
  margin-bottom: 7px;
  color: #2166ac;
} */

/* Missatge de l’usuari */
/* .message.user {
  background: #e0e7ef;
  padding: 12px 14px;
  border-radius: 7px;
  margin-bottom: 7px;
  color: #1a2333;
  text-align: right;
}

.chat-input {
  display: flex;
  gap: 7px;
} */

/* .chat-input input[type="text"] {
  flex: 1;
  padding: 10px !important;
  border-radius: 6px;
  border: 1.5px solid #e0e7ef;
  font-size: 1em;
  background: white;
  color: #1a2333;
}

.chat-input input[type="text"]:focus {
  border-color: #1740f9 ;
  outline: none;
}

.chat-input button {
  background: linear-gradient(
156deg, #5c7aff 0%, #1740f9 100%) ;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0 10px;
  font-size: 1em;
 */

/*   transition: background 0.16s; */

/* 
.chat-input button:hover,
.chat-input button:focus {
  background: #1740f9 ;
} */

/* .chat-window::-webkit-scrollbar {
  width: 6px;
  background: var(--color-bg);
} */
/* .chat-window::-webkit-scrollbar-thumb {
  background: #43a2ca;
  border-radius: 5px;
}
 */




.llista-passos {
	line-height: 1.3em;

}

.llista-passos span {
	    font-size: 23px;
    line-height: 1.3em;
/*     font-weight: 700; */
}

.numero-passos {
	    font-size: 32px;
    line-height: 1em;
    font-weight: 700;
    color: var(--ia-primary);
}

.w-100 {
    width: 100% !important;
    margin-left: 0 !important;
}

.banner-ia {
	    background-image: url(https://provacecot.org/wp-content/uploads/2023/08/banner-superior-compliance.png);
    background-position: center;
    background-size: cover;
}


.banner-ia .wrap-banner-anunci {
    background-color: #005072c9;
    backdrop-filter: blur(4px);
}

.banner-ia, .banner-ia a {
	color: white !important;
}

/* seccio xatbot verifactu */

.plantilla-assistent-ia .seccio-contingut {
	    margin: 0 !important;
    width: 100% !important;
}

.plantilla-assistent-ia  .chat-wrapper {
/*   max-width: 820px; */
  height: 890px;
	width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(28, 130, 225, 0.12);
  overflow: hidden;
} 

.icona-principal {
	    width: 50px;
    height: 50px;
	fill:var(--ia-primary);
}

.titular-h1-assistent {
	    font-size: 50px !important;
    font-weight: 600 !important;
}



.destacat-assistent-h1 {
	   background: var(--gradient-ia);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 100%;
    color: #0000;
    display: inline-block;
    font-weight: 700;
}

.destacat-assistent-h2 {
	    font-weight: 500 !important;

	font-size: 22px !important;
    line-height: 1.3em !important;
}

.destacat-ia {
		    background: var(--gradient-ia);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 100%;
    color: #0000;
    display: inline-block;
}

.entrada-assistents-ia .border-ia {
	background-color: white;
/*     border: 1px solid #5c7aff !important; */
}

.entrada-assistents-ia .border-ia:hover {
	box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.entrada-assistents-ia .border-ia p {
	    font-size: 18px;
    line-height: 1.3em;
	    color: #262626;
}

.entrada-assistents-ia .truncate-text {
	display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.btn-ia {
       background:var(--gradient-ia) !important;
    color: white !important;
     /* opacity: 0.6; */
  /* transition: all ease-in-out 1.2s; */
}

.btn-ia path {
    fill: white !important;
}

.btn-ia:hover {
       background: var(--ia-secondary) !important;

    /* opacity: 1 */
    
}


/*  imatge genereada amb ia */

/* From Uiverse.io by Cksunandh */ 
/* Basic reset and styling */

/* Tooltip container */
.tooltip-container {
  position: relative;
  display: inline-block;
/*   margin: 20px; */
}

/* Icon styling */
.icon {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* SVG Animation: Rotate and scale effect */
.icon svg {
  transition: transform 0.3s ease-in-out;
}

.icon:hover svg {
  transform: scale(1.2);
}



/* Tooltip styling */
.tooltip {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  bottom: 125%; /* Position above the icon */
  left: 50%;
  margin-left: -100px; /* Center the tooltip */
  opacity: 0;
  transition:
    opacity 0.5s,
    transform 0.5s;
  transform: translateY(10px);
}

/* Tooltip Arrow */
.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Show tooltip on hover */
.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
 
}

.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  animation: bounce 0.6s ease;
}


@media (max-width:500px) {
	.seccio-ia {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0px;
    flex-direction: column;
}
	.minuts-lectura {
		border-right: none;
	}
}
