* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  background: linear-gradient(to right, #f9fafb, #f0f4f8);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.join-course-form {
  background: white;
  width: 100%;
  max-width: 500px;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease;
}

.join-course-form h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: #1f2937;
}

.join-course-form input,
.join-course-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  transition: 0.3s;
  background-color: #f9fafb;
}

.join-course-form input:focus,
.join-course-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: white;
}

textarea {
  resize: none;
  height: 80px;
}

.join-course-form button {
  background: #3b82f6;
  color: white;
  padding: 14px;
  width: 100%;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.join-course-form button:hover {
  background: #2563eb;
  transform: scale(1.03);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .join-course-form {
    margin: 15px;
    padding: 30px 20px;
  }

  .join-course-form h2 {
    font-size: 20px;
  }
}

.footer {
  padding: 20px 10px;
  text-align: center;
  background: #e5e7eb;
  color: #374151;
  font-size: 13px;
}
