/* If css changes, update version in css-file call to avoid clear cache */


:root {
    --input-padding-x: 1.5rem;
    --input-padding-y: .75rem;
    --primary: #005C5C;
  }
  
  .whatsapp-template-generator {
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 15px;
  }
  
  .whatsapp-hsm {
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background-image: url("./img/bg-whatsapp.png") !important;
    height: 100%;
  }
  
  .whatsapp-hsm-header {
    padding: 10px;
    background: var(--primary);
  }
  
  .whatsapp-hsm-header span {
    color: white;
    font-weight: bold;
    margin-left: 10px;
  }
  
  .whatsapp-hsm-container {
    padding: 15px;
    color: #3d4465;
  }
  
  .whatsapp-hsm-bubble,
  .whatsapp-hsm-carousel-card {
    background: white;
    padding: 5px 10px;
    border-radius: 0 7.5px 7.5px 7.5px;
  }
  
  .whatsapp-hsm-buttons-container {
    display: flex;
    flex-flow: wrap;
  }
  
  .whatsapp-hsm-button {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .whatsapp-hsm-button:last-child {
    border-radius: 0 0 7.5px 7.5px;
    border-bottom: none;
  }
  
  .whatsapp-hsm-button {
    cursor: pointer;
    text-align: center;
    height: 36px;
    background: white;
  }
  
  .whatsapp-hsm-button span {
    color: #1ca7f1;
    line-height: 36px;
  }
  
  .whatsapp-hsm-button img {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    margin-top: -3px;
  }
  
  .whatspp-hsm-bubble-arrow {
    position: relative;
    height: 5px;
    left: -18px;
    top: -10px;
  }
  
  .whatsapp-hsm-media {
    display: flex;
    background-color: #eefcff;
    padding: 20px 0px;
    border-radius: 7.5px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    height: 80px;
    overflow: hidden;
  }
  .whatsapp-hsm-media a{
    flex-direction: column;
  }
  .whatsapp-hsm-title {
    font-weight: bold;
    display: block;
  }
  
  .whatsapp-hsm-img {
    padding: 5px 0;
  }
  
  .whatsapp-hsm-img img {
    width: 100%;
  }
  
  .whatsapp-hsm-body p {
    margin: 0;
    padding: 0;
  }
  
  .whatsapp-hsm-bubble hr,
  .whatsapp-hsm-carousel-card hr {
      margin-top: 10px;
      margin-bottom: -5px;
      margin-left: -10px;
      margin-right: -10px;
  }

  .whatsapp-hsm-bubble.has-carousel {
    width: 75%;
  }

  .whatsapp-hsm-carousel-wrapper {
      position: relative;
      overflow: hidden;
  }

  .whatsapp-hsm-carousel {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      cursor: grab;
  }

  .whatsapp-hsm-carousel::-webkit-scrollbar {
      display: none;
  }

  .whatsapp-hsm-carousel.active {
      cursor: grabbing;
  }

  .whatsapp-hsm-carousel-card {
      flex: 0 0 75%;
      scroll-snap-align: start;
      margin-right: 10px;
  }

  .carousel-btn {
      width: 20px;
      height: 20px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      cursor: pointer;
      z-index: 1;
      border-radius: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .prev-btn {
      left: 0;
  }

  .next-btn {
      right: 0;
  }
/*  */
.whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-buttons-container .whatsapp-hsm-button-interactive {
    width: 100%;
    border-radius: 5px !important;
    margin-top: 3px;
    line-height: 36px;
}
.whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-button, .whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-button-interactive {
    cursor: pointer;
    text-align: center;
    height: 36px;
    background: white;
    border-radius: 0 0 5px 5px;
}
.whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-button span, .whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-button-interactive span {
    color: #1ca7f1;
}
.whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-button img, .whatsapp-hsm .whatsapp-hsm-container .whatsapp-hsm-button-interactive img {
    width: 12px;
    height: 12px;
    margin-right: 5px;
    margin-top: -3px;
}
.whatsapp-hsm-container-button-action {
    display: flex;
    justify-content: center;
    align-content: center;
    font-weight: bold;
    cursor: pointer;
}
.whatsapp-hsm-container-button-action span{
    color: #3333e9;
    margin-top: 0.7rem;
}

.whatsapp-hsm-container-button-action img{
    height: 19px;
    margin-right: 2px;
    margin-bottom: 2px;
}

/*  */

.tooltipSection{
    position: absolute !important;
  }
  .whatsapp-list-rows-container{
    border: solid 1px #c1d1db;
    margin-top: 8px;
    border-radius: 3px;
  }
  .whatsapp-container-sections{
    padding: 9px;
  }
  .whatsapp-container-sections .title-section{
    font-size: 15px;
    margin-top: 3px;
  }
  .whatsapp-list-rows-container .circle-button{
      border-radius: 50%;
      width:14px;
      height:14px;
      border: 2px solid gray;
  }
  .whatsapp-list-rows-title {    
    background-color: #008069;
    color: white;
    align-items: center;
    display: flex;    
    height: 33px;
  }
  .whatsapp-list-rows-title h5{
    margin: 0px 0px 0px 10px;
  }
  .button-description-container{
    display: flex;
    flex-direction: column;
  }
  .button-description-container .title-btn{
    font-size: 17px;
    color: #111b21;      
  }
  .button-description-container .description {
    font-size: 15px;
    color: #667781 !important;
  }
  .whatsapp-list-rows-container .button-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
  }
  .whatsapp-list-rows-container .title-section{
    color: #008069;
  }