/* Reset + box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 2rem;
  background-color: #f5f5f5;
  color: #333;
}

h1 {
  margin-bottom: 0.25rem;
}

.event-info {
  margin-bottom: 1.5rem;
}

.event-info p {
  margin: 0.2rem 0;
  font-size: 1rem;
}

.event-info strong {
  font-weight: 600;
}

.form-container {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.instrument-row {
  display: grid;
  grid-template-columns: 0.4fr 2fr 1fr 1.2fr 3fr auto;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}

.instrument-row input {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
  height: 42px;
}

.instrument-row input:focus {
  border-color: #6200ee;
  box-shadow: 0 0 0 2px rgba(98, 0, 238, 0.1);
}

.custom-select-wrapper {
  width: 100%;
  height: 42px;
}

.custom-select {
  position: relative;
  cursor: pointer;
  user-select: none;
  height: 100%;
}

.custom-select .selected {
  background: #f9f9f9;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.custom-select .options {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.custom-select .options div {
  padding: 0.5rem;
}

.custom-select .options div:hover {
  background: #eee;
}

.remove-button {
  background: none;
  border: none;
  padding: 0;
  margin-left: 0.5rem;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.remove-button:hover {
  background-color: #eee;
  color: #c00;
}

.add-button {
  margin-top: 1rem;
  background-color: #6200ee;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.add-button:hover {
  background-color: #4b00c7;
}

.submit-button {
  margin-top: 2rem;
  background-color: #6200ee;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background-color: #4b00c7;
}

.drag-handle {
  cursor: grab;
  width: 24px;
  /* Set the exact width */
  height: 24px;
  /* Set the exact height */
  background-color: #6200ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  margin-right: 8px;
  /* Adjust spacing between the icon and other elements */
}

@media (max-width: 768px) {
  .instrument-row {
    grid-template-columns: 1fr;
  }
}

/* File Upload Section */
.file-upload-container {
  margin-top: 1rem;
}

.file-upload-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.file-upload-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 1rem;
}

/* Large Text Area for Additional Information */
.additional-info {
  margin-top: 1.5rem;
}

.info-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.info-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  font-size: 1rem;
  resize: vertical;
  /* Allow resizing only vertically */
}

.material-button {
  background-color: #1976d2;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 16px;
}

.material-button:hover {
  background-color: #1565c0;
}

.material-button-download {
  margin-top: 2rem;
  background-color: #6200ee;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.material-button-download:hover {
  background-color: #c01515;
}

/* .submit-button {
  margin-top: 2rem;
  background-color: #6200ee;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-button:hover {
  background-color: #4b00c7;
} */