
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.form {
  background: white;
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

h1 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 32px;
}

.section-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
}

textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
}

textarea:focus {
  outline: none;
  border-color: #8B5CF6;
}

.upload-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 16px;
}

.upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.upload-area:hover {
  border-color: #8B5CF6;
  background-color: #faf5ff;
}

.upload-area.dragover {
  border-color: #8B5CF6;
  background-color: #faf5ff;
}

.upload-icon {
  font-size: 32px;
  color: #8B5CF6;
  margin-bottom: 8px;
}

.upload-text {
  font-size: 16px;
  font-weight: 500;
  color: #8B5CF6;
  margin-bottom: 4px;
}

.upload-subtext {
  font-size: 14px;
  color: #9ca3af;
}

#fileInput {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.name-field {
  position: relative;
}

.name-field input {
  width: 100%;
  padding: 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.name-field input:focus {
  outline: none;
  border-color: #8B5CF6;
}

.name-field label {
  position: absolute;
  bottom: -24px;
  left: 0;
  font-size: 14px;
  color: #6b7280;
}

.radio-group {
  margin-top: 16px;
}

.radio-option {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: #8B5CF6;
}

.radio-text {
  font-size: 16px;
  color: #374151;
}

input[type="email"] {
  width: 100%;
  padding: 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  margin-top: 8px;
}

input[type="email"]:focus {
  outline: none;
  border-color: #8B5CF6;
}

input[type="email"]::placeholder {
  color: #9ca3af;
}

.submit-btn {
  background: #4C1D95;
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: block;
  margin: 40px auto 0;
}

.submit-btn:hover {
  background: #3730A3;
}

.file-list {
  margin-top: 16px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.file-item:last-child {
  border-bottom: none;
}

.file-name {
  font-size: 14px;
  color: #374151;
}

.file-remove {
  background: #ef4444;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .form {
    padding: 24px;
  }
  
  .name-fields {
    grid-template-columns: 1fr;
  }
  
  .name-field label {
    position: static;
    margin-bottom: 8px;
    display: block;
  }
}
