:root {
  --Black: #000000;
  --White: #ffffff;
  --Primary: #131836;
  --Secondary: #ef332e;
  --Border: #e4e4e7;
  --Soft-Text: #585d69;
  --bg-1: #f3f3f3;
  --bg-2: #e9dece;
  --bg-3: #d7c7ea;
  --bg-4: #ffefea;
  --bg-5: #f5f5f2;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 1000;
  display: none;
}

.close-button {
  cursor: pointer;
  position: absolute;
  top: 2px;
  right: 10px;
  font-size: 20px;
  color: var(--Secondary);
}

#details {
  margin-top: 20px;
}
.fade-text {
  animation: fade 3s ease-in-out infinite;
  font-size: 1.5rem;
  color: red;
}

@keyframes fade {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
button.cohort {
  margin-top: 20px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  background-color: var(--Primary);
  color: white;
  cursor: pointer;
  width: 100%;
  height: 48px;
}
button.cohort:hover {
  background: var(--Secondary);
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
select {
  width: 100%;
  padding-inline: 5px;
  outline: none;
  padding-block: 8px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .popup {
    width: 50%;
    padding: 15px;
  }

  .close-button {
    font-size: 18px;
  }

  button {
    padding: 10px;
    height: auto;
  }

  select {
    padding-block: 6px;
  }
}

@media (max-width: 568px) {
  .popup {
    width: 90%;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .popup {
    padding: 10px;
  }

  .close-button {
    top: 5px;
    right: 5px;
  }

  button {
    margin-top: 15px;
  }
}
