.sh-quick-try-section *,
.sh-quick-try-section *::before,
.sh-quick-try-section *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.scrollbar-horizontal::-webkit-scrollbar {
  width: 0px; /* Set scrollbar width */
  height: 1px; /* Set scrollbar height */
}

.scrollbar-horizontal::-webkit-scrollbar-thumb {
  display: none;
}

.overall-section {
  /* background-image: url("./assets/image/bgGradient.svg"); */
  background-size: cover; /* Adjust as needed */
  background-repeat: no-repeat; /* Adjust as needed */
  background-position: top; /* Adjust as needed */
  font-family: "Inter", sans-serif;
  padding: 16px 16px 24px 16px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 24px;
  padding-top: 24px;
}

.sh-quick-try-section {
  /* background-image: url("./assets/image/bgGradient.svg"); */
  background-size: cover; /* Adjust as needed */
  background-repeat: no-repeat; /* Adjust as needed */
  background-position: top; /* Adjust as needed */
  font-family: "Inter", sans-serif;
  padding: 16px 16px 24px 16px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 1080px;
  min-width: min(870px, 80vw);
}

.sh-quick-try-heading {
  text-align: center;
  padding: 0;
  margin: 0;
  padding-top: 16px;
}

.sh-quick-try-sub-heading {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.sh-quick-try-container {
  display: flex;
  padding: 0;
  width: 100%;
  align-items: stretch;
  margin-top: 60px;
  height: 575px;
  gap: 16px;
}

.sh-quick-try-left {
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.sh-quick-try-left-bg {
  border-radius: 12px;
  background: #f1f2f5;
  padding: 16px;
}
.sh-quick-try-left-upper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sh-quick-try-left-upper-avatars {
  display: flex;
  gap: 8px;
  flex-direction: column;
  justify-content: center;
}
.sh-quick-try-left-upper-avatars-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sh-quick-try-left-upper-avatars-heading p,
div {
  margin: 0;
}

.sh-quick-try-avatar-img {
  background: var(
    --thumnail-grad,
    linear-gradient(
      180deg,
      rgba(217, 217, 217, 0) 50%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    rgba(0, 0, 0, 0.27)
  );
  aspect-ratio: 1;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.sh-quick-try-avatar-img-container-div {
  border-radius: 8px;
  transition: box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sh-quick-try-avatar-img-container-div:hover {
  box-shadow: 0 0 0 2px #0052cc;
}

.sh-quick-try-avatar-img-container-div.sh-quick-try-avatar-img-container-div-active {
  box-shadow: 0 0 0 2px #0052cc;
}

.pick-your-presenter {
  font-size: 14px;
  white-space: nowrap;
}

.write-your-story {
  font-size: 14px;
  white-space: nowrap;
}

.sh-quick-try-left-upper-avatars-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Adjust as needed */
  gap: 10px; /* Adjust as needed */
}

.sh-quick-try-left-upper-text {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.sh-quick-try-left-upper-text-heading {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.sh-quick-try-left-upper-avatars-heading-left {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 8px;
}

.sh-quick-try-left-upper-avatars-heading-left img {
  width: 24px;
  height: 24px;
}

.sh-quick-try-left-upper-text-heading img {
  width: 24px;
  height: 24px;
}

.sh-quick-try-left-upper-text-textarea {
  display: flex;
  height: 110px;
  flex-direction: column;
}

.sh-quick-try-custom-textarea-container {
  height: 100%;
  position: relative;
  padding: 16px; /* Add padding around the textarea */
  padding-bottom: 4px; /* Remove bottom padding */
  border-radius: 8px;
  border: 1px solid #090a0b;
  background: #f1f2f5;
  overflow: hidden; /* Ensure padding is visible */
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sh-quick-try-textarea-error {
  border: 1px solid #ff5630;
}

.char-count {
  font-size: 12px;
  color: #555;
}

.sh-quick-try-textarea {
  width: 100%;
  height: 100%;
  border: none; /* Remove default border */
  outline: none; /* Remove default outline */
  background: transparent; /* Make background transparent */
  resize: none; /* Prevent resizing */
  padding: 0; /* Remove padding from textarea */
  box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
  font-size: 12px;
}

.sh-quick-try-custom-textarea-container:focus-within {
  border-color: #090a0b; /* Change border color on focus */
}

.sh-quick-try-textarea:focus {
  outline: none; /* Remove default outline */
}

.sh-quick-try-textarea::placeholder {
  color: #a5adba; /* Adjust the color as needed */
  font-size: 12px;
  line-height: 1.4;
}

.sh-quick-try-left-gap {
  margin-top: 16px;
  border-top: 1px solid rgba(38, 38, 38, 0.2);
  width: calc(100% + 32px); /* Increase width to account for negative margins */
  margin-left: -16px; /* Negate left padding */
  margin-right: -16px;
}

/* input  */
.sh-quick-try-left-lower-80 {
  margin-top: 16px;
}

.sh-quick-try-left-lower-input-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*  */
/*  */

.sh-quick-try-custom-input-container {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px; /* Adjust padding as needed */
  border: 1px solid #dfe1e6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  width: 100%; /* Ensure it takes the full width of the container */
}

.sh-quick-try-custom-input-container-error {
  border: 1px solid #ff5630;
}

.sh-quick-try-custom-input-container-tooltip {
  opacity: 0;
  position: absolute;
  border: 1px solid #f44336;
  background-color: #f44336;
  color: white;
  padding: 5px;
  padding-inline: 12px;
  border-radius: 8px;
  font-size: 12px;
  top: -25px;
  left: 50%;
  z-index: 1;
  transition: opacity 0.2s, top 0.2s, border 0.2s;
  white-space: nowrap;
  transform: translate(-50%, 0);
}

.sh-quick-try-custom-input-container-tooltip-active {
  opacity: 0.8;
  top: -32px;
}

.sh-quick-try-input {
  flex: 1;
  border: none; /* Remove default border */
  outline: none; /* Remove default outline */
  background: transparent; /* Make background transparent */
  padding: 2px; /* Adjust padding as needed */
  box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
  color: #818181;
  max-width: calc(100% - 99px);
}

/* Placeholder color */
.sh-quick-try-input::placeholder {
  color: #a5adba; /* Adjust the color as needed */
  font-size: 12px;
}

.sh-quick-try-button {
  border: none; /* Remove default border */
  outline: none; /* Remove default outline */
  background: #090a0b; /* Button background color */
  color: white; /* Button text color */
  padding: 8px 8px; /* Adjust padding as needed */
  border-radius: 6px; /* Adjust border radius as needed */
  cursor: pointer; /* Change cursor to pointer */
  background: linear-gradient(
    271deg,
    #0158f7,
    #7839ee 1%,
    #0158f7 41% 57%,
    #0158f7 100%,
    #7b44e2 100%,
    #0158f7 100%,
    #4a4a4a
  );
  white-space: nowrap;
  font-size: 12px;
  align-self: flex-end;
}

/* input */

/* quick try right below */
.sh-quick-try-right {
  min-width: 290px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  /* padding: 0 16px; */
  height: 100%;
}

.sh-quick-try-middle {
  flex: 1;
  max-width: 70px;
}

.sh-quick-try-right-bg {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(129, 129, 129, 0.1);
  /* background: blue; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sh-quick-try-right-upper-heading {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  height: 48px;
}

.light-gray-svg {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(80%)
    contrast(5%);
}

.sh-quick-try-right-lower-preview {
  width: calc(100% - 32px);
  height: calc(100% - 64px);
  border-radius: 24px;
  border-radius: 12px;
  /* background: rgba(192, 192, 192, 0.3); */
  overflow: hidden;
}

.sh-quick-try-right-lower-default-preview {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.sh-quick-try-right-lower-default-preview-img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: top;
  aspect-ratio: unset;
}

.sh-quick-try-right-lower-video-preview {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
}

.sh-quick-try-right-lower-video-preview-video {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}

/* loading spinner for percentage */
.sh-quick-try-right-lower-loading {
  display: none;

  width: 100%;
  height: 100%;

  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sh-quick-try-right-lower-loading-spinner {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 1px dashed #000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  /* typography */
  color: #606060;
  text-align: center;
  font-size: 52.667px;
  font-family: "Lato";
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.sh-quick-try-right-lower-loading-text {
  font-family: "Lato";
  margin-top: 10px;
  font-size: 16px;
  color: #000;
}

/* error ui for failed video */
.sh-quick-try-right-lower-error-ui {
  width: 100%;
  height: 100%;

  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sh-quick-try-right-lower-error-ui-text {
  font-family: "Lato";
  margin-top: 10px;
  font-size: 16px;
  color: #ff5630;
}

.display-flex {
  display: flex;
}

@media (max-width: 750px) {
  .sh-quick-try-section {
    min-width: unset;
    padding-left: 32px;
    padding-right: 32px;
  }

  .sh-quick-try-right-bg {
    padding-bottom: 16px;
  }

  .sh-quick-try-left {
    width: unset;
  }
  .sh-quick-try-container {
    flex-direction: column;
    height: unset;
  }

  .sh-quick-try-right {
    width: unset;
  }

  .sh-quick-try-right-lower-preview {
    height: 250px;
    /* width: 100%; */
  }

  .sh-quick-try-right-lower-default-preview {
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .sh-quick-try-right-lower-loading-spinner {
    width: 80px;
    height: 80px;
    font-size: 26px;
  }

  .sh-quick-try-right-lower-loading-text {
    font-size: 14px;
  }
  .sh-quick-try-right-lower-error-ui-text {
    font-size: 12px;
  }

  /* .sh-quick-try-input {
    max-width: 69%;
  } */
}

/* @media (max-width: 380px) {
  .sh-quick-try-right {
    min-width: 190px;
  }
} */
