@import '~@capillarytech/cap-ui-library/styles/_variables.scss';

.shell-v2 {
  &.align-center {
    .preview-image-container {
      position: relative;
      display: inline-block;
      width: 100%;
      height: 100%;
    }
  }
}

.shell-v2 {
  position: relative;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  left: 50%;
  padding: 0 10px;
  width: 450px;

  .preview-image {
      width: 70%;
      &.sms {
        width: 45%;
      }
      &.mobilepush

            .inapp-message-container-POPUP-ANDROID {
              background-color: $CAP_WHITE;
              position: absolute;
              top: 30%;
              display: flex;
              width: 14.286rem;
              left: 28%;
      
              .inapp-title-POPUP-ANDROID {
                margin: 10% $CAP_SPACE_08 $CAP_SPACE_08 $CAP_SPACE_08;
                width: 170px;
                height: 18px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
              }
      
              .inapp-image-POPUP-ANDROID {
                width: 178px;
                margin-right: $CAP_SPACE_08;
                margin-left: $CAP_SPACE_08;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-POPUP-ANDROID {
                margin-top: $CAP_SPACE_08;
                margin-right: $CAP_SPACE_08;
                margin-left: $CAP_SPACE_08;
                width: 178px;
                max-height: $CAP_SPACE_44;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }
      
              .inapp-button-POPUP-ANDROID {
                margin: $CAP_SPACE_08;
                width: 178px;
                height: $CAP_SPACE_24;
              }
            }
      
            .inapp-message-container-HEADER-ANDROID {
              position: absolute;
              display: flex;
              width: 17.571rem;
              left: 18%;
              top: 4.071rem;
              background-color: $CAP_WHITE;
      
              .inapp-title-HEADER-ANDROID {
                left: 34%;
                top: 17%;
                position: relative;
                font-size: 10px;
                width: 90px;
                height: 12px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                font-weight: bold;
                text-align: left;
              }

              .without-image-title-HEADER-android {
                left: 26%;
                bottom: -21px;
                text-align: center;
                top: 22px;
              }
      
              .inapp-image-HEADER-ANDROID {
                width: 50px;
                height: 50px;
                position: relative;
                top: 12%;
                right: 33%;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-HEADER-ANDROID {
                position: relative;
                width: 120px;
                height: 46px;
                left: 35%;
                bottom: 30px;
                max-height: $CAP_SPACE_40;
                font-size: 8px;
                text-overflow: ellipsis;
                text-align: left;
                overflow: hidden;
              }

              .without-image-content-HEADER-android {
                width: 92%;
                left: 6%;
                bottom: -21px;
              }
      
              .inapp-button-HEADER-ANDROID {
                position: relative;
                width: 92%;
                bottom: 32px;
                height: $CAP_SPACE_20;
                margin-top: $CAP_SPACE_04;
              }

              .without-image-button-HEADER-android {
                width: 92%;
                bottom: -19px;
              }
            }
      
      
            .inapp-message-container-FOOTER-ANDROID {
              background-color: $CAP_WHITE;
              position: absolute;
              display: flex;
              justify-content: center;
              bottom: 2.5%;
              width: 16.571rem;
              left: 21%;
              background-color: $CAP_WHITE;
      
              .inapp-title-FOOTER-ANDROID {
                width: 6.429rem;
                height: 12px;
                text-align: left;
                left: 34%;
                justify-content: center;
                position: relative;
                right: 33%;
                bottom: -1.429rem;
                font-size: 10px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                font-weight: bold;
              }

              .without-image-title-FOOTER-android {
                left: 26%;
                top: -30px;
                text-align: center;
              }
      
              .inapp-image-FOOTER-ANDROID {
                width: 50px;
                height: 50px;
                position: relative;
                top: 12%;
                right: 33%;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-FOOTER-ANDROID {
                position: relative;
                left: 35%;
                width: 120px;
                height: 46px;
                bottom: 30px;
                max-height: $CAP_SPACE_44;
                overflow: hidden;
                font-size: 8px;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }
      
              .without-image-content-FOOTER-android {
                width: 92%;
                left: 6%;
                top: -30px;
              }

              .inapp-button-FOOTER-ANDROID {
                width: 92%;
                bottom: 23%;
                height: $CAP_SPACE_20;
                margin-top: $CAP_SPACE_04;
              }

              .without-image-button-FOOTER-android {
                width: 92%;
                top: -30px;
              }
            }
      
            .inapp-message-container-FULLSCREEN-ANDROID {
              background-color: $CAP_WHITE;
              position: absolute;
              top: 10%;
              display: flex;
              left: 20%;
              width: 16.643rem;
              .inapp-title-FULLSCREEN-ANDROID {
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                width: 180px;
              }
              .inapp-image-FULLSCREEN-ANDROID {
                width: 186px;
                height: 161px;
                position: relative;
                right: -2px;
                margin: $CAP_SPACE_08 0;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-FULLSCREEN-ANDROID {
                width: 186px;
                max-height: 144px;
                text-align: left;
                margin-top: $CAP_SPACE_04;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }
      
              .inapp-button-FULLSCREEN-ANDROID {
                width: 100%;
                height: $CAP_SPACE_24;
                bottom: -1%;
              }
            }
      
            .inapp-message-container-POPUP-iOS {
              background-color: $CAP_WHITE;
              position: absolute;
              top: 30%;
              display: flex;
              width: 14.286rem;
              left: 28%;
      
              .inapp-title-POPUP-iOS {
                margin: 12% $CAP_SPACE_08 $CAP_SPACE_04 $CAP_SPACE_08;
                width: 170px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
              }
      
              .inapp-image-POPUP-iOS {
                width: 178px;
                margin-right: $CAP_SPACE_08;
                margin-left: $CAP_SPACE_08;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-POPUP-iOS {
                margin-top: $CAP_SPACE_12;
                margin-right: $CAP_SPACE_08;
                margin-left: $CAP_SPACE_08;
                width: 178px;
                max-height: $CAP_SPACE_44;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }
      
              .inapp-button-POPUP-iOS {
                margin: $CAP_SPACE_08;
                width: 178px;
                height: $CAP_SPACE_24;
              }
            }

            .inapp-message-container-HEADER-iOS {
              background-color: $CAP_WHITE;
              position: absolute;
              display: flex;
              width: 16.571rem;
              left: 20%;
              top: 10%;
      
              .inapp-title-HEADER-iOS {
                left: 34%;
                top: 15%;
                position: relative;
                font-size: 10px;
                width: 6.429rem;
                height: 12px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                font-weight: bold;
                text-align: left;
              }

              .without-image-title-HEADER-ios {
                left: 26%;
                top: 1.286rem;
                text-align: center;
              }
      
              .inapp-image-HEADER-iOS {
                width: 50px;
                height: 50px;
                position: relative;
                top: 12%;
                right: 33%;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-HEADER-iOS {
                position: relative;
                width: 120px;
                height: 46px;
                left: 35%;
                top: -31px;
                max-height: $CAP_SPACE_40;
                overflow: hidden;
                font-size: 8px;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }

              .without-image-content-HEADER-ios {
                width: 92%;
                left: 6%;
                top: 1.5rem;
              }
      
              .inapp-button-HEADER-iOS {
                width: 90%;
                bottom: 23%;
                height: $CAP_SPACE_20;;
                margin-top: $CAP_SPACE_04;
              }

              .without-image-button-HEADER-ios {
                width: 92%;
                bottom: -19px;
              }
            }

            .inapp-message-container-FOOTER-iOS {
              background-color: $CAP_WHITE;
              position: absolute;
              display: flex;
              justify-content: center;
              width: 16.571rem;
              left: 20%;
              top: 42%;
              bottom: 3.5%;
      
              .inapp-title-FOOTER-iOS {
                width: 90px;
                height: 12px;
                text-align: left;
                left: 34%;
                justify-content: center;
                position: relative;
                right: 33%;
                bottom: -22px;
                font-size: 10px;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                font-weight: bold;
              }

              .without-image-title-FOOTER-ios {
                left: 26%;
                top: 15px;
                text-align: center;
              }
      
              .inapp-image-FOOTER-iOS {
                width: 50px;
                height: 50px;
                position: relative;
                top: 12%;
                right: 33%;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-FOOTER-iOS {
                position: relative;
                left: 35%;
                width: 60%;
                height: 46px;
                bottom: 30px;
                max-height: $CAP_SPACE_44;
                overflow: hidden;
                font-size: 8px;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }

              .without-image-content-FOOTER-ios {
                width: 92%;
                left: 6%;
                top: 15px;
              }
      
              .inapp-button-FOOTER-iOS {
                width: 90%;
                bottom: 23%;
                height: $CAP_SPACE_20;
                margin-top: $CAP_SPACE_04;
              }

              .without-image-button-FOOTER-ios {
                width: 92%;
                top: 15px;
              }
      
            }

            .inapp-message-container-FULLSCREEN-iOS {
              background-color: $CAP_WHITE;
              position: absolute;
              top: 10%;
              display: flex;
              left: 20%;
              width: 16.643rem;
              .inapp-title-FULLSCREEN-iOS {
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
                width: 180px;
              }
              .inapp-image-FULLSCREEN-iOS {
                width: 186px;
                height: 161px;
                position: relative;
                right: -2px;
                margin: $CAP_SPACE_08 0;
                border-radius: $CAP_SPACE_04;
              }
      
              .inapp-content-FULLSCREEN-iOS {
                width: 186px;
                max-height: 144px;
                text-align: left;
                margin-top: $CAP_SPACE_04;
                text-overflow: ellipsis;
                overflow: hidden;
                text-align: left;
              }
      
              .inapp-button-FULLSCREEN-iOS {
                width: 100%;
                height: $CAP_SPACE_24;
                bottom: -1%;
              }
            }
            
            .inapp-message-container-MODAL-ANDROID, .inapp-message-container-MODAL-iOS {
              background-color: $CAP_WHITE;
              position: absolute;
              top: 30%;
              display: flex;
              width: 14.286rem;
              left: 28%;
            }
  }


  .msg-container {
    position: absolute;
    top: 20%;
    left: 23%;
    width: 42%;
    height: 336px;
    display: flex;

    .sms-icon{
      top: 0;
      left: 2px;
      width: 25px;
      position: absolute;
    }
    &.sms{
      height: 290px;
      width: 40%;
      .sms-icon{
        width: 20px;
        left: 14px;
      }
    }
    &.wechat{
      width: 52%;
    }
    &.line-preview {
      margin-left: $CAP_SPACE_16;
      width: 40%;

      .message-pop {
        width: 80%;
        left: 36px;
        margin-top: -6px;
      }
      }
      &.viber-preview{
        width: 43%;
        .message-pop {
          width: 80%;
          left: 36px;
          margin-top: -6px;
        }
    }

    .message-pop{
      .unicode-disabled{
        font-size: 16px;
      }
      &.sms {
        max-height: 100%;
        position: absolute;
        // width: initial;
        overflow: auto;
        top: 0;
        left: 17%;
        white-space: pre-wrap;
        word-break: break-word;
        line-height: 14px;
        padding: 0 8px 8px 8px;
        font-size: 10px;
        width: 100%;
        font-family: 'open-sans';
        .rcs-image{
          width: 100%;
          height: 123px;
        }
        .message-pop-item{
          padding: 4px;
          background: #3F51B5;
          color: #FFFFFF;
          margin-top: 8px;
          border-radius: 4px;
          min-height: 26px;
          &:first-child{
            margin-top: 0;
          }
          &.rcs-content {
            background: $CAP_WHITE;
            color: $CAP_G01;
            margin-top: 0;
            padding: 4px 8px;
          }
          &.rcs-button-text{
            color: $FONT_COLOR_05;
            .rcs-icon{
              display: inline-flex;
            }
          }
        }
      }
      &:not(.sms){
        padding: 4px;
        background: #3F51B5;
        position: absolute;
        // width: initial;
        overflow: auto;
        top: 0;
        left: 17%;
        white-space: pre-wrap;
        word-break: break-word;
        border-radius: 4px;
        max-height: 100%;
        color: #FFFFFF;
        width: 70%;
        min-height: 26px;
        line-height: 14px;
        padding: 8px;
        font-size: 10px;
        font-family: 'open-sans';
      }
      &.message-pop-carousel {
        position: relative; 
        margin-right: $CAP_SPACE_04;
      }
    }
  }
  .android-push-message-Container, .iphone-push-message-Container{
    position: absolute;
    top: 30%;
    left: 18%;
    width: 63%;
    height: 336px;
    overflow: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    .message-pop{
      position: absolute;
      // width: initial;
      overflow: auto;
      word-wrap: break-word;
      white-space: pre-wrap;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      max-height: 100%;
      width: 100%;
      min-height: 26px;
      line-height: 15px;
      font-size: 10px;
      .body-image{
        img{
          max-width: 18.75rem;
          max-height: 13.75rem;
          margin-left: 1.571rem;
          display: block;
        }
      }
    }
    .mobile-push-carousel-card {
        position: relative;
        min-width: 16.125rem; // 258px
        margin-right: 0.75rem; // 12px
        background: $CAP_WHITE;
        color: $CAP_G01; // #091e42
        border-radius: 0.5rem; // 8px
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 0 0 0.625rem 0 rgba(0,0,0,0.08); // 10px
    
        .carousel-image {
          width: 100%;
          height: 11.25rem; // 180px
          object-fit: contain;
          border-radius: 0.5rem 0.5rem 0 0; // 8px
        }

        .carousel-video-preview {
          width: 100%;
          height: 11.25rem; // 180px
          object-fit: contain;
          border-radius: 0.5rem 0.5rem 0 0; // 8px
          opacity: 0.7;
        }
    
        .carousel-content {
          padding: 0.625rem 0.75rem; // 10px 12px
          width: 100%;
    
          .carousel-title {
            font-weight: $FONT_WEIGHT_MEDIUM;
            font-size: $FONT_SIZE_M; // 14px
            margin-bottom: 0.25rem; // 4px
          }
    
          .carousel-message {
            font-size: $FONT_SIZE_S; // 13px is not in variables, using 12px
            color: $CAP_G04; // #5e6c84 is closest to #555
          }
    
          .carousel-link {
            margin-top: 0.5rem; // 8px
    
            a {
              color: $FONT_COLOR_05; // #2466ea
              font-size: $FONT_SIZE_S; // 12px
              text-decoration: underline;
            }
          }
        }
      }
  }
  .android-push-message-Container, .iphone-push-message-Container{
    .title, .body-text, .body-image, .app-header{
      background-color: #FFFFFF;
      color: #333333;
    }
    .app-header{
      color: #5D5D5D;
      font-weight: 600;
      padding: $CAP_SPACE_04 $CAP_SPACE_08 $CAP_SPACE_04 $CAP_SPACE_08;
      display: flex;
      justify-content: space-between;
      .app-icon{
        width: $CAP_SPACE_12;
        height: $CAP_SPACE_12;
        border-radius: 50%;
        background-color: #737070;
      }

      .app-header-left{
        display: flex;
        align-items: center;
      }
      .app-header-right{
        display: flex;
        align-items: center;
        margin-left: 7.8125rem;
        span{
          font-weight: 200;
        }
      }
    }
    .title{
      padding: 0 $CAP_SPACE_08 0 $CAP_SPACE_08;
    }
    .body-image{
      padding: 0 $CAP_SPACE_08 $CAP_SPACE_08 $CAP_SPACE_08;
      img{
        border-radius: 3%;
      }
    }
    .body-text{
      padding: $CAP_SPACE_04 $CAP_SPACE_08 0.625rem $CAP_SPACE_08;
      padding-left: $CAP_SPACE_32;
      font-size: $FONT_SIZE_S;
    }
    .title{
      font-size: $FONT_SIZE_S;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-weight: 500;
      max-width: 11.25rem;
    }
    .actions{
      background-color: #ffffff;
      height: auto;
      padding: 0.571rem;
      display: flex;
      justify-content: space-between;
      flex-direction: row;
      gap: $CAP_SPACE_08;
      .action{
        font-size: $FONT_SIZE_S;
        font-weight: 600;
        color: #1970DA;
        height: 1.25rem;
        text-transform: uppercase;
        cursor: pointer;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }

  .whatsapp-brand-name {
    position: absolute;
    top: 8%;
    left: 37%;
    font-size: small;
    max-width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .whatsapp-divider{
    margin: 8px 0;
  }
  .whatsapp-cta-preview{
    font-family: Roboto, 'Open Sans', sans-serif;
    font-size: 10px;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-bottom: 4px;
    align-items: center;
    svg {
      margin-right: $CAP_SPACE_04;
      margin-top: 0.2rem;
    }
  }
  .whatsapp-message-container{
    max-height: 292px;
  }
  .whatsapp-content{
    font-family: Roboto, 'Open Sans', sans-serif;
    margin: 2px 6px 1px 7px;
  }
  .whatsapp-image{
    width: 100%;
    max-height: 123px;
    margin-bottom: 4px;
    .pdf-img-box {
      width: 153px;
      height: 60px;
      img {
        width: 100%;
      }
    }
    .pdf-label{
      width: 153px;
    }
  }

  .whatsapp-image-url-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: $CAP_G09; 
    border-radius: $CAP_SPACE_04;
    width: 100%;
    min-height: 5rem;
    max-height: 8.786rem;
    margin-bottom: $CAP_SPACE_04;
    .whatsapp-image-url-placeholder-text {
      font-size: 0.786rem;
      color: $CAP_G04;
      margin-top: $CAP_SPACE_04;
      text-align: center;
      word-break: break-all;
      padding: 0 $CAP_SPACE_04;
    }
  }

  .msg-container-carousel {
    display: flex;
    flex-direction: column;
    .scroll-container {
      overflow-x: auto;
      display: flex;
      padding-top: $CAP_SPACE_06;
      padding-right: $CAP_SPACE_06;
      white-space: nowrap;
      scrollbar-width: none; // Hide scrollbar in Firefox
      &::-webkit-scrollbar {
        display: none; // Hide scrollbar in Chrome/Safari/Opera
      }
    }
  }

  .mobile-push-scroll-container {
    position: relative;
  }
  // Mobile Push Carousel Styles
  .mobile-push-carousel-container {
    background-color: $CAP_WHITE;
    padding-left: 1.375rem;
  }
}

.align-center {
  text-align: center;
}

.align-left {
  text-align: left;
}

.preview-container{
  .preview-info {
    // font-family: 'proxima-nova';
    font-weight: 600;
    font-size: 16px;
    text-align: center;
  }
}

.preview-container.embedded-preview{
  .preview-image {
    width: 38% !important;
  }
  .message-pop{
    left: 21% !important;
    width: 67% !important;
  }
  .sms-icon{
    left: 12% !important;
  }
}

#slidebox-container {
  left: 60vw;
  width: 40vw;

  .shell {
    position: relative;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    left: 50%;
    padding: 0 10px;
    width: initial;

    .preview-image {
      &.sms{
        width: 45%;
      }
    }


    .msg-container {
      position: absolute;
      top: 14%;
      left: 29%;
      width: 42%;
      height: 17.1875rem;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;

      .sms-icon{
        top: 6%;
        left: 2%;
        width: 12%;
        position: absolute;
      }

      &.sms{
        height: 18.125rem;
        width: 40%;
        top: 16%;
        .sms-icon{
          left: 7%;
        }
      }
      .message-pop{
        &.sms {
          max-height: 100%;
          position: absolute;
          // width: initial;
          overflow: auto;
          top: 6%;
          left: 17%;
          width: 80%;
          white-space: pre-wrap;
          word-break: break-word;
          line-height: 14px;
          padding: 0 8px 8px 8px;
          font-size: 10px;
          font-family: 'open-sans';
          .message-pop-item{
            padding: 8px;
            background: #3F51B5;
            color: #FFFFFF;
            margin-top: 8px;
            border-radius: 4px;
            min-height: 26px;
            &:first-child{
              margin-top: 0;
            }
          }
        }
        &:not(.sms){
          padding: 8px 8px;
          background: #3F51B5;
          position: absolute;
          width: 65%;
          top: 15%;
          left: 19%;
          word-break: break-all;
          border-radius: 6px;
          max-height: 100%;
          overflow: auto;
          color: #FFFFFF;
          line-height: 14px;
          font-family: "open-sans";
          font-size: 10px;
        }
      }
    }
  }
}
.app-icon{
  width: 10px;
  height: 10px;
  opacity: 1;
  display: inline-block;
  background-color: #333333;
  margin-right: 4px;
}

.character-count-col{
  margin-top: 8px;
  text-align: center;
  width: 100%;
  .optout-tag-heading{
    font-size: 12px;
  }
}

.test-and-preview-container{
  display: flex;
  margin-top: -12px;
  margin-bottom: 12px;
}

.ant-btn.cap-button-v2.flat-btn.preview-video-btn {
  padding: 0;
  background-color: transparent;
  height: auto;

  i {
    vertical-align: middle;
  }

  span {
    font-size: $FONT_SIZE_VS;
  }
}

.video-preview {
  position: relative; 
}
.icon-position {
  width: 50%;
  height: 50%;
  position: absolute;
  left: 0;
  top: 0;
}
.video-icon {
  position: absolute;
  right: -17px;
  bottom: -17px;
}

.zalo-preview-container {
  text-align: center;

  .preview-head {
    font-weight: 500;
    font-size: $FONT_SIZE_M;
    color: $FONT_COLOR_01;
  }

  .preview-text {
    font-weight: 400;
    font-size: $FONT_SIZE_S;
    padding-top: $CAP_SPACE_08;
  }

  .preview-link {
    font-weight: 500;
    font-size: $FONT_SIZE_M;
    color: $FONT_COLOR_05;
    margin-top: $CAP_SPACE_19;
    cursor: pointer;

    svg {
      height: $CAP_SPACE_16;
      width: $CAP_SPACE_16;
    }
  }
}

.zalo-preview-container-creative {
  position: fixed;
  padding-left: 4.5rem;
  padding-right: 6.875rem;
}

.zalo-preview-container-campaign {
  padding-left: 0px;
  padding-right: 4.563rem;
}

.url-preview-image {
  width: 100%;
  height: 100%;
  background-color: hsl(0, 0%, 90%);
}

.url-preview-description {
  font-size: 0.6rem;
  font-weight: $FONT_WEIGHT_REGULAR;
  color: $FONT_COLOR_01;
  margin: 0.13rem 0;
}

.url-preview {
  font-size: 0.5rem;
  font-weight: $FONT_WEIGHT_REGULAR;
  color: $FONT_COLOR_02;
  margin-bottom: $CAP_SPACE_08;
}
.preview-inapp-screen {
  width: 100%;
}
.media-img-inapp {
  width: 100%;
  height: 100%;
}
.empty-placeholder {
  padding-bottom: $CAP_SPACE_16;
}
.viber-button-base {
  border-radius: $CAP_SPACE_16;
  background-color: $CAP_PURPLE01;
  margin-top: $CAP_SPACE_12;
  text-align: center;
  width: 8.75rem;
  height: $CAP_SPACE_20;
  margin-left: $CAP_SPACE_08;
}
.viber-button-card-text {
  font-size: $CAP_SPACE_12;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: $CAP_WHITE;
}
.viber-image-preview {
  width: 9.75rem;
}
.line-image-preview{
  max-width: 8.57rem;;
}
.horizontal{
  background: $CAP_WHITE;
  display: flex;
  flex-direction: row;
.rcs-preview-text{
  height: 100%;
  background: $CAP_WHITE;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
}
.rcs-cta-preview{
  font-family: Roboto, 'Open Sans', sans-serif;
    font-size: 0.625rem;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-bottom: $CAP_SPACE_04;
    align-items: center;
    svg {
      margin-right: $CAP_SPACE_04;
      margin-top: 0.2rem;
    }
}

.MOBILEPUSH {
  .ant-card-body {
    background-color: $CAP_WHITE;
    border-top: 1px solid $CAP_COLOR_16;
    .ant-card-meta {
      background-color: $CAP_G09;
      .ant-card-meta-description {
        .mobilepush-container {
          background-color: $CAP_WHITE;
          padding: $CAP_SPACE_12;
          .app-header {
            color: $CAP_G04; // #5D5D5D is closest to CAP_G04
            font-weight: 600;
            padding: 0.285rem 0.571rem 0.285rem 0.571rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .app-header-left {
              display: flex;
              align-items: center;
              div {
                word-break: break-word;
              }
              .app-icon {
                width: 0.857rem;
                height: 0.857rem;
                border-radius: 50%;
                background-color: $CAP_G04; // #737070 is closest to CAP_G04
              }
            }
          }
          .mobilepush-message {
            padding-left: 1.65rem;
          }
          .mobilepush-image {
            width: 100%;
            height: 7.5rem; // 120px to rem
            margin-top: 0.625rem; // 10px to rem
          }
          .mobilepush-image-padding {
            padding-left: 1.65rem;
          }
          .scroll-container {
            overflow-x: auto;
            display: flex;
            padding-top: $CAP_SPACE_06;
            padding-right: $CAP_SPACE_06;
            white-space: nowrap;
            scrollbar-width: none; // Hide scrollbar in Firefox
            &::-webkit-scrollbar {
              display: none; // Hide scrollbar in Chrome/Safari/Opera
            }
            overflow: hidden;
            height: 100%;
            width: 100%;
            margin-left: 1.65rem;
            .whatsapp-carousel-container {
              padding: $CAP_SPACE_04 0 $CAP_SPACE_08;
              border-radius: $CAP_SPACE_06;
              background-color: $CAP_WHITE;
              width: 80%;
              flex-shrink: 0;
              white-space: pre-wrap;
              word-break: break-word;
              overflow: auto;
              text-align: left;
              margin: 0;
              .whatsapp-carousel-card {
                margin: $CAP_SPACE_02 $CAP_SPACE_02 $CAP_SPACE_01 $CAP_SPACE_02;
                .whatsapp-carousel-body {
                  margin-bottom: $CAP_SPACE_08;
                }
              }
            }
          }
          .actions {
            background-color: $CAP_WHITE;
            height: auto;
            padding: $CAP_SPACE_08;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: $CAP_SPACE_08;
            .action {
              font-size: $FONT_SIZE_S;
              font-weight: 600;
              color: $CAP_COLOR_03; // #1970DA maps to CAP_COLOR_03 (primary brand color)
              height: 1.25rem;
            }
          }
        }
      }
    }
  }
}