* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}
body {
  font-family: "Poppins", sans-serif;
}
main {
  min-height: 100%;
  width: 100%;
  background: linear-gradient(
    145deg,
    #1a1b1f 0%,
    /* Darker charcoal */ #22242a 50%,
    /* Mid charcoal */ #1a1b1f 100% /* Back to darker charcoal */
  );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  gap: 40px;
}
h1 {
  font-size: 7vw;
  font-weight: 400;
  text-align: center;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    /* Pure white */ #a5b4fc 50%,
    /* Soft periwinkle */ #6366f1 100% /* Bright indigo */
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.input-container {
  width: 100%;
  max-width: 754px;
  background: rgba(255, 255, 255, 0.05); /* Subtle white overlay */
  backdrop-filter: blur(8px); /* Frosted glass effect */
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    /* Outer shadow */ inset 0 1px 1px rgba(255, 255, 255, 0.05); /* Subtle inner highlight */
  padding: 1.5rem;
  margin: 1rem 0;
}
.input-container h2 {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
}
.input-container .input-box-container {
  margin-top: 20px;
  position: relative;
}
.input-box {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  padding: 0.75rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  min-height: 120px;
  font-size: 16px;
  font-family: "poppins", serif;
  padding-right: 110px;
  resize: none; /* Allows resizing; set to 'none' to disable */
  overflow: auto; /*Ensures scrollbars appear if needed */
  word-wrap: break-word; /* Ensures words break properly */
  white-space: normal; /* Ensures text wraps to the next line */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}
.input-box:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
/* Custom scrollbar for Chrome/Safari */
.choice-container::-webkit-scrollbar {
  width: 8px;
}

/* Custom scrollbar for Chrome/Safari */
.input-box::-webkit-scrollbar {
  width: 8px;
  border-radius: inherit;
}
.primary-btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-family: "poppins", serif;
  background: linear-gradient(145deg, #3066be 0%, #2657aa 100%);
  border: none;
  position: absolute;
  right: 20px;
  bottom: 15px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  /* margin-left: 10px; */
}
.primary-btn:hover {
  background: linear-gradient(
    145deg,
    #3571d8 0%,
    #2b62c4 100%
  ); /* Slightly lighter on hover */
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.primary-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.primary-btn:focus {
  outline: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(48, 102, 190, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.choice {
  min-width: 120px;
  min-height: 80px;
  background: linear-gradient(145deg, #22242a 0%, #1e2024 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  word-break: break-word; /* Forces breaking long words */
  word-wrap: break-word; /* Allows long text to wrap */
  overflow-wrap: break-word; /*Modern syntax for wrapping*/
  text-transform: capitalize;
}
.choice.highlight {
  background: linear-gradient(
    145deg,
    #3c404b 0%,
    #111214 100%
  ); /* Slightly lighter gradient */
  transform: translateY(-2px);
  scale: 1.05;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.829),
    inset 0 1px 0 rgba(255, 255, 255, 0.678);
  border-color: rgba(255, 255, 255, 0.199);
}
.choice-container {
  /* max-height: 350px; */
  /* background-color: orange; */
  overflow-y: auto;
  width: 100%;
  max-width: 1254px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  /* overflow: auto; */
  flex-wrap: wrap;
}
@media (max-width: 550px) {
  h1 {
    font-size: 50px;
  }
  .input-container h2 {
    font-size: 18px;
  }
  .input-box {
    padding-right: 80px;
  }
  .primary-btn {
    padding: 0.5rem 1rem;
    font-size: 14px;
    right: 10px;
  }
}
