/* ===== APPLICATION FORM ===== */
.apply {
  background: var(--bg);
}

.apply-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.5px;
}

.form-label .required {
  color: var(--cyan);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(26, 35, 64, 0.6);
  border: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s var(--ease-out);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
  background: rgba(26, 35, 64, 0.8);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%238b92a8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-select option {
  background: var(--navy);
  color: var(--text);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--navy-light) 100%);
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 50px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 16px;
  align-self: center;
}

.form-submit:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 8px 30px rgba(78, 205, 196, 0.2);
}

.form-submit:active {
  transform: translateY(-1px);
}

.form-submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.8;
  transform: none;
}

.form-submit:disabled:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-submit svg.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
