.ost-snapshot-wrapper {
  --primary: #dd1313;
  --primary-dark: hsl(0, 84%, 40%);
  --border-color: #eee;
  --text-color: #eee;
  --button-padding: 12px 14px;
  --input-padding: 0.5rem 8px;
  --border-radius: 4px;
  --flex-gap: 1rem;
  font-family: "Ubuntu", sans-serif;
  width: 100% !important;
  max-width: 1140px !important;
  min-height: 80vh;
  max-height: 80vh;
  background: linear-gradient(66deg, #ec1e25cf 73%, #262626b9 100%);
  border-radius: 25px;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  box-sizing: border-box;
}

.ost-snapshot-wrapper.ost-snapshot-form-view {
  align-items: center;
}

.ost-snapshot-wrapper.ost-snapshot-quote-visible {
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ost-snapshot-wrapper *,
.ost-snapshot-wrapper *::before,
.ost-snapshot-wrapper *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Ubuntu", sans-serif;
}

.ost-snapshot-wrapper input:focus {
  outline: none !important;
}

.ost-snapshot-wrapper .domains option {
  color: black;
}

.ost-snapshot-wrapper .hide-element {
  display: none !important;
}

.ost-snapshot-wrapper .step-1 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.ost-snapshot-wrapper .step-2 {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  position: relative;
  border-radius: var(--border-radius);
}

.ost-snapshot-wrapper .step-2-results-scroll {
  padding: 0;
}

.ost-snapshot-wrapper .step-2::-webkit-scrollbar {
  width: 10px;
}

.ost-snapshot-wrapper .step-2::-webkit-scrollbar-track {
  border-radius: 10px;
}

.ost-snapshot-wrapper .step-2::-webkit-scrollbar-thumb {
  background: #e1e1e1;
  border-radius: 10px;
}

.ost-snapshot-wrapper .step-2::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  cursor: pointer;
}

.ost-snapshot-wrapper .step-1-2-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  gap: calc(2 * var(--flex-gap));
}

.ost-snapshot-wrapper .tool-heading .hero-heading {
  font-size: 48px;
}

.ost-snapshot-wrapper .tool-heading h5 {
  font-size: 32px;
  color: white;
}

.ost-snapshot-wrapper .tool-heading p {
  font-size: 16px;
  text-align: center;
}

.ost-snapshot-wrapper h1,
.ost-snapshot-wrapper h2,
.ost-snapshot-wrapper h3,
.ost-snapshot-wrapper p,
.ost-snapshot-wrapper label {
  color: var(--text-color);
}

.ost-snapshot-wrapper .input-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--flex-gap);
}

.ost-snapshot-wrapper .input-fields label {
  font-size: 16px;
}

.ost-snapshot-wrapper .input-fields div {
  display: flex;
  flex-direction: column;
  gap: var(--flex-gap);
}

.ost-snapshot-wrapper .search-form {
  display: flex;
  flex-direction: row;
  gap: var(--flex-gap);
  align-items: flex-end;
}

.ost-snapshot-wrapper .tool-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--flex-gap);
}

.ost-snapshot-wrapper .spinner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.ost-snapshot-wrapper .spinner .container {
  --uib-size: 35px;
  --uib-color: rgb(255, 255, 255);
  --uib-speed: 2.5s;
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  animation: ost-snapshot-rotate 2.5s linear infinite;
}

.ost-snapshot-wrapper .spinner .car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: ost-snapshot-stretch 1.875s ease-in-out infinite;
}

.ost-snapshot-wrapper .spinner .track {
  fill: none;
  stroke: var(--uib-color);
  opacity: 0;
}

@keyframes ost-snapshot-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes ost-snapshot-stretch {
  0% {
    stroke-dasharray: 0, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 75, 150;
    stroke-dashoffset: -25;
  }
  100% {
    stroke-dashoffset: -100;
  }
}

.ost-snapshot-wrapper .search-results-text {
  font-size: 1rem;
}

.ost-snapshot-wrapper .step-2-text {
  flex-shrink: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem 2rem 1rem;
  font-size: 16px;
}

.ost-snapshot-wrapper .search-result-wrapper {
  border: 1px solid transparent;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0.5rem 0;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.ost-snapshot-wrapper .search-result {
  flex: 1;
  min-width: 0;
}

.ost-snapshot-wrapper .search-result-wrapper:hover {
  border: 1px solid var(--border-color);
}

.ost-snapshot-wrapper .search-result-wrapper.selected-search-result {
  background-color: hsl(3, 65%, 47%);
  border: 3px solid white !important;
}

.ost-snapshot-wrapper .result-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ost-snapshot-wrapper .result-position {
  font-weight: 700;
  flex-shrink: 0;
}

.ost-snapshot-wrapper .source-image {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ost-snapshot-wrapper .source-image div {
  display: flex;
  flex-direction: column;
}

.ost-snapshot-wrapper .title {
  font-size: 20px;
  margin: 10px 0;
  font-weight: 500;
}

.ost-snapshot-wrapper .url {
  font-size: 12px;
}

.ost-snapshot-wrapper .favicon {
  height: 28px;
  width: 28px;
  background-color: #dcdcdc;
  border-radius: 100%;
  padding: 4px;
}

.ost-snapshot-wrapper .source,
.ost-snapshot-wrapper .snippet {
  font-size: 14px;
}

.ost-snapshot-wrapper .quote-box {
  flex-shrink: 0;
  width: 100%;
  padding: 1rem;
  background-color: hsla(0, 0%, 7%, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  gap: 0.75rem;
  border-radius: 8px 8px 0 0;
  z-index: 10;
}

.ost-snapshot-wrapper .quote-box div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ost-snapshot-wrapper .quote-box .get-quote-button.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ost-snapshot-wrapper .ost-snapshot-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 13, 13, 0.9);
  z-index: 100;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ost-snapshot-wrapper .submit-form,
.ost-snapshot-wrapper .thank-you-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  padding: 3.5rem;
  max-width: 1000px;
  min-width: 80%;
  max-height: 96%;
  background: linear-gradient(to top right, hsl(0, 84%, 20%), #dd1313);
  border-radius: 20px;
  transition: opacity 0.3s ease;
}

.ost-snapshot-wrapper .submit-form.hide-element,
.ost-snapshot-wrapper .thank-you-message.hide-element {
  opacity: 0;
  z-index: -10;
  pointer-events: none;
  display: none !important;
}

.ost-snapshot-wrapper .submit-form .form-elements-container,
.ost-snapshot-wrapper .submit-form .inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ost-snapshot-wrapper .submit-form .name-phone-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ost-snapshot-wrapper .submit-form .horizontal-form-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ost-snapshot-wrapper .submit-form h3 {
  font-size: 1.5em;
}

.ost-snapshot-wrapper .submit-form .telegramOrWhatsappContainer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ost-snapshot-wrapper .submit-form .telegramOrWhatsappContainer div {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ost-snapshot-wrapper .submit-form .telegramOrWhatsappContainer input[type="radio"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  cursor: pointer;
}

.ost-snapshot-wrapper .submit-form .submit-buttons-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.ost-snapshot-wrapper .submit-form input {
  width: 100%;
}

.ost-snapshot-wrapper .button-style-link {
  background-color: #101010;
}

.ost-snapshot-wrapper .close-modal-icon {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.ost-snapshot-wrapper .asterisk {
  color: rgb(255, 39, 39);
  margin-left: 4px;
}

.ost-snapshot-wrapper .ost-snapshot-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.ost-snapshot-wrapper button {
  padding: var(--button-padding);
  background-color: var(--primary);
  border: none;
  color: var(--text-color);
  text-transform: uppercase;
  border-radius: 99px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.ost-snapshot-wrapper button:hover {
  background-color: var(--primary-dark);
}

.ost-snapshot-wrapper button.is-loading {
  pointer-events: none;
  min-width: 140px;
}

.ost-snapshot-wrapper button.is-loading .submit-btn-text {
  visibility: hidden;
}

.ost-snapshot-wrapper button .submit-btn-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.ost-snapshot-wrapper button.is-loading .submit-btn-spinner {
  display: block !important;
}

.ost-snapshot-wrapper .submit-btn-spinner svg {
  width: 24px;
  height: 24px;
  animation: ost-snapshot-rotate 0.8s linear infinite;
}

.ost-snapshot-wrapper .submit-btn-spinner circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-dasharray: 1, 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: ost-snapshot-stretch 1.2s ease-in-out infinite;
}

.ost-snapshot-wrapper input,
.ost-snapshot-wrapper select {
  padding: var(--input-padding);
  border-radius: 99px;
  border: 2px solid white;
  color: white;
  background-color: transparent;
  height: 40px;
  width: 100%;
}

.ost-snapshot-wrapper input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ost-snapshot-wrapper input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ost-snapshot-wrapper input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ost-snapshot-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
}

.ost-snapshot-wrapper .ost-snapshot-error {
  color: #ffb3b3;
  text-align: center;
  margin-top: 0.5rem;
}

.ost-snapshot-config-error {
  color: #b32d2e;
  padding: 1rem;
  border: 1px solid #b32d2e;
  border-radius: 4px;
}

.ost-snapshot-wrapper .ost-snapshot-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ost-snapshot-wrapper .iti {
  width: 100%;
}

.ost-snapshot-wrapper .iti input {
  width: 100%;
}

.ost-snapshot-wrapper .iti__selected-country {
  background: transparent;
}

.ost-snapshot-wrapper .iti__country {
  display: flex;
  align-items: center;
  color: black;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .ost-snapshot-wrapper {
    max-height: 80vh !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .ost-snapshot-wrapper input,
  .ost-snapshot-wrapper select {
    font-size: 16px !important;
  }

  .ost-snapshot-wrapper .tool-heading {
    text-align: center;
  }

  .ost-snapshot-wrapper .tool-heading .hero-heading,
  .ost-snapshot-wrapper .tool-heading h5,
  .ost-snapshot-wrapper .tool-heading p {
    text-align: center;
  }

  .ost-snapshot-wrapper .tool-heading .hero-heading {
    font-size: 32px;
  }

  .ost-snapshot-wrapper .search-form {
    flex-direction: column !important;
    align-items: center !important;
  }

  .ost-snapshot-wrapper .input-fields {
    grid-template-columns: 1fr !important;
  }

  .ost-snapshot-wrapper .horizontal-form-elements {
    grid-template-columns: 1fr !important;
  }

  .ost-snapshot-wrapper .name-phone-container {
    grid-template-columns: 1fr !important;
  }

  .ost-snapshot-wrapper .submit-form {
    width: 98% !important;
    padding: 2.5rem 1.5rem !important;
  }

  .ost-snapshot-wrapper .quote-box {
    flex-direction: column !important;
  }

  .ost-snapshot-wrapper .quote-box .get-quote-button {
    width: 100% !important;
  }
}
