* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #320783 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.form-container {
  padding: 40px 30px;
}

.section-title {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 20px;
  margin: 30px 0 20px 0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.section-title:first-of-type {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

th {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 18px 20px;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #dee2e6;
  text-align: left;
  font-size: 0.95rem;
}

td {
  padding: 20px;
  border-bottom: 1px solid #f1f3f4;
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background-color: #f8f9fa;
  transition: background-color 0.3s ease;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
  width: 100%;
  padding: 12px 16px;
  margin: 6px 0;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fafbfc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #3498db;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  transform: translateY(-1px);
}

input[type="file"] {
  padding: 10px;
  background: white;
  border: 2px dashed #bdc3c7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  border-color: #3498db;
  background-color: #f8f9fa;
}

textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: #3498db;
}

label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #2c3e50;
  transition: color 0.3s ease;
}

label:hover {
  color: #3498db;
}

.submit {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
}

.submit button {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.submit button:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    border-radius: 15px;
  }

  .header {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2rem;
  }

  .form-container {
    padding: 30px 20px;
  }

  th,
  td {
    padding: 15px;
    font-size: 0.9rem;
  }

  .section-title {
    padding: 15px;
    font-size: 1.1rem;
  }

  table {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  th,
  td {
    padding: 12px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

/* Animation for form load */
.container {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced file input styling */
input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  margin-right: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
  background: linear-gradient(135deg, #2980b9, #3498db);
  transform: translateY(-1px);
}