.spinner-wrapper {
  position: fixed;
  left: -820px;
  top: 0;
  width: 60vw;
  height: 100%;
  z-index: 2147483646;
  box-shadow: 3px 0 5px rgba(255, 255, 255, 0.2);
  background: var(--card_background, #0b0b0c);
  padding: 50px 0;
  transition: left 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
  display: flex;
  opacity: 0;
  visibility: hidden;
}

.spinner-wrapper.spinner-open {
  display: flex;
}

/* Animation classes for showing spinner */
.spinner-wrapper.appear-from-left {
  left: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.spinner-wrapper.appear-from-right {
  left: auto !important;
  right: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.spinner-wrapper.appear-on-popup {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90vw !important;
  max-width: 800px !important;
  height: auto !important;
  max-height: 90vh !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Overlay for popup */
.wsww-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2147483645;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.wsww-overlay.active,
.spinner-wrapper.appear-from-left ~ .wsww-overlay,
.spinner-wrapper.appear-from-right ~ .wsww-overlay,
.spinner-wrapper.appear-on-popup ~ .wsww-overlay {
  opacity: 1;
  visibility: visible;
}

#chart {
  position: relative;
  width: 600px;
  height: 600px;
  top: 0;
  margin-left: -290px;
  font-size: 14px;
}

/* Adjust chart for popup mode */
.spinner-wrapper.appear-on-popup #chart {
  margin-left: 0;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
}

#question {
  top: 0;
  left: 520px;
}

#question h1 {
  font-size: 30px;
  font-weight: bold;
  padding-top: 30px;
}

.spin-logo {
  background: url(../../../img/spin-logo.png) center center no-repeat;
}

.email-wrapper {
  max-width: 440px;
  flex: 0 0 440px;
  padding-top: 140px;
  padding-left: 80px;
  padding-right: 10px;
  text-align: center;
  color: var(--card_color, #fff);
}

/* Adjust email wrapper for popup mode */
.spinner-wrapper.appear-on-popup .email-wrapper {
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 100%;
  flex: 1 1 auto;
}
.email-wrapper h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 30px;
  color: var(--card_color, #fff);
  font-weight: normal;
}
.email-wrapper input[type=email],
.email-wrapper input[type=text],
.email-wrapper input[type=tel],
.email-wrapper .ff-field {
  display: block;
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.email-wrapper p {
  font-size: 14px;
  color: var(--card_color, #fff);
}

.spin-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 20px;
  cursor: pointer;
  color: var(--card_color, #fff);
}
.spin-close > div {
  width: 15px;
}

.wsww-try-btn {
  display: inline-block;
  padding: 5px;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.4s;
  background: #262626;
  background: linear-gradient(135deg, #262626 0%, #999999 50%, #262626 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#262626", endColorstr="#262626",GradientType=1 );
  outline: 0;
}
.wsww-try-btn span {
  border-radius: 8px;
  display: inline-block;
  padding: 12px 25px;
  background-color: #000;
  color: #ffcd30;
  font-size: 14px;
  font-weight: normal;
  text-transform: capitalize;
}

#spinForm .spin-email.error {
  background-color: #fbdf9d;
  border-color: #fbdf9d;
}
#spinForm .spin-email.error + .error {
  color: #f29c2b;
  line-height: 1;
}
#spinForm .status-msg {
  color: #f29c2b;
}

#spinToWinModal {
  z-index: 99995;
}

.hide {
  display: none;
}

.align-items-center {
  align-items: center !important;
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex !important;
  }
}
@media (max-width: 991px) {
  .spinner-wrapper {
    width: 100%;
    max-width: 800px;
  }
  
  .spinner-wrapper.appear-on-popup {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
  }

  #chart {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .email-wrapper {
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
  }
}
@media (max-width: 575px) {
  .spinner-wrapper {
    overflow-y: scroll;
  }
  
  .spinner-wrapper.appear-on-popup {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
  }

  .email-wrapper {
    padding-top: 10px;
  }
  .email-wrapper h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .email-wrapper p {
    margin-bottom: 10px;
  }

  .slice text {
    font-size: 23px;
  }
}
@media (max-width: 400px) {
  .slice text {
    font-size: 20px;
  }
}
/* Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 992px) and (orientation: landscape) {
  .btn-try-luck {
    display: none;
  }
}
