body {
  background-color: #fff;
  margin: 0;
}

body,
html {
  height: 100%;
}

@font-face {
  font-family: "Optimo-Plain";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("/fonts/Optimo-Plain/Plain-Regular.otf") format("opentype");
}


@font-face {
  font-family: "Geist-Mono";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("https://media.thoughtspot.com/35707/1757325523-geistmono-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("https://media.thoughtspot.com/35707/1757325502-geist-regular.woff2") format("woff2");
}

.modal {
  background: white;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 350px;
  /* font-family: "Optimo-Plain"; */
  font-family: "Geist";
  position: relative;
}

.modal-header {
  color: #6b7280;
  font-size: 14px;
  line-height: 18px;
  margin-top: calc(53px - 32px - 16px) !important;
  margin-bottom: 4px !important;
  font-weight: 400;
}

.modal h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  font-family: "Geist-Mono";
}

.modal-sign-up {
  font-size: 16px;
  line-height: 24px;
  margin-top: 4px !important;
  margin-bottom: 16px !important;
  font-weight: 375;
  padding-left: 26px;
  padding-right: 26px;
}

.trial-button {
  width: 255px;
  height: 32px;
  border: double 0px transparent;
  border-radius: 9999px;
  background-image: linear-gradient(black, black),
    linear-gradient(45deg, #0a6cf9, #00e7ff, #c600ff, #ff6500);
  background-origin: border-box;
  background-clip: content-box, border-box;
  color: white;
  padding: 0.05rem 0.05rem;
  font-size: 14px;
  line-height: 20px;
  font-weight: 375;
  /* margin-bottom: 53px; */
  cursor: pointer;
}
.close-modal-btn {
  display: block;
  margin-left: auto;
  background: none;
  border: none;
  color: #111;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  width: 16px;
  height: 16px;
  font-size: 18px;
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
  margin-top: 16px;
  margin-bottom: 16px;
}

.close-modal-btn:hover {
  color: #111;
  background: #e5e7eb;
}

.spotter-embedcredit-info{
  font-size: 12px;
  color: #000;
}

.spotter-embed-cta{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.trial-cta-button{
  font-family: "Geist-Mono";
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 12px 16px;
    line-height: 24px;
    background-color: #00D2FF;
    color: #000;
    transition: background-color 0.2s 
ease-out;
    border: double 0px transparent;
      cursor: pointer;
}


.design-initial-state-v2{
  text-align: center;
  padding: 32px
}

.title-wrap{
      display: inline-flex;
    align-items: center;
    gap: 20px;
}

.title-wrap h6.tagline{
    font-family: "Geist";
    font-size: 24px;
    color: #6B7280;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.design-initial-state-v2 h1.main-title{
    font-size: 34px;
        line-height: 44px;
        letter-spacing: -.88px;
        font-weight: 500;
        font-family: "Geist-Mono";
        margin: 8px 0 16px;
}

.design-initial-state-v2 p{
   font-size: 18px;
   font-weight: 300;
   letter-spacing: -.25px;
   line-height: 30px;
    font-family: "Geist";
    margin: 0;
}

.design-initial-state-v2 .main-image{
  height: 400px;
  width: auto;
  margin: 14px 0 20px;
  object-fit: contain;
}

.trademark {
  font-size: 12px !important;
  font-style: italic;
  color: #000;
  text-align: center;
  padding-top: 8px;
  line-height: 20px !important;
}

/* Responsive overlay container */
.responsive-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, 95vw);
  height: min(825px, 85vh);
  background-color: rgba(255, 255, 255, 1);
  z-index: 9999;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 767px) {
.mob-br-none{
  display: none;
}
}

/* Responsive adjustments for overlay */
@media (max-width: 768px) {
  .responsive-overlay {
    width: 95vw;
    height: 90vh;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .responsive-overlay {
    width: 98vw;
    height: 95vh;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Landing Page Styles */
.landing-container {
  width: 100%;
  height: 100%;
  padding: 2px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.demo-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  min-height: 0;
}

.demo-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.demo-icon {
  flex-shrink: 0;
}

.demo-text {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.chart-section {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.chart-placeholder {
  width: 100%;
  height: 350px;
  /* height: 110px; */
  /* background: #f9f9f9; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

:root {
  --chart-scale: 0.65;
}

.chart-container {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  /* Responsive height that adapts to screen size */
  height: min(370px, 50vh, 40vw);
  min-height: 200px;
}

.chart-placeholder-lb {
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Responsive chart image */
.chart-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

/* Responsive LiveboardEmbed container with CSS scaling */
#ts-embed-lb {
  width: 1000px; /* Fixed width for the embed */
  height: 550px; /* Fixed height for the embed */
  transform-origin: center; /* Scale from center */
  /* Dynamic scaling will be applied via JavaScript */
  transform: scale(0.7);
  margin: 0 auto; /* Center the container */
}

/* Ensure iframe maintains its fixed dimensions */
#ts-embed-lb iframe {
  width: 1000px !important;
  height: 550px !important;
  border: none;
  transform: none; /* Don't scale the iframe itself, scale the container */
}

@media (max-width: 900px) {
  #ts-embed-lb {
    transform: scale(0.6);
  }
}

/* Responsive breakpoints for different screen sizes */
@media (max-width: 768px) {
  .chart-container {
    height: min(300px, 45vh, 60vw);
    min-height: 180px;
  }

  .demo-info {
    flex-direction: row; /* Keep icon on the right */
    align-items: flex-start; /* Keep top alignment */
    text-align: left; /* Keep left text alignment */
    gap: 12px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .demo-text {
    font-size: 16px;
    flex: 1; /* Allow text to take remaining space */
  }

  .demo-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
  }

  #ts-embed-lb {
    transform: scale(0.5);
  }
}

@media (max-width: 590px) {
  #ts-embed-lb {
    transform: scale(0.4);
  }
}

@media (max-width: 480px) {
  .chart-container {
    height: min(250px, 40vh, 70vw);
    min-height: 150px;
  }

  .demo-card {
    padding: 20px;
  }

  .demo-text {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .chart-container {
    height: min(400px, 45vh, 35vw);
    min-height: 300px;
  }
}

.query-section {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 12px 12px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  max-width: 800px; /* Limit the max width */
  margin: 0 auto; /* Center it horizontally */
  width: 100%; /* Keep full width up to max-width */
}

/* Responsive query section */
@media (max-width: 768px) {
  .query-section {
    padding: 20px 8px 8px;
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .query-section {
    padding: 16px 6px 6px;
    margin: 0 5px;
  }
}

.query-input-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 4px;
  padding-right: 4px;
  border: 1px solid #a4abb8;
  border-radius: 100px;
  margin-bottom: 4px;
  background: white;
  transition: all 0.2s;
  height: 48px;
}

.query-input-wrapper:focus-within {
  border-color: #3b82f6;
}

.avatar {
  width: 32px;
  height: 32px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-weight: 600; */
  flex-shrink: 0;
  font-size: 16px;
  text-transform: uppercase;
  margin-left: 8px;
     font-family: "Geist";
}

.query-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 8px 8px;
  background: transparent;
   font-family: "Geist";
  color: #1f2937;
  height: 100%;
}

.query-input::placeholder {
  color: #858585;
}
.send-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 48px;
  height: 32px;
  padding: 4px 16px;
  border-radius: 40px;
  background: #9ca3af; /* Gray by default */
  color: white;
  border: none;
  flex-shrink: 0;
  transition: all 0.2s;
  cursor: not-allowed; /* Show disabled cursor */
  margin-right: 8px;
}

.send-btn:disabled {
   background: #2770ef;
  cursor: not-allowed;
  opacity: 0.6;
}

.send-btn.enabled,
.send-btn:not(:disabled) {
  background: #2770ef; /* Blue when enabled */
  cursor: pointer;
}

.send-btn.enabled:hover,
.send-btn:not(:disabled):hover {
  background: #1a5fdb;
}

.send-btn.enabled:active,
.send-btn:not(:disabled):active {
  transform: scale(0.96);
}

.send-btn svg {
  width: 20px;
  height: 20px;
}

.send-btn.loading-state {
  cursor: not-allowed;
}

/* Hide paper plane icon when loading */
.send-btn.loading-state .paper-plane-icon {
  display: none;
}

/* Show and animate spinner when loading */
.send-btn .loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
}

.send-btn.loading-state .loading-spinner {
  display: block;
  animation: spin 0.8s linear infinite;
}

/* Spinner rotation animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.disclaimer {
  font-size: 13px !important;
  color: #9ca3af;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  padding-top: 4px;
}

.ts-container {
  position: relative;
  width: 100%;
  height: 100vh; /* adjust if you want a fixed height */
  overflow: hidden;
}

/* Embed section */
#ts-embed {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transition: opacity 0.8s ease; /* smooth fade-in */
}

/* Overlay starts fully visible */
#ts-overlay {
  position: absolute;
  inset: 0; /* shorthand for top, right, bottom, left = 0 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 16px;
  clip-path: inset(0 round 16px);
  opacity: 1;
  transition: opacity 0.8s ease; /* smooth fade-out */
}

/* When overlay hides */
#ts-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* Fade embed in when overlay is gone */
#ts-embed.show {
  opacity: 1;
}


/* .trial-cta-button:hover {
  background: linear-gradient(180deg, #00D2FF 18.2%, #FFF 113.43%);
} */

.trail-demo-btn{
   display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
font-family: "Geist-Mono";
  /* spacing */
 padding: 12px 16px;
  border-radius: 8px;
 font-size: 14px;
  line-height: normal;
  border: 1px solid #ffffff;
  color: #ffffff;
  background-color: #0A082D;
  transition: all 0.2s ease-out;
  cursor: pointer;
  height: 48px;
}

/* Banner */
#blocking-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 35, 47, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;

  .modal {
    width: calc(428px - 32px);
    /* height: calc(260px); */
    height: auto;
    padding-bottom: 24px;
  }
}

.banner-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.hiddenBanner {
  display: none !important;
}

.embed {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.spotterembed-loader.rdLoader-Wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100vh;
  display: none;
}

.spotterembed-loader .rdCircle {
  display: inline-block;
  height: 0.857rem;
  width: 0.857rem;
  margin-right: 0.571rem;
  background-color: #bec6d0;
  border-radius: 50%;
  animation: rdLoadingspotterembed 1.6s infinite;
}

.spotterembed-loader.rdLoader-Wrapper .rdCircle:nth-child(1) {
  animation-delay: 0.1s;
}

.spotterembed-loader.rdLoader-Wrapper .rdCircle:nth-child(2) {
  animation-delay: 0.3s;
}

.spotterembed-loader.rdLoader-Wrapper .rdCircle:nth-child(3) {
  animation-delay: 0.5s;
}

.spotterembed-loader .rdLoadingText {
  color: #777e8b;
  font-size: 0.875rem;
  font-weight: 300;
  text-align: center;
  margin-top: 1.142rem;
}

@keyframes rdLoadingspotterembed {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}


@media (min-width: 768px) and (max-width: 1100px) {
.design-initial-state-v2{
      padding: 28px;
}

.design-initial-state-v2 h1.main-title{
      font-size: 34px;
      line-height: 46px;
}

.title-wrap h6.tagline{
      font-size: 20px;
}

.design-initial-state-v2 .ts-embed-main-dec{
      font-size: 18px;
    line-height: 30px;
}

.design-initial-state-v2 .main-image{
      width: 100%;
      margin: 16px 0;
}
.query-input{
  font-size: 14px;
}

.disclaimer{
  line-height: 22px !important;
}
}

@media (max-width: 767px) {
.design-initial-state-v2{
      padding: 24px;
}

.design-initial-state-v2 h1.main-title{
      font-size: 24px;
      line-height: 32px;
}

.title-wrap h6.tagline{
      font-size: 18px;
}

.design-initial-state-v2 .ts-embed-main-dec{
    font-size: 16px;
    line-height: 24px;
}

.design-initial-state-v2 .main-image{
      width: 100%;
      margin: 4px 0 8px;
}
.query-input{
  font-size: 14px;
}

.disclaimer{
  line-height: 22px !important;
}
}
