body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

#registerForm {
  display: none;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  width: 400px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 30px;
  min-height: 65px;
}

#address_suggestions {
  position: absolute;
  border: 1px solid #ccc;
  background: white;
  width: calc(100% - 2px);
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.suggestion {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.suggestion:hover {
  background-color: #f5f5f5;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="repeat_password"],
input[type="tel"] {
  width: calc(100% - 20px);
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
  margin-right: 5px;
  transition: border 0.3s ease;
}

.student-number-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.student-digit {
  width: 30px;
  text-align: center;
  display: inline-block;
  margin-right: 5px;
}

.prefix {
  font-weight: bold;
}

button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #45a049;
}

#signupBtn {
  background-color: #007bff;
  width: 200px;
}

#signupBtn:hover {
  background-color: #0056b3;
}

.error-message {
  color: #fff;
  background-color: #d9534f;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9em;
  display: none;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  z-index: 1;
  width: calc(100% - 24px);
}

.error-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.input-error {
  border: 2px solid red !important;
  outline: none;
}

.ui-datepicker {
  z-index: 10000 !important;
  font-size: 14px;
}

input:invalid {
  box-shadow: none;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}