body {
  background: linear-gradient(135deg, #9f8dce, #736699);
  margin: 0;
  padding: 0;
}

.register-wrapper {
  padding: clamp(60px, 8vw, 120px) 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.navbar-brand {
  background-color: white;
  border-radius: 10px;
}

.navbar-nav .nav-link {
  color: #333;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #cbb6ff;
}

.form-container {
  background: white;
  padding: clamp(25px, 4vw, 50px);
  border-radius: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  max-width: 1100px;
}

.form-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #736699;
}

.form-label {
  font-weight: 500;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.form-control,
.form-select {
  padding: 12px 15px;
  border-radius: 12px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.form-control:focus,
.form-select:focus {
  border-color: #9f8dce;
  box-shadow: 0 0 0 0.2rem rgba(159, 141, 206, 0.25);
}

textarea.form-control {
  resize: vertical;
}

.register-btn-primary {
  background-color: #9f8dce;
  border: none;
  border-radius: 30px;
  padding: 10px 30px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  transition: 0.3s;
}

.register-btn-primary:hover {
  background-color: #7d6bb5;
}

.register-btn-outline-secondary {
  border-radius: 30px;
  padding: 10px 30px;
}

.autocomplete-list {
  position: absolute;
  background: white;
  width: 30%;
  min-width: 330px;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.autocomplete-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.2s;
}

.autocomplete-item:hover {
  background: #f1f1f1;
}
.btn-participants {
  background-color: #a487fd;
  color: white;
  border-radius: 2rem;
  transition: all 0.3s ease;
}

.btn-participants:hover {
  transform: translateY(-2px);
  background-color: #876fd0;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .register-wrapper {
    padding-top: 100px;
  }
}

@media (max-width: 576px) {
  .form-container {
    border-radius: 20px;
  }

  .register-btn {
    width: 100%;
  }

  .register-d-flex {
    flex-direction: column;
  }
}
