/*.btnb_alert_wrapper {*/
/*  position: fixed;*/
/*  top: 150px;*/
/*  right: 20px;*/
/*  z-index: 19;*/
/*}*/

/*.btnb-alert {*/
/*  padding: 20px;*/
/*  border-radius: 8px;*/
/*  box-shadow: var(--alert-shadow);*/
/*  max-width: 390px;*/
/*  width: 100%;*/
/*  display: flex;*/
/*  flex-wrap: nowrap;*/
/*  gap: 10px;*/
/*  margin-bottom: 5px;*/
/*}*/

/*.btnb-alert--danger {*/
/*  background: var(--danger-alert-gradient);*/
/*  color: var(--alert-color);*/
/*}*/
/*.btnb-alert--danger .btnb-alert--image-wrapper {*/
/*  background-color: var(--danger-icon-background);*/
/*}*/

/*.btnb-alert--info {*/
/*  background: var(--info-alert-gradient);*/
/*  color: var(--alert-color);*/
/*}*/
/*.btnb-alert--info .btnb-alert--image-wrapper {*/
/*  background-color: var(--info-icon-background);*/
/*}*/

/*.btnb-alert--image-wrapper {*/
/*  padding: 5px;*/
/*  object-fit: cover;*/
/*  border-radius: 50px;*/
/*  box-shadow: 0 0 0 4px rgba(255, 255, 255, .2);*/
/*  flex-shrink: 0;*/
/*  width: 24px !important;*/
/*  height: 24px;    display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*}*/

/*.btnb-alert--title {*/
/*  font-weight: bold;*/
/*  margin: 6px 0 10px;*/
/*}*/

/*.btnb-alert--show-message-wrapper {*/
/*  display: flex;*/
/*  flex-wrap: wrap;*/
/*  justify-content: flex-end;*/
/*  margin-bottom: 20px;*/
/*  z-index: 19;*/
/*  position: relative;*/
/*}*/
/*.btnb-alert--show-message-wrapper.opened .btnb-alert--show-message {*/
/*  display: none;*/
/*}*/
/*.btnb-alert--show-message-wrapper:not(.opened) .btnb-alert--hide-message {*/
/*  display: none;*/
/*}*/

/*.btnb-alert--show-message:before {*/
/*  content: '';*/
/*  background-image: url('../assets/shown_eye.svg');*/
/*  width: 20px;*/
/*  height: 20px;*/
/*  display: flex;*/
/*  background-repeat: no-repeat;*/
/*  background-position: center;*/
/*}*/

/*.btnb-alert--hide-message:before {*/
/*  content: '';*/
/*  background-image: url('../assets/hidden_eye.svg');*/
/*  width: 20px;*/
/*  height: 20px;*/
/*  display: flex;*/
/*  background-repeat: no-repeat;*/
/*  background-position: center;*/
/*}*/

/*.btnb-alert--show-message,*/
/*.btnb-alert--hide-message {*/
/*  display: flex;*/
/*  gap: 5px;*/
/*  align-items: center;*/
/*  border: 1px solid rgba(255,255,255,.25);*/
/*  border-radius: 5px;*/
/*  padding: 5px 10px;*/
/*  cursor: pointer;*/
/*}*/

/*.btnb-alert--show-message {*/
/*  color: var(--show-alert-color);*/
/*  background-color: var(--show-alert-background);*/
/*}*/
/*.btnb-alert--hide-message {*/
/*  color: var(--hide-alert-color);*/
/*  background-color: var(--hide-alert-background);*/
/*}*/

/*.btnb-alert--group:not(.opened) {*/
/*  opacity: 0;*/
/*  pointer-events: none;*/
/*}*/
/*.btnb-alert--group {*/
/*  z-index: 19;*/
/*  position: relative;*/
/*  opacity: 1;*/
/*  transition: all .2s ease;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  align-items: flex-end;*/
/*}*/

/*@media all and (min-width: 768px) {*/
/*  .btnb-alert--overlay {*/
/*    display: none;*/
/*  }*/
/*}*/

/*@media all and (max-width: 768px) {*/
/*  .btnb_alert_wrapper:has(.opened) {*/
/*    top: 20px;*/
/*  }*/
/*  .btnb-alert {*/
/*    width: calc(100% - 20px);*/
/*  }*/
/*  .btnb-alert--show-message-wrapper {*/
/*    justify-content: center;*/
/*  }*/
/*}*/

/*.btnb-alert--overlay {*/
/*  position: fixed;*/
/*  z-index: 18;*/
/*  left: 0;*/
/*  top: 0;*/
/*  width: 100vw;*/
/*  height: 100vh;*/
/*  backdrop-filter: blur(4px);*/
/*  opacity: 0;*/
/*  transition: all .2s ease;*/
/*}*/

/*.btnb-alert--overlay.opened {*/
/*  opacity: 1;*/
/*}*/

/*.btnb-alert--overlay:not(.opened) {*/
/*  z-index: -10;*/
/*  pointer-events: none;*/
/*}*/

/* El form no tiene padding: un margen negativo metía la franja bajo el header. */
.btnb_alert_wrapper {
  margin: 0;
}

.btnb-alert--info {
  border-bottom: 2px solid #45B9DD;
  background-color: #DCF7FF;
  color: #45B9DD;
}
.btnb-alert--info .btnb-alert--image-wrapper {
  background-color: #45B9DD;
}


.btnb-alert--danger {
  border-bottom: 2px solid #FFBC42;
  background-color: #FFF2DC;
  color: #BCA465;
}
.btnb-alert--danger .btnb-alert--image-wrapper {
  background-color: #FFBC42;
}

.btnb-alert {
  padding: 15px 20px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.btnb-alert--content {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.btnb-alert--image-wrapper {
  padding: 8px;
  border-radius: 20000px;
  width: 30px;
  height: 30px;
}
.btnb-alert--svg svg {
  width: 30px;
  height: 30px;
}

.btnb--alert-text {
  display: flex;
  gap: 5px;
  user-select: none;
}

.btnb-alert--title {
  font-weight: bold;
}

a.btnb-alert--link {
  width: 30px;
  height: 30px;
  display: flex;
  flex-shrink: 0;
  align-self: flex-end;
  background-color: rgba(0,0,0,.3);
  border-radius: 5px;
  background-image: url('/themes/custom/assistant-front/assistantgv/assets/images/arrow-right-line.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(100% - 15px);
}

/* Botón de cierre (X): solo en desktop. En mobile la alerta se pliega al tocarla. */
.btnb-alert--close {
  display: none;
}

@media all and (min-width: 769px) {
  .btnb-alert.opened .btnb-alert--left {
    border-color: transparent !important;
  }
  .btnb-alert {
    padding-right: 60px;
  }
  .btnb-alert:not(.opened) {
    display: none;
  }
  .btnb-alert--close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    z-index: 1;
  }
  .btnb-alert--close:hover,
  .btnb-alert--close:focus-visible {
    background-color: rgba(0,0,0,.08);
  }
}
@media all and (max-width: 768px) {
  .btnb-alert--danger {
    border: 2px solid #FFBC42;
    border-right: 0;
  }
  .btnb-alert--info {
    border: 2px solid #45B9DD;
    border-right: 0;
  }
  .btnb-alert {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    max-width: calc(100vw - 10px);
    padding-left: 5px;
    cursor: pointer;
    right: calc(-100vw + 80px);
  }
  .btnb-alert.opened {
    right: 0;
  }
  .btnb-alert.opened .btnb-alert--content {
    gap: 5px;
  }
  .btnb-alert--content {
    gap: 25px;
  }
  .btnb_alert_wrapper {
    margin: -20px -20px 0 -20px;
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 20;
  }
  .btnb-alert--group {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .btnb--alert-text {
    display: block;
  }
  .btnb-alert--title {
    float: left;
    margin-right: 5px;
  }
  .btnb-alert--arrow {
    display: block;
  }
  .btnb-alert--arrow-left {
    display: flex !important;
  }
}

.btnb-alert--arrow {
  font-size: 26px;
  border-right: 2px solid;
  display: none;
}

.btnb-alert--arrow-left {
  align-items: center;
  display: none;
}
.btnb-alert--left {
  display: flex;
  align-items: center;
  border-right: 2px solid transparent;
}
.btnb-alert--arrow-left svg {
  width: 20px;
  height: 20px;
  transform: rotate(180deg);
}

.btnb-alert--info .btnb-alert--arrow-left svg path {
  stroke: #45B9DD;
}
.btnb-alert--danger .btnb-alert--arrow-left svg path {
  stroke: #BCA465;
}

.btnb-alert.opened .btnb-alert--arrow-left svg {
  transform: rotate(0deg);
}
.btnb-alert.opened .btnb-alert--left {
  border-color: inherit;
}