.generate-ai-regional-btn-container {
  display: none;
}

.generate-ai-regional-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(to bottom right, #a032f6, #8e27ee 50%, #4f46e5);
  color: white;
  font-weight: bold;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  overflow: visible;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sideBar.sbRight .generate-ai-regional-btn-container {
  display: block;
  padding: 0px 16px;
}

.sideBar.sbRight .generate-ai-regional-btn {
  display: inline-flex;
  margin-top: 20px;
  background-color: #fff;
  justify-content: center;
}

.btn-text {
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0.6), white);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine 2s linear infinite;
  display: inline-block;
  font-size: 14px;
  text-align: left;
}

.generate-ai-regional-btn .sparkles-icon {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  flex-shrink: 0;
  color: white;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #0a68ff;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: bold;
}

/* shine animation */
@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.ai-generated-gameplan-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  margin: 0 auto 1rem auto;
  background-color: white;
  /* background-color: #f4f4f5;*/
  border: 1px solid #c4c6cf;
  border-radius: 6px;
  color: #334;
  margin-top: 12px;
}

.ai-generated-gameplan-container .spinner {
  width: 28px;
  height: 28px;
  border-width: 4px;
  border-radius: 50%;
  border-style: solid;
  border-color: #c6d7f8;
  border-right-color: #2952c5;
  animation: spinner-d3wgkg 1s infinite linear;
  margin-right: 8px;
}

.ai-gameplan-title {
  line-height: initial;
  font-weight: bold;
  /* margin-bottom: 1rem; */
  color: #1a202c;
}

.ai-gameplan-content {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d3748;
}

.ai-gameplan-content > p {
  margin-bottom: 1rem;
}

.ai-gameplan-content > h1 {
  /* font-size: 1.6rem; */
  /* font-weight: 600; */
  /* margin-top: 1.5rem; */
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.ai-gameplan-content > h2 {
  /* font-size: 1.4rem; */
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.ai-gameplan-content > h2:first-child {
  /* font-size: 1.4rem; */
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.ai-gameplan-content > h3 {
  /* font-size: 1.2rem; */
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

.ai-gameplan-content > ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
  font-size: 1.05rem;
}

.ai-gameplan-content > ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 1.2rem;
  font-size: 1.05rem;
}

.ai-gameplan-content li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.ai-gameplan-content > p > small > em {
  font-size: 0.7rem;
}

.ai-gameplan-content > a.giveaway-banner {
  display: block;
  max-width: 70%;
  margin: 0 auto;
}

.region-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(to bottom right, #8b5cf6, #4f46e5);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  padding-right: 40px;
}

.region-selector option {
  color: black;
}

.region-selector::-ms-expand {
  display: none; /* IE10+ */
}

.region-selector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 0;
  height: 0;
  padding: 0;
  margin-top: -3px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  pointer-events: none;
}

.region-selector:hover,
.region-selector:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.7);
}

/* Swal Confirmation Button */
.swal-gameplan-confirm {
  background: linear-gradient(to bottom right, #a032f6, #8e27ee 50%, #4f46e5);
}

/* Select2 Inside Swal Pop up */
/* .swal-gameplan-container span.select2.select2-container {
  text-align: left;
} */

.swal-gameplan-container
  span.select2.select2-container
  .select2-selection__clear {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  cursor: pointer;
}
.swal-gameplan-container
  .select2-container--default
  .select2-selection--single {
  display: flex;
  justify-content: center; /* Center text + button horizontally */
  align-items: center; /* Center them vertically */
  position: relative;
  padding-right: 30px; /* Space for clear button */
}

.swal-gameplan-container .select2-selection__rendered {
  flex: 1;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}

.ai-gameplan-content > a.giveaway-banner {
    display: none;   
}

@media (max-width: 920px) {
  .generate-ai-regional-btn-container {
    display: block;
    padding: 0px 16px;
    margin-bottom: 16px;
  }

  .generate-ai-regional-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 20px auto;
    max-width: 600px;
    margin-bottom: 0;
  }

  .ai-gameplan-content > a.giveaway-banner {
    display: block;
    padding: 26px 0px;
    max-width: 600px;
    margin: auto;
  }

  .swal-gameplan-container
    span.select2.select2-container
    .select2-selection__clear {
    padding: 0 10px;
  }
}
