* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
}

body {
  background-color: white;
  color: #1f2937;
}

.registration-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1rem 1rem;
}

.form-header {
  text-align: center;
  margin-bottom: 60px;
}

.form-header h1 {
  color: #b81818;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.feedback-pdf {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  background-color: #1e40af;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.3);
  letter-spacing: 0.05em;
}

.feedback-pdf:hover {
  background-color: #b81818;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 64, 175, 0.5);
}

.form-header p {
  color: #4b5563;
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.important {
  color: #b81818;
  margin-left: 5px;
  font-size: 1.2rem;
  line-height: 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="url"],
select,
textarea {
  border: 1.5px solid #e5e7eb;
  padding: 14px;
  border-radius: 6px;
  background-color: #f9fafb;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b81818;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 24, 24, 0.05);
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #b81818;
  cursor: pointer;
}

.radio-group {
  display: flex;
  gap: 30px;
  height: 100%;
  align-items: center;
}

.radio-group label {
  text-transform: none;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}

/* Dynamic Dropdown Categories */
optgroup {
  font-weight: 700;
  color: #1e40af;
  background: #f1f5f9;
  font-style: normal;
}

option {
  color: #1f2937;
  background: #ffffff;
  font-weight: 400;
}

.feedback-container {
  margin-top: 50px;
}

.section-label {
  display: block;
  font-size: 1.2rem;
  color: #1e40af;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.table-responsive {
  overflow-x: auto;
}

.feedback-table {
  width: 100%;
  border-collapse: collapse;
}

.feedback-table th {
  background-color: #f9fafb;
  color: #1e40af;
  padding: 18px;
  border: 1px solid #f3f4f6;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.feedback-table td {
  padding: 15px;
  border: 1px solid #f3f4f6;
  text-align: center;
}

.feedback-table td:first-child {
  text-align: left;
  color: #4b5563;
  font-weight: 500;
  width: 40%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.button-group {
  margin-top: 50px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.btn-submit,
.btn-exit {
  padding: 14px 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
}

.btn-submit {
  background-color: #b81818;
  color: white;
}

.btn-submit:hover {
  background-color: #931313;
  transform: translateY(-2px);
}

.btn-exit {
  background-color: #1e40af;
  color: white;
}

.btn-exit:hover {
  background-color: #152d7c;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
