* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom, #b3e5fc, #e0f7fa);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 400px;
}

.form-box {
  background-color: #ffffffcc;
  padding: 2rem;
  border-radius: 1.2rem;
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.avatar {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 50%;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.avatar img {
  width: 40px;
  height: 40px;
}

.form-box h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.5rem;
}

.input-group {
  margin-bottom: 1rem;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: #4cb8c4;
  box-shadow: 0 0 0 3px rgba(76, 184, 196, 0.2);
}

.note {
  font-size: 0.75rem;
  color: #777;
  margin: 1rem 0;
  text-align: left;
}

.note input {
  margin-right: 0.5rem;
}

.register-btn {
  width: 100%;
  padding: 0.75rem;
  border: none;
  background: linear-gradient(to right, #3cd3ad, #4cb8c4);
  color: white;
  font-size: 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.register-btn:hover {
  background: linear-gradient(to right, #2bb89b, #3aa7b1);
  transform: scale(1.03);
}
.dropdown-container {
  position: relative;
  margin-bottom: 1rem;
}

#dropdownInput {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  text-align: left;
  transition: border 0.3s;
}

#dropdownInput:focus {
  outline: none;
  border-color: #4cb8c4;
  box-shadow: 0 0 0 3px rgba(76, 184, 196, 0.2);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

@media screen and (max-width: 480px) {
  .form-box {
    padding: 1.5rem;
  }

  .form-box h2 {
    font-size: 1.25rem;
  }

  .register-btn {
    font-size: 0.95rem;
  }

  .avatar img {
    width: 32px;
    height: 32px;
  }

  .note {
    font-size: 0.7rem;
  }
}
