.jf--wordpress-demo {
  width: 100%;
  border-radius: 22px;
  padding: 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: Circular, Circular-fallback, -apple-system, BlinkMacSystemFont, "Segoe UI", roboto,oxygen-sans, ubuntu, cantarell, "Helvetica Neue", sans-serif;
  background-image: url('https://cdn.jotfor.ms/blog/wp-content/themes/jotblog/blocks/wordpress-agent-demo/images/bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.jf--wordpress-demo .jf--wordpress-demo-title {
  color: #FFF;
  text-align: center;
  font-size: 42px;
  line-height: 1.44;
  font-weight: 700;
  letter-spacing: -1.008px;
  margin: 0;
}
.jf--wordpress-demo .jf--wordpress-demo-description {
  color: #fff;
  text-align: center;
  font-size: 18px;
  line-height: 1.44;
  font-weight: 400;
  letter-spacing: -0.34px;
  margin: 0 auto;
  max-width: 380px;
  opacity: .7;
}

.jf--wordpress-demo-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.jf--wordpress-demo-input-container {
  display: flex;
  gap: 12px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8ceed;
  border-radius: 8px;
  background: #fff;
  color: #0a1551;
  outline: 2px solid transparent;
  box-shadow: 30px 247px 70px 0 rgba(2, 9, 44, 0.00), 19px 158px 64px 0 rgba(2, 9, 44, 0.03), 11px 89px 54px 0 rgba(2, 9, 44, 0.10), 5px 40px 40px 0 rgba(2, 9, 44, 0.17);
}

.jf--wordpress-demo-input {
  flex-grow: 1;
  border: none;
  outline: none;
  background: transparent;
  height: 100%;
  padding: 8px;
  font-size: 14px;
  border-radius: 4px;
}
.jf--wordpress-demo-input:placeholder-shown {
  font-size: 14px;
  color: #c8ceed;
}
.jf--wordpress-demo-input-container:focus-within .jf--wordpress-demo-input,
.jf--wordpress-demo-input-container:focus-within .jf--wordpress-demo-input:focus-within  {
  background-color: #fff;
}
.jf--wordpress-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  background: #ff6100;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.jf--wordpress-demo-button:hover {
  background: #e55300;
}

.jf--wordpress-demo-alert {
  position: relative;
  width: 100%;
  margin-top: 1rem;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #f87171;
  background: #fef2f2;
}

.jf--wordpress-demo-alert.is-visible {
  display: flex;
}

.jf--wordpress-demo-alert-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
}

.jf--wordpress-demo-alert-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #c90909;
}

.jf--wordpress-demo-alert-message {
  color: #0a1551;
  font-size: 14px;
}

.jf--wordpress-demo-alert-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.jf--wordpress-demo-alert-close:hover {
  background: rgba(#0a1551, 0.1);
}

.jf--wordpress-demo-alert-close-icon {
  width: 1rem;
  height: 1rem;
}

@media screen and (max-width:768px) {
  .jf--wordpress-demo {
    padding: 30px;
    border-radius: 12px;
  }
  .jf--wordpress-demo .jf--wordpress-demo-title {
    font-size: 32px; 
  }
  .jf--wordpress-demo-input-container {
    flex-direction: column;
    background-color: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
  }
  .jf--wordpress-demo-wrapper {
    margin-top: 20px;
  }
  .jf--wordpress-demo-input {
    width: 100%;
    background-color: #fff;
  }
  .jf--wordpress-demo-button {
    width: 100%;
  }
}
