body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to right, #eef3fb, #ffffff);
}

.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.register-card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.6s ease-in-out;
}

.register-card h2 {
  text-align: center;
  color: #0052D4;
  margin-bottom: 10px;
}

.subtext {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.role-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.role-buttons a {
  text-decoration: none;
  color: white;
  background-color: #4364F7;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s;
}

.role-buttons a:hover,
.role-buttons .active {
  background-color: #0052D4;
}

.register-form .form-group {
  margin-bottom: 20px;
}

.register-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.register-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border 0.3s;
}

.register-form input:focus {
  border-color: #4364F7;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #0052D4;
  color: #fff;
  border: none;
  font-size: 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #0039a6;
}

.login-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.login-link a {
  color: #0052D4;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
