/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #343a40;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Register Card Styles */
.register-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  margin: 20px;
}

.register-card h3 {
  color: #007bff;
  font-size: 24px;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Form Styles */
form {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

input.form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.75rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border 0.3s ease;
}

input.form-control:focus {
  border-color: #007bff;
  outline: none;
}

button.btn-primary {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.btn-primary:hover {
  background-color: #0056b3;
}

/* Alert Styles */
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Link Style */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer text */
.text-center small {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 576px) {
  .register-card {
    padding: 1.5rem;
    width: 90%;
  }

  .register-card h3 {
    font-size: 20px;
  }

  button.btn-primary {
    font-size: 1rem;
  }

  .alert-danger {
    font-size: 0.9rem;
  }
}

/* Tablet and Larger Screens (Desktop) */
@media (min-width: 768px) {
  .register-card {
    padding: 2rem;
    width: 40%;
  }
}
