.application-section {
  background: linear-gradient(145deg, var(--bg) 0%, #ffffff 100%);
  max-width: 700px;
  margin: 3rem auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.application-section::before {
  content: '📝';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 6rem;
  opacity: 0.08;
  animation: floatEmoji 6s ease-in-out infinite alternate;
}

@keyframes floatEmoji {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(20px, 20px) rotate(8deg); }
}

.application-section h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.15);
  outline: none;
}

.errorlist {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  transition: left 0.4s;
}

.btn-submit:hover {
  background: #ff5252;
  transform: translateY(-2px);
}

.btn-submit:hover::after {
  left: 120%;
}

.btn-submit:active {
  transform: scale(0.97);
}

.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.alert-success {
  background: #d4edda;
  color: #155724;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
}

@media (max-width: 768px) {
  .application-section {
    padding: 2rem 1rem;
    margin: 2rem 1rem;
  }
  .application-section h2 {
    font-size: 1.8rem;
  }
  .btn-submit {
    font-size: 0.95rem;
    padding: 0.65rem;
  }
}

@media (max-width: 480px) {
  .application-section {
    margin: 1rem;
    padding: 1.5rem 1rem;
  }
  .application-section h2 {
    font-size: 1.6rem;
  }
  .form-group label {
    font-size: 0.9rem;
  }
  .btn-submit {
    font-size: 0.9rem;
    padding: 0.65rem;
  }
}
