.crtw-popup {
  height: 100vh;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: rgb(0 0 0 / 80%);
  z-index: 100;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

.crtw-popup-size {
  display: flex;
  max-height: 451px;
  width: 640px;
}
/* .popup-box-wrapper {
} */
.crtw-popup-box {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  color: #000;
  box-shadow: 0 0 100px rgb(255, 255, 255, 0.3);
  width: 640px;
  max-height: 420px;
  border-radius: 8px;
}

.crtw-popup-btn-wrapper {
  height: 20px;
  display: flex;
  justify-content: end;
}

.crtw-popup-btn {
  cursor: pointer;
  transition: transform 0.4s ease-in-out;
}
.crtw-popup-btn:hover {
  transform: rotate(90deg);
}
#cart-widget-text {
  flex-grow: 1;
  overflow-y: auto;
}

.crtw-popup-header {
  font-weight: bold;
  font-size: 20px;
  padding-bottom: 10px;
}

.cart-widget {
  width: inherit;
  /* background-color: #ffffff; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.crtw-cross {
  font-size: 1.1em;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 0;
  /* transition: transform .2s ease-in-out; */
}

/* .cross:hover {
  transform: rotate(90deg);
} */

.cart-widget-simple {
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  max-height: 350px;
  overflow-y: auto;
  border-radius: 5px;
  /* background-color: #ffffff; */
  border: 2px solid #eaeaea;
  width: inherit;
  text-align: center;
  justify-content: center;
  /* color: #000; */
}

.cart-widget-simple-header-text {
  font-weight: bold;
  font-size: 16px;
  border-radius: 5px;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.cart-widget-header {
  background-color: #0052cc;
  /* color: #ffffff; */
  padding: 5px 20px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.cart-widget-body {
  padding: 0px 10px 10px 10px;
  background-color: #ffffff;
  color: black;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.cart-widget-simple-body {
  padding: 0px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.crtw-support-section {
  background-color: #f7f7f7;
  border-top: 1px solid #eaeaea;
  padding: 20px;
  font-size: 14px;
  text-align: center;
}

.crtw-support-contact {
  margin: 10px 0;
  /* color: #333333; */
}

.crtw-submit-btn {
  background-color: #0052cc;
  /* color: #ffffff; */
  border: none;
  padding: 5px 20px;
  text-align: center;
  display: block;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 15px;
}

/* Style for the disabled button */
.crtw-submit-btn:disabled {
  background-color: #6c757d; /* Change color to gray */
  cursor: not-allowed; /* Change cursor to not-allowed */
}

.crtw-powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-top: 1px solid #eaeaea;
  font-size: 13px;
}

.crtw-powered-by img {
  height: 20px;
  margin-left: 8px;
}

.crtw-contact-form-container {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 500; /* Ensure it's above other elements */
}

.crtw-contact-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
}

.crtw-form-field {
  margin-bottom: 15px;
}

.crtw-form-field label {
  display: block;
  margin-bottom: 5px;
}

.crtw-form-field input[type="text"],
.crtw-form-field input[type="email"],
.crtw-form-field select,
.crtw-form-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.crtw-form-field input[type="submit"] {
  background-color: #0052cc;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.crtw-close-form {
  font-size: 24px;
  color: #707070;
  cursor: pointer;
  float: right;
  margin: -10px -10px 10px 10px;
}

.crtw-contact-form h3 {
  color: #333333;
  margin-bottom: 20px;
}

.crtw-loader {
  display: block !important;
  width: 24px;
  height: 24px;
  /* border: 2px solid #303030; */
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  -webkit-animation: rotation 0.5s linear infinite;
  animation: rotation 0.5s linear infinite;
}

@-webkit-keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.crtw-element-text {
  font-size: initial;
  overflow-y: auto;
  max-height: 300px;
}

.crtw-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(26, 26, 26);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 300;
}

.crtw-toast button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 20px;
}

.crtw-error {
  background-color: rgb(229, 28, 0);
}
