.user-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
}

.form-title {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  font-weight: 500;
  text-align: center;
}

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

.form-label {
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
}

.form-input {
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #3b3b3b;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: #2563eb;
}

.form-input::placeholder {
  color: #666;
}

.form-input.input-error {
  border-color: #e63946;
}

.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-message {
  font-size: 12px;
  color: #e63946;
}

.submit-btn {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #2563eb;
  color: #fff;
  margin-top: 10px;
}

.submit-btn:hover:not(:disabled) {
  background-color: #3b82f6;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .user-form {
    max-width: 100%;
  }

  .form-input {
    padding: 10px 14px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}
